How to use Nostr while you're offline via Amethyst Yesterday, some of you may have seen my test notes as I was testing out a scenario where I had lost Internet access and still wanted to use Nostr. Maybe you live in a rural area like me and sometimes your cellular service is spotty. Maybe you are about to board an airplane and don't want to pay for expensive and often shitty WiFi. This solution will work for you, if you have Android. First, you'll need to install the Citrine relay on your mobile device. This is a relay that runs locally on your device. You can install it after you download it from GitHub or you can use an application manager such as Obtainium or Zap.store. Once installed, launch the Citrine application and copy the relay URL from your notification drop down shade. It will look something like this. ws://localhost:4869 Next, head into Amethyst's relay settings and add this new relay. Press save. That's it! The next time you are without Internet access (or you can turn off WiFi and mobile data to test) you'll need to make sure that your new local really is running and then you'll creates new notes and replies as you previously would have done and post them as normal. This time however, they will only get posted to your local relay on your device. Once your Internet connectivity has returned, you will need to re-broadcast your notes and replies out to all of your other relays for other people to be able to read them. That's easy to do, though you do need to do this manually for everything that you created while offline. image That's it! You can now use Amethyst offline and broadcast your offline events to the world at a later time. I did try this with Primal on Android and had issues. First, when I added the new Citrine relay, all of my relays were nuked and I had to add them all back. 😑 Second, Primal will post to your Citrine relay when you're offline. I verified that the notes were there via Amethyst. However, once back online, the notes no longer showed up ony profile tab. Lastly, even if they did show up, Primal does not give you an option to broadcast an event from your timeline. Good luck!

Replies (26)

