schedule a recurring post to advertise on nostr, no nsec is stored, only signed events
git clone https://git.smesh.lol/advertize.git
Android app that pre-generates and schedules Nostr ad posts. Enter your nsec once, generate a batch of signed events, and the app posts them on schedule with no further interaction.
No key storage. The nsec is used only during batch generation, then wiped with 16-64 random cycles of SHA-256 overwrite.
https://git.smesh.lol/advertize-releases/raw/branch/main/advertize-v1.0.0.apk
| Generate | Status |
|---|---|
| nsec input + QR scan | pending queue |
| ad content editor | next post countdown |
| days selector | posted history |
Requirements:
git clone https://git.smesh.lol/advertize.git
cd advertize
# Build native crypto library
cd crypto
gomobile bind -target=android -androidapi 26 -o ../app/libs/crypto.aar .
cd ..
# Build APK
echo "sdk.dir=$ANDROID_HOME" > local.properties
./gradlew assembleDebug
# Install
adb install app/build/outputs/apk/debug/app-debug.apk
Kotlin/Compose UI
|
v
PostingService (foreground, AlarmManager-scheduled)
|
+-- RelayDiscovery (kind 3 -> kind 10002 -> top 16)
+-- RelayPool (OkHttp WebSocket publisher)
+-- BatchGenerator (pre-sign events in Room DB)
+-- crypto.aar (Go gomobile: BIP340 Schnorr, secp256k1)
Crypto is a thin Go module over git.mleku.dev/mleku/nostr compiled to native code via gomobile. No JNI hand-writing. All 4 Android ABIs bundled (arm64-v8a, armeabi-v7a, x86, x86_64).