https://github.com/koalasat/pokey
Nostr "Pull Notifications" on Android
https://github.com/koalasat/pokey
android foss kotlin nostr notifications
Last synced: about 1 year ago
JSON representation
Nostr "Pull Notifications" on Android
- Host: GitHub
- URL: https://github.com/koalasat/pokey
- Owner: KoalaSat
- License: mit
- Created: 2024-10-20T09:21:03.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-09T14:55:33.000Z (about 1 year ago)
- Last Synced: 2025-04-09T15:48:17.349Z (about 1 year ago)
- Topics: android, foss, kotlin, nostr, notifications
- Language: Kotlin
- Homepage: https://njump.me/npub1h2685kkxa4q50qpexuae9geqep7frr0u8t8pcy9zj0xnza9phvtsnkd9tm
- Size: 906 KB
- Stars: 42
- Watchers: 2
- Forks: 4
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# Pokey
[](https://github.com/KoalaSat/pokey/releases)
[](https://github.com/KoalaSat/pokey)
[](https://github.com/KoalaSat/pokey/blob/main/LICENSE)
Display live notifications for your nostr events and allow other apps to receive and interact with them.
- Discussion: https://chachi.chat/groups.0xchat.com/7SbVsYrEQMtZAMIn
# Getting Started
What is Nostr: https://www.nostr.how
# Features
- [x] Finish POC
- [x] Connect with Amber
- [x] Broadcast to other apps
- [x] Auth to relays
- [ ] Use built-in Tor engine
- [x] Multi-account
- [x] InBox Relays management
- [x] Granulated notification settings
- [x] Mute button and mute lists
- [x] ~~Last 20~~ notifications view
- [ ] Custom emojis
- [ ] Search term notification
- [ ] Display more info in sticky notification
# Receiving user's inbox events on your app
1. Register the intent filter in the `AndroidManifest.xml` file:
```xml
```
2. Register receiver in your Service or Activity:
```kotlin
override fun onStart() {
super.onStart()
val filter = IntentFilter("com.shared.NOSTR")
registerReceiver(myBroadcastReceiver, filter)
}
override fun onStop() {
super.onStop()
unregisterReceiver(myBroadcastReceiver)
}
```
# Sponsors
# Kudos
- Inspired by [https://github.com/greenart7c3/Amber](https://github.com/greenart7c3/Amber)
- @vitorpamplona for the push :D