Here is how I got #citrine to work as both a local relay and as an exposed onion service as outbox relay on my phone. Thanks to nostr:nprofile1qqsda2memtapc2lykjnd8t9px4ake2stw39lg6k49xj6u3jz3pteu6qppemhxue69uhkummn9ekx7mp0qyghwumn8ghj7mn0wd68ytnhd9hx2tcpzfmhxue69uhkummnw3eryvfwvdhk6tcf3g7ce for the idea!

Download Citrine and start as local relay

Open Orbot

Tap more

Tap onion hosted services

Tap user services

Tap +

Add any name to service

Add 4869 to both ports

Hit save

Exit from orbot

Restart orbot by closing out or force close

Restart orbot and connect orbot vpn again

Tap hosted services and copy new onion url

Open #Amethyst and go to relays

Add ws://yournewonionaddress. onion:4869 to outbox relay

Remove any other outbox relay

Hit save

nostr:nprofile1qqs827g8dkd07zjvlhh60csytujgd3l9mz7x807xk3fewge7rwlukxgpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhszrnhwden5te0dehhxtnvdakz7qgswaehxw309ahx7um5wghx6mmd9usjfpck nostr:nprofile1qqsyvrp9u6p0mfur9dfdru3d853tx9mdjuhkphxuxgfwmryja7zsvhqpzamhxue69uhhv6t5daezumn0wd68yvfwvdhk6tcpz9mhxue69uhkummnw3ezuamfdejj7qgwwaehxw309ahx7uewd3hkctcscpyug nostr:nprofile1qqsr7acdvhf6we9fch94qwhpy0nza36e3tgrtkpku25ppuu80f69kfqpr9mhxue69uhhyetvv9ujumt0d4hhxarj9ecxjmnt9uq3zamnwvaz7tmwdaehgu3wwa5kuef0qy2hwumn8ghj7un9d3shjtnyv9kh2uewd9hj7eyerqr

#nostr

Reply to this note

Please Login to reply.

Discussion

Wait, can other people connect to it via onion?

Yes.

I've just set it up.

How to run Citrine's relay on your phone and allow other people to connect into it to download your posts directly from your phone via Tor 🤯🤯

nostr:nevent1qqs2eqnj7xtae25qr252px0jm8mr2xfly30tsp0rvtdwryrkaua0c7gpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhsyg8dk3czwy5h43dxrunh70x3fhj5celttnxjpmcdnhefhcvxskasqspsgqqqqqqsk7vtrx

Wouldn't this at this point mean turning Nostr into a P2P network? Or am I missing something?

Just outbox model with citrine being both local and exposed

"Just" 😅😅😅

I know some of those words.

Holy fuck 👀

son of a bitch, im in

Good stuff.

I always suspected this would be possible. Didn't realize it has always been possible 😂.

How should we call you, master?

nostr:npub1useke4f9maul5nf67dj0m9sq6jcsmnjzzk4ycvldwl4qss35fvgqjdk5ks can your app do that?

This is very cool. If you do this remember to back up your hidden services secret key.

Does this work with any app? I'm going to test it on Primal/Android. I'm running my own relay but not transmitting via Tor.

I couldn't get this to work. Is it ws:// or double like always?

ws://

How do I know of it's working?

In amethyst your relay section will tell you how many relays are connected, and on latest show you the ping time as well as relay error logs

When you note you can see which relays the note went to with the little drop down arrow on the left

plus your relay section should have green arrows showing read/ write etc

I can see it has errors in the relays section. Should we see connections in the citrine home page?

Quite cool to get it all to flow through...what is the use case for this? Is it just having private relay on mobile? Cause you can private chat really well with Simplex chat even w/o self hosted Simplex relay

Simplex is cool, I use it.

The implication is that my notes are stored on my phone and that my notes are diacovered from my phone and that my private dm inbox is on my phone. No need for public relays outside of my device.

problem in simplex contact+key+data all combined to be backed up GROWS

they need SEPARATE it in code

More chats, more data, encrypted backed grows over time. There is a system option to delete older than a month per profile if someone wants auto purge. In any case it has features I like. What's your preferred chat app?

u cannot backup contacts+restorekey only

data-of-chat must be separated

Well if we're doing wish list...on this topic...I would have it tell me size of all data included and have a slider bar that I could adjust the number of weeks per contact of chat history to include and tells me the resulting size of backup. Boom

cc nostr:nprofile1qqsvnx99ww0sfall7gpv2jtz4ftc9v6wevgdd7g4hh7awkpfvwlezugpzamhxue69uhhyetvv9ujumn0wd68ytnzv9hxgtc2y9nz4

寝てる間にスマホで動いてる Citrine のローカルリレーから直接 Orbot で通信できる世界線が来てた🤯

nostr:nevent1qqs2eqnj7xtae25qr252px0jm8mr2xfly30tsp0rvtdwryrkaua0c7gpz9mhxue69uhkummnw3ezuamfdejj7q3qak68qfcjj7k95c0jwleu69x72nr8adwv6g80pkwl9xlps6zmkqzqxpqqqqqqzfnm4rs

This guide is amazing if you want to run an own relay inside your android phone and want to run it through Tor.

Technology is winning.....

