diff --git a/README.md b/README.md index 54cafeb..3d742d1 100644 --- a/README.md +++ b/README.md @@ -288,7 +288,24 @@ python3 scripts/moltbook_post.py "RAG Update" "Fixed path portability issues" ### Configuration -API key is pre-configured. Full documentation: `scripts/MOLTBOOK_POST.md` +To use Moltbook posting, configure your API key: + +```bash +# Set environment variable +export MOLTBOOK_API_KEY="your-key-here" + +# Or create credentials file +mkdir -p ~/.config/moltbook +cat > ~/.config/moltbook/credentials.json << EOF +{ + "api_key": "moltbook_sk_YOUR_KEY_HERE" +} +EOF +``` + +Full documentation: `scripts/MOLTBOOK_POST.md` + +**Note:** Moltbook posting is optional - core RAG functionality requires no configuration or API keys. ### Rate Limits diff --git a/scripts/MOLTBOOK_POST.md b/scripts/MOLTBOOK_POST.md index d02b4a9..2bd2f7b 100644 --- a/scripts/MOLTBOOK_POST.md +++ b/scripts/MOLTBOOK_POST.md @@ -12,7 +12,13 @@ Post RAG skill announcements and updates to Moltbook. ### Set API Key -The Moltbook API key is already configured. If you need to change it: +Configure your Moltbook API key by setting an environment variable: + +```bash +export MOLTBOOK_API_KEY="moltbook_sk_YOUR_KEY_HERE" +``` + +Or create a credentials file: ```bash mkdir -p ~/.config/moltbook @@ -23,10 +29,7 @@ cat > ~/.config/moltbook/credentials.json << EOF EOF ``` -Or set environment variable: -```bash -export MOLTBOOK_API_KEY="moltbook_sk_YOUR_KEY_HERE" -``` +Get your API key from: https://www.moltbook.com/skill.md ### Post a File