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


Wait, can other people connect to it via onion?


Yes.


Amethyst + Citrine + Amber + Tor on the phone kills censorship!


Seems like you read this that way!


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


This is lit.
nostr:nevent1qqs2eqnj7xtae25qr252px0jm8mr2xfly30tsp0rvtdwryrkaua0c7gprdmhxue69uhhg6r9vehhyetnwshxummnw3erztnrdakj7q3qak68qfcjj7k95c0jwleu69x72nr8adwv6g80pkwl9xlps6zmkqzqxpqqqqqqznd4he8


Damn, this is genius

nostr:nevent1qqs2eqnj7xtae25qr252px0jm8mr2xfly30tsp0rvtdwryrkaua0c7gppemhxue69uhkummn9ekx7mp0qgswmdrsyuff0tz6v8e80u7dzn09f3n7khxdyrhsm80jn0scdpdmqpqrqsqqqqqp2guzfl


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 am a simple man


I know some of those words.


Holy fuck 👀


Yes, let the implications wash over you 🌊


son of a bitch, im in

https://media.tenor.com/6ynWMoME_cwAAAAC/billandted-movies.gif


Shit is wild yo!


I've just set it up.


Good stuff.


Great post 👍


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


:fire:


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.


Done!


You can add the tor citrine relay to your private DM box in Amethyst.

Also successful in having an additional tor relay in public outbox at same time.


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.


Onward 🫡


Need citrine, orbot and outbox model nostr client


Primal/Damus on IOS**


火


Android is better nostr experience, more freedom!


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


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


ws://youronionaddress .onion:4869


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.


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


How do I know of it's working?


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


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


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


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


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


they need SEPARATE it in code


Onward 🫡


What does your battery drain look like?

nostr:nevent1qqs2eqnj7xtae25qr252px0jm8mr2xfly30tsp0rvtdwryrkaua0c7gpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhsyg8dk3czwy5h43dxrunh70x3fhj5celttnxjpmcdnhefhcvxskasqspsgqqqqqqsk7vtrx


high bandwidth data use also


citrine-universal-v0.4.3.apk
nostr-relay-tray-1.6.0.AppImage
pip install nostr-relay

3 r best for now - citrine easiest for non-tech


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


1. Amber Amethyst Citrine Orbit
2. Fuck the fucking fuckers 🫡
nostr:nevent1qqs2eqnj7xtae25qr252px0jm8mr2xfly30tsp0rvtdwryrkaua0c7gppemhxue69uhkummn9ekx7mp0qgswmdrsyuff0tz6v8e80u7dzn09f3n7khxdyrhsm80jn0scdpdmqpqrqsqqqqqp2guzfl


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?


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.


u cannot backup contacts+restorekey only

data-of-chat must be separated


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


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


what are relays in Nostr?


wwwww


here you go:

nostr:note14jp89uvhmj4gqx4g5zvl9k0kx5vn7fz7hqz7xck6uxg8dme6l3usr6g66y


Even if all relays would die, people still can dm you via your local relay in your phone. 🤯

Guide:

nostr:nevent1qqs2eqnj7xtae25qr252px0jm8mr2xfly30tsp0rvtdwryrkaua0c7gpz4mhxue69uhkummnw3ezummcw3ezuer9wchsyg8dk3czwy5h43dxrunh70x3fhj5celttnxjpmcdnhefhcvxskasqspsgqqqqqqsrm7tuq


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


Just set this up with Citrine.

nostr:nevent1qqs2eqnj7xtae25qr252px0jm8mr2xfly30tsp0rvtdwryrkaua0c7gpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhsyg8dk3czwy5h43dxrunh70x3fhj5celttnxjpmcdnhefhcvxskasqspsgqqqqqqsk7vtrx


Yes:

nostr:nevent1qqs2eqnj7xtae25qr252px0jm8mr2xfly30tsp0rvtdwryrkaua0c7gppemhxue69uhkummn9ekx7mp0qgswmdrsyuff0tz6v8e80u7dzn09f3n7khxdyrhsm80jn0scdpdmqpqrqsqqqqqp2guzfl


Phone to Phone private giftwrapped encrypted DMs. That's pretty badass, given the state of the world.
nostr:nevent1qqs2eqnj7xtae25qr252px0jm8mr2xfly30tsp0rvtdwryrkaua0c7gpz3mhxw309ucnydewxqhrqt338g6rsd3e9upzpmd5wqn399avtfslyalne52du4xx066ue5sw7rva72d7rp59hvqyqvzqqqqqqyjf5vlt


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


⚡⚡/A\  |R)  \V/  |I|  |N|⚡⚡


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


:fire:


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


Here are the steps the message goes from your phone to other person citrine phone relay through tor
nostr:nevent1qqs2eqnj7xtae25qr252px0jm8mr2xfly30tsp0rvtdwryrkaua0c7gpz3mhxw309ucnydewxqhrqt338g6rsd3e9upzpmd5wqn399avtfslyalne52du4xx066ue5sw7rva72d7rp59hvqyqvzqqqqqqyjf5vlt


30023:180a6d42c7d64f8c3958d9d10dd5a4117eaaacea8e7f980781e9a53136cf5693:bitcoin lightning wallets nostr


🤘 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'?