pushnetgo-cli
v1.2.0
Published
PushNetGo App CLI — HTTP API: https://us-central1-flutter-ai-playground-f8e3b.cloudfunctions.net/unifiedGatewayApi
Maintainers
Readme
PushNetGo CLI
Command-line tool for PushNetGo App — sync music, validate API keys.
Quickstart
npm install -g pushnetgo-cli
export MYAPP_API_KEY="pushnetgo-xxx"
pushnetgo-cliAPI Endpoint
All operations use one endpoint:
POST https://flutter-ai-playground-f8e3b.web.app/api
Auth: x-api-key: pushnetgo-xxx3 Operations
1. Verify Key
curl -X POST https://flutter-ai-playground-f8e3b.web.app/api \
-H "Content-Type: application/json" \
-H "x-api-key: pushnetgo-xxx" \
-d '{"action":"token-check"}'2. Upload Music
curl -X POST https://flutter-ai-playground-f8e3b.web.app/api \
-H "Content-Type: application/json" \
-H "x-api-key: pushnetgo-xxx" \
-d '{"action":"sync-music","url":"https://example.com/track.mp3","title":"My Song"}'3. Download Music
# First get track info
curl -X POST https://flutter-ai-playground-f8e3b.web.app/api \
-H "x-api-key: pushnetgo-xxx" \
-d '{"action":"music_list"}'
# Then download from the returned downloadUrl
curl -O "https://storage.googleapis.com/flutter-ai-playground-f8e3b.firebasestorage.app/music_files/xxx.mp3"Commands
pushnetgo-cli chat "hello" — AI chat
pushnetgo-cli music list — list tracks
pushnetgo-cli music get <id> — track info
pushnetgo-cli music download <id> — download to local
pushnetgo-cli music upload --url URL — upload from URL
pushnetgo-cli music delete <id> — delete track
pushnetgo-cli token check — validate keyAPI Key Format
pushnetgo-{32-character-hex-uuid}