Replies (54)
Nostr is running in the background.
Citrine is great. Having a relay directly on the phone is amazing
Agree. I love it for my drafts and offline posting.
Nostr is the social glue that binds all of our applications together 🫂💜🤙🏻
Who's going to make a custom GrapheneOS with all these things at system level?
I know pokey sends push notifications to your android from nostr but what do citrine and amber do? Please #explainlikeimfive I’m not someone versed in coding or computer science
That would be bad ass.
Will doesn't have Amethyst to have a good reference for battery drain.
Can you elaborate?
Peak Nostr (Pokey now has embed Tor too, so there are 4 services here)
Citrine is a 'relay in your phone' app and Amber is a private key management / signing app.
Samess

This is a really cool feature
What are your numbers on baterry usage with all that?
At first I was impressed that my battery usage is less than 1% but now I realize that Pokey has been stopping and not showing me notifications all day long, even though it is running.
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.
https://github.com/greenart7c3/Citrine
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.

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 noticed that in Graphene, if you switch users sometimed it does not connect again to the relays when you are back. Is it possible that was your case? Maybe same situation will happen if the phone was turned off.
Anyways, I got reports from users and it seems to still use <1% when it actually works
I'm not using Graphene. I force closed and restarted the app. It seems to be working now. I'll see if it continues working the rest of the day. I wonder if Adaptive Battery killed the process?
It shouldn't. Next time chekc your relays tab. If there is nothing or just a few, try just the Stop and Start button. It should do the trick
Yo 🤙 what does your citrine setup look like? I just downloaded and set it up, learning as i go. So far, it's not taking my notes (although i have authorized this npub and added 1 under kinds, and added it to my relay list).
Add it to both your local and private relay list in amethyst. You should be good then.
What does it do for me to run a relay on my phone?
You can view this as a local backup of your data.
Turning on/off a VPN also causes this issue
It’s literally a relay on your phone. It backups events you post or others depending on how you set it up.
You can also use it on Amethyst as your private relay.
I didn’t know about the offline posting feature Derek described.
🫡
I know that you can add an external backup to Citrine.
Is there a guide that can show me how I can download all my older events from a public relay I've been broadcasting to?
Battery from 100 to 0 in how many minutes?
This would essentially make my Citrine relay home to every single event that I've signed and broadcasted on Nostr since I created these keys.
It would be super cool!
I can validate that. I use Graphene, and Pokey worked the first time. I switched profiles and I've not been able to get it to work since, even though it says it's running. I've even uninstalled/reinstalled everything (Pokey, Zapstore, Amethyst), it seems I completely broke it. 😑
Oh. This could be my issue then.
😂🤣✅
Can you point me to tutorials on how to implement that set up? I’m useless… or would you consider making one yourself??
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.
https://github.com/greenart7c3/Citrine
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.

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 →
Check your relay list next time. It should get fixed if you just stop and start the service. The bad news is that notifications before restart won't appear again.
nobody has PHONE anymore ! Android Portable Device vs ARM Linux Portable Device vs pocket X64 mini PC ALL are battery powered 5V or 12V

I want a smartphone that looks like this 🥹
😎👌

It would be an amazing feature to automatically re-broadcast events created while offline when the connection resumes
@greenart7c3
😀
Hey man , I have a question about Pokey, do you use it to replace Ntfy with Amethyst? I'm trying to understand the utility of Pokey..
Yes, that's correct. And it's so much better. It gets all of the notifications.
Did you disable battery optimizations for Pokey? It should be set to "Unrestricted" to keep it from being closed or deactivated by Android's regular device optimizations.
My Pokey is pulling less than 0.1% of battery usage. I comparison, Amethyst is pulling 1.4%. So Pokey's battery useage has been very good for me. I suspect its battery useage is dependant on how many notifications a user receives over time, but generally speaking it appears to be very efficient.
localhost is freedom.
This is how I Nostr

How hard is the battery impact?
YES
probably not much because it basically offloads a heap of work from the app itself, one is the signer, one is the relay, one is notifications... they all sit there doing nothing until teh user pokes at them
oh yeah, pokey might be a bit of a power drain, the other to no
thank you, testing now
success. thanks brother
Awesome. You're welcome. Glad you got it figured out.