Avatar
hzrd149
266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5
JavaScript developer working on some nostr stuff - noStrudel https://nostrudel.ninja - Blossom https://github.com/hzrd149/blossom - Applesauce https://hzrd149.github.io/applesauce

You can't be serious... Do you sleep in one?

How does this work? Is it locking the token to the npub or is it using the npun as a receive address?

commenting on highlight events are similar to replying to URLs

kind 1 with "g" geohash tags or another similar location event would work for commenting on locations

I'm not sure about topics though since that sounds kind of vague

I think this is cleaner than NIP-22

after reading though NIP-22 again im not really a fan of the meta-tags that it has in the "o" and "r" tags for a few reasons

- The first index of the "o" or "r" tag uses a ":" to separate the values then the following indexes use spaces?

- The "o" and "r" tags have no way of indexing pubkeys. so we wouldn't be able to pull all comments that reply to a pubkey

- Why do we need to reply to URLs, topics or geohashes? cant we just reply to events that represent those things?

IMHO a generic comment kind:1111 + NIP-10 + a "k" tag would be the most elegant solution

even kind 1 with a "k" tag wouldn't fix the issue of social clients having to filter out every reply just to show a timeline

a generic comment kind would be a clean solution since it would not show up in the social timeline and would allow clients to show just the replies

however NIP-22 might need to include "p" tags for notifications

I's still a fan of using kind+1 for replies but I think I'm in the minority. Still NIP-22 is a better solution than kind 1s

anything to stop using kind 1 πŸ˜€

that is not a good excuse. using kind 1 just because all apps support them just forces social apps to have to keep filtering out different kinds of replies

I already had enough issues in noStrudel dealing with kind 1 replying to long form posts. now they are going to reply to everything? and im going to have to filter them out just to show the timeline?

Replying to Avatar Dissident Sound

hello nostr:npub1ye5ptcxfyyxl5vjvdjar2ua3f0hynkjzpx552mu5snj3qmx5pzjscpknpr this is probably NOT an issue with NoStrudel but i'm still curious.

when i link this page:

https://dissidentsound.discoursehosting.net/t/movies-that-were-much-better-than-i-expected/163/57?u=dissident

it shows preview with old version of my review that i changed DAYS ago. so it's using some kind of cache.

but WHERE is that cache stored ? who is storing it ? i mean if you click on the link i removed the spoilers from my review days ago, but they still show up in preview.

anybody who knows the answer to this can answer, not just nostr:npub1ye5ptcxfyyxl5vjvdjar2ua3f0hynkjzpx552mu5snj3qmx5pzjscpknpr

nostr:npub1acg6thl5psv62405rljzkj8spesceyfz2c32udakc2ak0dmvfeyse9p35c nostr:npub1xy60n57p02ugl743zfag2ljftxh4s0ufpzu0wsmhdvng7hj5c0vqvx8w7v

i did tag nostr:npub1ye5ptcxfyyxl5vjvdjar2ua3f0hynkjzpx552mu5snj3qmx5pzjscpknpr because he explicitly mentioned he wants NoStrudel to cache everything to load faster ...

link previews are not cached on noStrudel so maybe its discourse server caching post? I'm not sure though because I don't see any spoilers in the link preview

Replying to Avatar Laeserin

nostr:npub1ye5ptcxfyyxl5vjvdjar2ua3f0hynkjzpx552mu5snj3qmx5pzjscpknpr

Do you have a ngit repo in GitWorkshop.de, yet? Then I could just create an issue there.

I setup one a few days ago, still learning how it all works

nostr:naddr1qqykum6nw3e82er9dsq32amnwvaz7tmsw4e8qmr9wfjkccte9e3k7mgzyqnxs90qeyssm73jf3kt5dtnk997ujw6ggy6j3t0jjzw2yrv6sy22qcyqqq80xgxfmztl

In the HTTP spec there is support for proxy requests using the CONNECT method

It allows a client to ask the proxy server to open a connection to a remote machine and forward traffic

https://developer.mozilla.org/en-US/docs/Web/HTTP/Proxy_servers_and_tunneling#http_tunneling

Tor uses something very similar but its a more complicated proxy protocol called SOCKS5

Most apps, browsers and operating systems have support for routing all thier traffic through HTTP or SOCKS5 proxies

This is how tor integrates with so many apps, they aren't specifically integrating with tor. But instead they support routing their traffic through proxies

The local tor proxy ( localhost:9090 ) takes advantage of this and is setup to route all traffic through tor nodes for privacy.

But because its handing all the traffic its also able to let apps connect to .onion domains

When it detects that an app is trying to connect to an .onion domain, instead of routing the traffic out to the clearnet it can make a connection to another tor node

I'm suggesting building something similar for hyperdht

The hyper proxy would watch an apps traffic, then when it detected the app was trying to connect to a .hyper domain, it would make the connection to the remote hyper node and forward the traffic to it

If this worked it would allow users to use any web browser they like ( with a little configuration ) and connect to .hyper domains

I see what your saying. We were talking past each other a bit

I'm talking about automating the second part.

For example if I wanted to host my website or relay over hyperdht then I would use holesail --live 80