Very cool, testing this now. Would be super slick if citrine could handle the broadcast-once-online scenario. Or maybe that'd be functionality better handled client side; something like "mark this relay as local" then the client knows what to do once it's back online
I'm sure something along those lines could be implemented on either Citrine or Amethyst. Right now the experience isn't that great, but it does work. Hopefully as time goes on the UX improves making this seamless for non technical people.
Nostros (Android) got a push all (notes) button so I bet with this you van broadcast even more notes instantly. Just to one relay tho, but might be faster with a couple of notes. image
Picture editting the same event from 4-5 separate Nostr Clients, all working locally because the relay is on the phone.
Derek Ross's avatar Derek Ross
How to use Nostr while you're offline via Amethyst Yesterday, some of you may have seen my test notes as I was testing out a scenario where I had lost Internet access and still wanted to use Nostr. Maybe you live in a rural area like me and sometimes your cellular service is spotty. Maybe you are about to board an airplane and don't want to pay for expensive and often shitty WiFi. This solution will work for you, if you have Android. First, you'll need to install the Citrine relay on your mobile device. This is a relay that runs locally on your device. You can install it after you download it from GitHub or you can use an application manager such as Obtainium or Zap.store. Once installed, launch the Citrine application and copy the relay URL from your notification drop down shade. It will look something like this. ws://localhost:4869 Next, head into Amethyst's relay settings and add this new relay. Press save. That's it! The next time you are without Internet access (or you can turn off WiFi and mobile data to test) you'll need to make sure that your new local really is running and then you'll creates new notes and replies as you previously would have done and post them as normal. This time however, they will only get posted to your local relay on your device. Once your Internet connectivity has returned, you will need to re-broadcast your notes and replies out to all of your other relays for other people to be able to read them. That's easy to do, though you do need to do this manually for everything that you created while offline. image That's it! You can now use Amethyst offline and broadcast your offline events to the world at a later time. I did try this with Primal on Android and had issues. First, when I added the new Citrine relay, all of my relays were nuked and I had to add them all back. 😑 Second, Primal will post to your Citrine relay when you're offline. I verified that the notes were there via Amethyst. However, once back online, the notes no longer showed up ony profile tab. Lastly, even if they did show up, Primal does not give you an option to broadcast an event from your timeline. Good luck!
View quoted note →
I never thought about it until yesterday when I was thinking about offline access and syncing. We just need this to happen automatically and it's πŸ”₯πŸ”₯πŸ”₯
Your own relay on your phone
Derek Ross's avatar Derek Ross
How to use Nostr while you're offline via Amethyst Yesterday, some of you may have seen my test notes as I was testing out a scenario where I had lost Internet access and still wanted to use Nostr. Maybe you live in a rural area like me and sometimes your cellular service is spotty. Maybe you are about to board an airplane and don't want to pay for expensive and often shitty WiFi. This solution will work for you, if you have Android. First, you'll need to install the Citrine relay on your mobile device. This is a relay that runs locally on your device. You can install it after you download it from GitHub or you can use an application manager such as Obtainium or Zap.store. Once installed, launch the Citrine application and copy the relay URL from your notification drop down shade. It will look something like this. ws://localhost:4869 Next, head into Amethyst's relay settings and add this new relay. Press save. That's it! The next time you are without Internet access (or you can turn off WiFi and mobile data to test) you'll need to make sure that your new local really is running and then you'll creates new notes and replies as you previously would have done and post them as normal. This time however, they will only get posted to your local relay on your device. Once your Internet connectivity has returned, you will need to re-broadcast your notes and replies out to all of your other relays for other people to be able to read them. That's easy to do, though you do need to do this manually for everything that you created while offline. image That's it! You can now use Amethyst offline and broadcast your offline events to the world at a later time. I did try this with Primal on Android and had issues. First, when I added the new Citrine relay, all of my relays were nuked and I had to add them all back. 😑 Second, Primal will post to your Citrine relay when you're offline. I verified that the notes were there via Amethyst. However, once back online, the notes no longer showed up ony profile tab. Lastly, even if they did show up, Primal does not give you an option to broadcast an event from your timeline. Good luck!
View quoted note →
Derek Ross's avatar Derek Ross
How to use Nostr while you're offline via Amethyst Yesterday, some of you may have seen my test notes as I was testing out a scenario where I had lost Internet access and still wanted to use Nostr. Maybe you live in a rural area like me and sometimes your cellular service is spotty. Maybe you are about to board an airplane and don't want to pay for expensive and often shitty WiFi. This solution will work for you, if you have Android. First, you'll need to install the Citrine relay on your mobile device. This is a relay that runs locally on your device. You can install it after you download it from GitHub or you can use an application manager such as Obtainium or Zap.store. Once installed, launch the Citrine application and copy the relay URL from your notification drop down shade. It will look something like this. ws://localhost:4869 Next, head into Amethyst's relay settings and add this new relay. Press save. That's it! The next time you are without Internet access (or you can turn off WiFi and mobile data to test) you'll need to make sure that your new local really is running and then you'll creates new notes and replies as you previously would have done and post them as normal. This time however, they will only get posted to your local relay on your device. Once your Internet connectivity has returned, you will need to re-broadcast your notes and replies out to all of your other relays for other people to be able to read them. That's easy to do, though you do need to do this manually for everything that you created while offline. image That's it! You can now use Amethyst offline and broadcast your offline events to the world at a later time. I did try this with Primal on Android and had issues. First, when I added the new Citrine relay, all of my relays were nuked and I had to add them all back. 😑 Second, Primal will post to your Citrine relay when you're offline. I verified that the notes were there via Amethyst. However, once back online, the notes no longer showed up ony profile tab. Lastly, even if they did show up, Primal does not give you an option to broadcast an event from your timeline. Good luck!
View quoted note →
I currently use Notros mostly to push all my data to my own relay for archive. The relay is not turned on all the time and this just works perfectly!
Derek Ross's avatar Derek Ross
How to use Nostr while you're offline via Amethyst Yesterday, some of you may have seen my test notes as I was testing out a scenario where I had lost Internet access and still wanted to use Nostr. Maybe you live in a rural area like me and sometimes your cellular service is spotty. Maybe you are about to board an airplane and don't want to pay for expensive and often shitty WiFi. This solution will work for you, if you have Android. First, you'll need to install the Citrine relay on your mobile device. This is a relay that runs locally on your device. You can install it after you download it from GitHub or you can use an application manager such as Obtainium or Zap.store. Once installed, launch the Citrine application and copy the relay URL from your notification drop down shade. It will look something like this. ws://localhost:4869 Next, head into Amethyst's relay settings and add this new relay. Press save. That's it! The next time you are without Internet access (or you can turn off WiFi and mobile data to test) you'll need to make sure that your new local really is running and then you'll creates new notes and replies as you previously would have done and post them as normal. This time however, they will only get posted to your local relay on your device. Once your Internet connectivity has returned, you will need to re-broadcast your notes and replies out to all of your other relays for other people to be able to read them. That's easy to do, though you do need to do this manually for everything that you created while offline. image That's it! You can now use Amethyst offline and broadcast your offline events to the world at a later time. I did try this with Primal on Android and had issues. First, when I added the new Citrine relay, all of my relays were nuked and I had to add them all back. 😑 Second, Primal will post to your Citrine relay when you're offline. I verified that the notes were there via Amethyst. However, once back online, the notes no longer showed up ony profile tab. Lastly, even if they did show up, Primal does not give you an option to broadcast an event from your timeline. Good luck!
View quoted note →
Derek Ross's avatar Derek Ross
How to use Nostr while you're offline via Amethyst Yesterday, some of you may have seen my test notes as I was testing out a scenario where I had lost Internet access and still wanted to use Nostr. Maybe you live in a rural area like me and sometimes your cellular service is spotty. Maybe you are about to board an airplane and don't want to pay for expensive and often shitty WiFi. This solution will work for you, if you have Android. First, you'll need to install the Citrine relay on your mobile device. This is a relay that runs locally on your device. You can install it after you download it from GitHub or you can use an application manager such as Obtainium or Zap.store. Once installed, launch the Citrine application and copy the relay URL from your notification drop down shade. It will look something like this. ws://localhost:4869 Next, head into Amethyst's relay settings and add this new relay. Press save. That's it! The next time you are without Internet access (or you can turn off WiFi and mobile data to test) you'll need to make sure that your new local really is running and then you'll creates new notes and replies as you previously would have done and post them as normal. This time however, they will only get posted to your local relay on your device. Once your Internet connectivity has returned, you will need to re-broadcast your notes and replies out to all of your other relays for other people to be able to read them. That's easy to do, though you do need to do this manually for everything that you created while offline. image That's it! You can now use Amethyst offline and broadcast your offline events to the world at a later time. I did try this with Primal on Android and had issues. First, when I added the new Citrine relay, all of my relays were nuked and I had to add them all back. 😑 Second, Primal will post to your Citrine relay when you're offline. I verified that the notes were there via Amethyst. However, once back online, the notes no longer showed up ony profile tab. Lastly, even if they did show up, Primal does not give you an option to broadcast an event from your timeline. Good luck!
View quoted note →
↑