Avatar
Erik
1f7178d5579ae2eebc09059e1c91f93414d1e0c9c3fa281f3c1ba79c959cd559
I like to build web things. Currently hacking with JavaScript on nostr things

Honestly it's just fun to write clients. The more the merrier.

I've been enjoying ditto.pub

Buggy at times but I like the clean look.

Nostrudel is great too, reminds me of the spirit of Amethyst (if it can be done, it will be done), but on the web.

Even though coding via go templates and plain ol' javascript is worse at scale for highly interactive apps, it's been really fun learning into htmx and Alpine and seeing what all I can do without frameworks and a build system.

Turns out, you can do quite a lot.

#go #htmx

I find myself using slack or discord a lot to send notes to myself. Especially if I want to send something from my PC to my phone.

I'm sure others use services like notion or apple notes to just automatically do that, but I decided to create one using nostr.

This webapp will send draft kind 23 notes to a server and it is stored in a relay run by that server. Everything is encrypted client side.

Users get an nsec generated on first visit. You can "share your notes" and you'll get a link with the nsec so you can retrieve notes on another device. It's super basic and definitely lacking in more features.

Try it out at

https://nts.fly.dev

Note: the DB backing this could be wiped at any time. So just keep that in mind.

#go #notestoself

Alpine start #climbing

Managed a run with both dogs and my daughter. The first of many like this

#running

Sick! I'm Denver based, there's good running up here (when it's not 90+ degrees out)

It's fun when you're not the only one using your project

Khatru makes it really easy to customize a relay page. Do any other smaller community relays post regular backups? Might make it easier to bootstrap new relays, or just do data analysis.

#asknostr

https://po-box.fly.dev/

Is it useful? Not a clue. But just a random idea I had that I wanted to build.

If anyone is looking for a fun easy project to do, and you're a Spotify or Plex user, try writing a connected app and publish what you're playing on Nostr!

https://developer.spotify.com/documentation/web-api/concepts/apps

As long as you publish the kind 2002 event defined here https://github.com/ebrakke/nostr-scrobbler

Other apps will be able to display it!

Let's get as much data on nostr as we can

Yes! I use it extensively with plex as well! Building on the backbone of what last.fm has done has made this process much easier.

New version of the extension! Things are moving fast

https://blossom.nostrava.xyz/41644fffeed7f11af86228fbd59851c90209204b9976531d8fe7bd0d90b6157e.zip

nostr:note1jck4qpky67xl9wlmes9a50qeqddtcquyjj65q5vhp5mjcjug58mqegdle8

They were trying to build an open web for music listens before it was cool ๐Ÿ˜€

If anyone is down to try experimental chrome extensions, Here's my first early release of the last.fm to NOSTR scrobbler extension.

https://blossom.nostrava.xyz/ab947aa5809a66a3bd21c43fb6d1ecb345b114906a7eab7798c9adeff3d7a2a9.zip

If you have a last.fm account, and you have your streaming services hooked up to it, you should start to see them flow through this extension when it's in "syncing" mode. Then you can choose if you want to publish it.

If it doesn't work right away, try refreshing the page, or closing and opening the browser again.

https://github.com/web-scrobbler/web-scrobbler/wiki/Install-an-unpacked-extension

All of the source code is here

https://github.com/ebrakke/nostr-scrobbler/tree/main/lastfm-nostr-extension

nostr:npub1u656f7znujcagfhtgngvtkcflhzptnj38enyzx85da0lh63sfj7qva332p

#music #last.fm #scrobble #otherstuff

Okay one last one for the weekend...

Here's a chrome extension that will act as a last.fm to nostr bridge.

You just have a to give a last.fm API key, your username, and your nsec (for signing the 2002 events).

In this demo, I am play all this music through the spotify app on my phone. I have spotify hooked up to my last.fm account.

This extension is listening for those scrobble events from last.fm, and publishing them to the scrobble relay.

Finally, the app in the background is listening to new events coming in on the same relay, so in real time you can see my scrobbles getting added on the app.

Open protocols are awesome, I love the inter connectivity!

#music #scrobble #extensions

https://audio.nostr.build/5eb53525a26133e3ba5bb2a90f6861ad5699851bdf48b178b24c92ad62cfab0f.webm

Discover what other nostriches are listening to

#music #nostrability #scrobble #cmus

https://audio.nostr.build/e4a010afd727d0d7ae88dc87c6ab2957fd3fbefa6acfa42f9002b520f1754aac.webm

I'm thinking that I'll periodically snapshot this relay and upload it to a blossom server. Then the server page can post a hash with the download link to grab the data.

Then anyone could run the graph if they want on their own relay, and they'll already get seeded all of the scrobble events.

nostr:nprofile1qqswd2dylpf7fvw5ym45f5x9mvylm3q4eegnuejprr6x7hlmagcye0qpzemhxue69uhhyetvv9ujuurjd9kkzmpwdejhgqgswaehxw309ahx7um5wgh8w6twv5q3gamnwvaz7tmjv4kxz7fwdehhxarj9e3xw84a563 check out https://relay.nostr-music.cc

You can publish your scrobbke events there to this relay, and this webpage will show all the music that has been scrobbled to it

#scrobble #music #nuds

Ha I did the same. Didn't realize uploads were disabled by default!

I've been finding my blossom server useful just for sending videos to friends as well. (Android to iPhone be damned)

Do you have a loose spec on what this kind should look like? I'd love to start figuring out how to integrate it into some of the music players I use (like cmus). Mostly just so I can publish to my own relay and keep track of my listening history.

Music. Scrobbling integrations. Decentralizing the entire music recommendation industry, as that is one of the main reasons I think Spotify still has such a hold on people.

Adding image support to https://nostrava.xyz

All images are currently being uploaded to the #blossom server backing the app. Soon users will be able to choose whichever blossom compatible server they wish.

#running #moving #nostrava #activities

Are you working in an activity based nostr client as well? If so would love your input on the activity nip!

Suuuper rough, but here's a client that can handle nostr activites (like garmin / strava / etc..)

https://nostrava.xyz

It's still a WIP and will only use one specific relay current to write all of the activity related notes (relay.nostrava.xyz).

While the NIP is still being worked on, I figure it makes sense to not publish these notes to a bunch of public relays as things could still change.

Currently auth is only supported via nip-07 browser extensions (more auth support will come soon).

When you share an activity, you can expand "Share Settings" to choose exactly what you want to share as a NOSTR note. You can trim the Map file so that you don't dox your exact location, you can also choose to not upload your activity file. In this case, only a summary of statistic will be generated.

I'm using the "sports-lib" javascript library to analyze the activity files. It's far from perfect, but it's good enough for now. My hope is that other who are better at this kind of analysis can create DVMs or other libraries to generate summaries from the raw GPX files, which other clients can then pick up on.

Relevant code is here:

https://github.com/ebrakke/nostr-ava

https://github.com/ebrakke/nostr-activities-sdk

#running #nostrava #activities #cycling #gpx