nostr:nevent1qqs2eqnj7xtae25qr252px0jm8mr2xfly30tsp0rvtdwryrkaua0c7gpz4mhxue69uhkummnw3ezummcw3ezuer9wchsyg8dk3czwy5h43dxrunh70x3fhj5celttnxjpmcdnhefhcvxskasqspsgqqqqqqsrm7tuq

Before I log out for the day.

Do I need to broadcast any notes from this new feature?

few other relays also can work on andriod so long hiddenservice part is done corectly in orbot

Want to set this up? Orbot, Citrine and Amethyst are all available on zap.store

Couldn't that be added to all client apps to make your phone a relay. But nostr and the clients would have to dynamically choose relays. This way the relay system could be honestly decentralized.

what are relays in Nostr?

wwwww

I'm as impressed by this as the next guy, but the one detail missing from the excitement is that this peering style requires Tor nodes to exist. "even if every relay went down, you could still connect to my phone!" Yes - as long as there are still Tor nodes.

This is an enormous leap forward for decentralized communications but I hope the next hop is in the direction of true peer to peer approaches that don't rely on Tor.

nostr:nevent1qqs2eqnj7xtae25qr252px0jm8mr2xfly30tsp0rvtdwryrkaua0c7gpr3mhxue69uhhg6r9vd5hgctyv4kzumn0wd68yvfwvdhk6tczyrkmgup8z2t6cknp7fml8ng5me2vvl44enfqauxemu5muxrgtwcqgqcyqqqqqqgdk2fuq

Safe to assume this doesn’t work for iPhone users, correct? Really want to share this with my iPhone frens

Super dica

nostr:note14jp89uvhmj4gqx4g5zvl9k0kx5vn7fz7hqz7xck6uxg8dme6l3usr6g66y

Relay móvil configurado ✅

* Citrine vía Tor configurado para Outbox y Local relay.

Ahora respaldo mis notas e interacciones también aquí y los Draft son solo míos

Notas que me han permitido hacerlo:

* Relays 101

nostr:naddr1qq9hyetvv9uj6um9w36hqq3qgcxzte5zlkncx26j68ez60fzkvtkm9e0vrwdcvsjakxf9mu9qewqxpqqqp65wjvcq4q

* Configurar Citrine + Tor

nostr:nevent1qqs2eqnj7xtae25qr252px0jm8mr2xfly30tsp0rvtdwryrkaua0c7gpzamhxue69uhhyetvv9ujuurjd9kkzmpwdejhgtczyrkmgup8z2t6cknp7fml8ng5me2vvl44enfqauxemu5muxrgtwcqgqcyqqqqqqg72pl8n

So after running my citrine relay like this for a bit but I found out it was quickly being used by more people than just me and for more than just a DM inbox and found events stored on my phone that I dident want (ai porn, bot posts and the like)

I tryed setting citrine to only accept events from me and to only allow events refering to me (in the hope of not blocking DMs) but thats seems to not be working.

Gonna close off citrine again but its fun to know that i can open it up. Might open it up again if I can filter what gets in the relay better but for now I prefer to have it as a local backup.

If you use nostrudel on your phone you can go to your relays add citrine, click on it and nostrudel will show you what notes are coming from the relay (if I understand the feature corectly) I was also able to kind of double check and confirm that it wasn't just me using the relay because I told Citrine to delete anything that was more than a day old but to keep posts from me and my kind 1 stored events went from like 2,500 to around a thousand

So just a heads up for people out there if you start using your phone relay as a DM inbox relay. Very quickly can become used by people you don't want it to.

nostr:nevent1qqs2eqnj7xtae25qr252px0jm8mr2xfly30tsp0rvtdwryrkaua0c7gpzfmhxue69uhkummnw3eryvfwvdhk6tczyrkmgup8z2t6cknp7fml8ng5me2vvl44enfqauxemu5muxrgtwcqgqcyqqqqqqg3nz9ws

nostr:nevent1qqs2eqnj7xtae25qr252px0jm8mr2xfly30tsp0rvtdwryrkaua0c7gpzfmhxue69uhkummnw3eryvfwvdhk6tczyrkmgup8z2t6cknp7fml8ng5me2vvl44enfqauxemu5muxrgtwcqgqcyqqqqqqg3nz9ws

Is there any way to make Citrine work with wss instead of ws?

🤘 I got this working with amethyst but now I'm trying to make it work with 0xchat. If I set orbot as full device VPN it works but if I tunnel 0xchat individually 0xchat won't connect to the .onion relay. This happens with or without the proxy set in 0xchat. Amethyst seems to work with orbot in either app or VPN mode.

Has anyone had success getting this to work with 0xchat and orbot in app mode?

#0xchat #citrine #orbot

Do you have the option to set user onion hosts to 'when available'?

Wasn't there a note with a screenshot of this working? nostr:nprofile1qqsda2memtapc2lykjnd8t9px4ake2stw39lg6k49xj6u3jz3pteu6qpz9mhxue69uhkummnw3ezuamfdejj7qgkwaehxw309ahx7um5wfjkc6t5v4ejummjvuhszxmhwden5te0wahhgtnydamku6tndah8g6r9w4czucmp9ufnyhqy nostr:nprofile1qqswmdrsyuff0tz6v8e80u7dzn09f3n7khxdyrhsm80jn0scdpdmqpqpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhsz9thwden5te0dehhxarj9ehhsarj9ejx2a30qyt8wumn8ghj7mn0wd68yetvd96x2uewdaexwtc4pesey? Trying to find it