However anyone who wants to access it would have to bind it to localhost with a port they choose

That's fine if they are accessing it only once. But they would have to bind the port every time ( every reboot )

So that's what the HTTP proxy is for. It allows apps ( like browsers ) to proxy their traffic through a local server

Which means the HTTP proxy can intercept their requests and bind the ports automatically then forward the traffic through hyperdht to the correct node

Yes however i don't think most apps are going to integrate the binary. Just like how most apps don't come with a tor binary

I'm not saying holesails approach with using localhost won't work. Just that if we where able to build a proxy for holesail then any apps that work with tor would immediately work with hyperdht

I would go test out all the smart contract apps and see if they managed to make anything decentralized. Or any app that's not an exchange

Id like to avoid muting things, it takes too much work and doesn't really fix the problem. better to show an overview

I don't think it does though

NosDAV is for nostr powered cloud storage for files (maybe private?)

Blossom is for public hash-addressable content

First you need to either setup a blossom server or sign up for cdn.satellite.earth

Then you can use Blossom Drive, which is a public google drive-like app that uses blossom servers to store the files

noStrudel next version also supports blossom

https://next.nostrudel.ninja/#/relays/media-servers

Highlighter also supports uploading media to blossom servers

https://highlighter.com/settings/services

Done, this should be working in the next.nostrudel.ninja version ( although I cant test it without a mac 😞 )

Replying to Avatar Cody

nostr-relay-tray v1.5.0 Released!

https://github.com/CodyTseng/nostr-relay-tray/releases/tag/v1.5.0

- Added the ability to clear all events

- Introduced dark mode

- Added the ability to join hubs

A hub is an aggregator relay similar to bostr. By joining a hub, you can contribute your local computing power and data to provide relay services to others.

My deployed hub can be accessed at: wss://hub.nostr-relay.app . You can connect to this relay using any nostr client.

If you want to join this hub, download the latest version of nostr-relay-hub and enable the join hub option in the settings. The hub address to join is: wss://hub.nostr-relay.app/join

You can also deploy your own hub. For more information: https://github.com/CodyTseng/tray-hub

#nostr #relay #devstr

Installed v1.5.0 and ran into this error

I have an option similar to that in the next version of noStrudel. You can initiate the nostr connect from the app side.

So you click a button, get a QR code. Click on the QR code and it opens amber, I just need to out it in a more obvious spot in the UI

Its my dev environment, every change I make gets deployed there. So sometimes its pretty broken

I don't know how I could integrate the ring signatures into an existing app. But you bring up an interesting point.

I think I would only need to restrict minting token from lightning ( in bound liquidity )

Outbound liquidity could be public, that way if my friends sent the tokens to a stranger they could swap out to LN

Organic maps > Google maps

It might be a little harder to use. But It's got a simpler UI and a lot snappier than Google

Do you mean an option to hide all zap related stuff on notes or just the zap tags on notes?

I'm a little hesitant to make an option to hide a small part of the UI and not a whole feature

What do you mean broken? Is there censorship or just angry people?

I don't have an account so I can't see :(

Once I get the wiki articles finished in noStrudel. I want to write all the F.A.Q and help pages as wiki articles

Just need to figure out where to put all the "help" links in the UI

Also what are your thoughts on malicious nostr apps that steal everything as soon as you login?

Wow, https://rabbit.syusui.net/ client actually works well on mobile

Glad you like it, if you want to test the alpha version its at next.nostrudel.ninja it comes with a few more features and extra bugs

Also followed, I'm not sure what you do on the mastodon side, but I sounds interesting :)

Prompt: Create a breathtaking epic scene of a colossal fantasy battle taking place at the edge of a cliff overlooking a vast ocean. The sky is filled with dramatic, dark storm clouds, illuminated by flashes of lightning. Below, massive waves crash against jagged rocks. On one side of the cliff, a legion of armored knights with gleaming swords and shields, led by a heroic figure on a majestic white horse, charge forward with determination. Their armor is adorned with intricate designs and their banners wave proudly in the fierce wind.

Opposing them is a horde of fearsome, monstrous creatures, with scales and horns, wielding crude but deadly weapons. Some are gigantic, towering over the knights, while others are swift and agile. The leader of the monstrous army, a towering figure with dark armor and glowing red eyes, stands at the forefront, exuding an aura of dark power.

In the background, ancient ruins and towering statues of forgotten gods hint at a long-lost civilization. The terrain is rugged, with crumbling stone bridges and arches, adding to the sense of ancient grandeur. The scene is bathed in an eerie, otherworldly light from a partially obscured full moon, casting long shadows and highlighting the intensity of the battle.

The overall atmosphere should be intense and dramatic, capturing the chaos and heroism of the epic clash, with attention to details like the expressions of the combatants, the texture of their armor and weapons, and the dynamic motion of the scene.

πŸΆπŸΎπŸ˜‚

It was more enjoyable reading the prompt then looking at the image that was generated from it

We've made it 500km so far, and we have 250km left :)

Took it easy today and only road 20km

Thought about this more and I would be pretty cool to let users customize their profile page a bit.

I'm not sure if ordering the buttons would be the easiest option, but I like the idea