Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/koalasat/pokey
Nostr "Pull Notifications" on Android
https://github.com/koalasat/pokey
android foss kotlin nostr notifications
Last synced: about 1 month 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 (2 months ago)
- Default Branch: main
- Last Pushed: 2024-10-25T16:07:00.000Z (about 2 months ago)
- Last Synced: 2024-10-25T17:10:43.511Z (about 2 months ago)
- Topics: android, foss, kotlin, nostr, notifications
- Language: Kotlin
- Homepage:
- Size: 324 KB
- Stars: 18
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# Pokey
[![GitHub downloads](https://img.shields.io/github/downloads/KoalaSat/pokey/total?label=Downloads&labelColor=27303D&color=0D1117&logo=github&logoColor=FFFFFF&style=flat)](https://github.com/KoalaSat/pokey/releases)
[![release](https://img.shields.io/github/v/release/KoalaSat/pokey)](https://github.com/KoalaSat/nostros/pokey)
[![MIT](https://img.shields.io/badge/license-MIT-blue)](https://github.com/KoalaSat/pokey/blob/main/LICENSE)Receive live notifications for your nostr events and allow other apps to receive and interact with them.
# 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
- [ ] Multi-account
- [x] InBox Relays management
- [x] Granulated notification settings
- [ ] Mute button and mute lists
- [ ] Last 20 notifications view# Receiving user's nostr events in 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)
}```
# Kudos
- Inspired by [https://github.com/greenart7c3/Amber](https://github.com/greenart7c3/Amber)
- @vitorpamplona for the push :D