Introducing...

NOSTR URL shortener

A free URL shortener service enabled by the NOSTR protocol, that is fast and fuss-free, stripped of all bells and whistles and gimmicks.

It just works!

https://nostr-url-shortener.vercel.app/

What I need help with:

- community to decide a short domain name

- a sponsor for the domain

- designs and logo

- just test it

Open source GitHub repo:

https://github.com/jinglescode/nostr-url-shortener

Reply to this note

Please Login to reply.

Discussion

Is there a nip PR?

Not yet.

This is freshly baked today.

Will see how things evolves.

Why would you need a new event kind for this? Isn’t there already an event kind for arbitrary key:value pairs?

This is currently an MVP. Still not sure how it is going to evolve. Lots of feedbacks and ideas coming in, seems like it’s will be expanded.

1994 could become a URL focused event kind.

I am just thinking about what nostr:npub1g53mukxnjkcmr94fhryzkqutdz2ukq4ks0gvy5af25rgmwsl4ngq43drvk said about how each app creating a new kind really adds up. When what we really want may just be a generic key:value event kind

snipstr.tld (.com is taken)

chopstr.com

trimstr.com

How about nostr.ax ?

I’m sitting on it and an axe 🪓 kind of fits chopping down URLs 😂

nostr.ax/<10 characters>

🪓

Shotr use kind 30078

How about Cutr? Looks like cutr.lol is $3 on namecheap

shortnr.lol is available for $3

Dope ⚡️

very well appriciated, when i will be capable i would love to contribute!

shr.ink

$1910.91 / year (ridiculous price but it is available)

shhhr.ink

1st Year Sale! $20.06 $2.04 / year

renews at $20.06

nosl.lol

nostr:npub1alpha9l6f7kk08jxfdaxrpqqnd7vwcz6e6cvtattgexjhxr2vrcqk86dsn Nice work!

This may be superfluous, but allow me to discreetly introduce a URL shortening service I created called shotr.

This one can be called a different service with the same purpose as it authenticates the creator with the NIP-05.

https://github.com/ocknamo/shotr

Oh. This is tagging the data to user.

https://6or.cc#_@jingles.dev/s/Xs2

Yes!

I thought that tagging users would reduce the dangers of shortened URLs (e.g. phishing scams).

Instead, it makes creation a bit more complicated😅

By the way, who will be signing the events for your NOSTR URL Shortener?

One nsec. Sign for everyone.

These url shortener services. I do see it’s value. And a great nostr use case.!

Linkut is available as domain

This is great. I was thinking it would be nice to let people choose the varying text instead of randomly assigning a string of numbers. Maybe something like Habla does? Assign a name to each logged in user and let them generate whatever links they want e.g. your-domain.com/tony/nostr

Yea. This is a great feature. Currently there is no users related info in the service. Just throwing it out and see how the community reacts.

You can look at the code! It’s only a few files right now.

Yep, I figured and I believe it’s the best approach- roll out a working product and gradually introduce features that are welcomed by the community. “Worse is better”. Great job, man. As always 🫂

Nostrl

Wow nice! New kind 1994, could be good to write a nip for that to be standardized

Yea. Just throwing out this concept to the community to check response, before going forward with more features or effort.

I'm going to take a look now, I'm very interested 👀

Code is available. It’s sooo simple.

Curious..

Is password manager more interesting or url shortener? 😅

Probably password manager no? since it's a newer idea. And nostr suffers from accessible authentication methods that people can use to log in

Both are very interesting projects don't get me wrong:)

💯

Jingles nice one! you're on fire 🔥

🔥

I will be happy to provide str.yt domain. It is payed for next 10 years and I will be happy to point it whenever you need.

Presentation can be on no.str.yt

This is short! Nice!

How about urlstr.com, also avail in io me xyz org net and many more

Oh yea it is available eh. Mmm. Do you like it and think it’s short enough for a shortener?

Interesting!

Some quick feedbacks:

- You could assume http(s), if the protocol is omitted;

- The path-code is not deterministic, so we end having a lot of different URLs pointing to the same resource, I don't know if this is a good thing;

About the name/payoff, I would use something like "xxxxxxxx, a URL shortner powered by nostr".

"NOSTR URL Shortener" may mistakenly suggest that the url refers to a nostr resource.

The name: zippp.it ?

Thanks for the feedback.! This is the purpose of releasing this MVP. To get such feedbacks. About different URLs to same resource, I had the same thought. Initially I used UUID hash, but it’s way too long, in order to ensure all strings or all lengths can be hash deterministically. So I chose short ID, like YouTube video ID.

It is all about the possibility of a collision. If you choose a shorten id, that I think is fine, you can however make it deterministic, ex. simply cutting a SHA-256 hash.

PS: check the birthday paradox.

Of cause. Thus I chose 10 characters. Referencing YouTube video ID uses 11. And also based on how mission critical when collision happens, for a free URL shortener, it should be fine too.

I also think that 10 chars are ok. So why don't simply do an SHA-256 and cut it? :)

nostr:npub1zuuajd7u3sx8xu92yav9jwxpr839cs0kc3q6t56vd5u9q033xmhsk6c2uc

Here’s a MVP, another non social use case.

Do you think nostr fixes this?

Just imagine sleeping on this: You can earn NFTs and Cryptocurrencies while playing mobile games!

Follow us for more and start earning with our guide here: https://bit.ly/earnnftsandscrypto

Anything with a crab I can do some fun stuff with ;) #logodesign

😅

nostr:npub1alpha9l6f7kk08jxfdaxrpqqnd7vwcz6e6cvtattgexjhxr2vrcqk86dsn I have a few very short domain names that I can sponsorship for you. DM me 🐶🐾🫡

👀

Replied 🐶🐾🫡

nos.tr would be nice, right?

Nice.