From 28c5020294b2d3039af18d35b0a69c663bea6fb7 Mon Sep 17 00:00:00 2001 From: Matt Jackson Date: Sat, 7 Mar 2026 23:15:14 +0000 Subject: [PATCH] Prepare for public repo: gitignore prompts.json, add examples - prompts.json now gitignored (contains account-specific config) - Added prompts.example.json showing config structure - Added .env.example with credential template Co-Authored-By: Claude Opus 4.6 --- .env.example | 11 +++++++++++ .gitignore | 1 + prompts.example.json | 35 +++++++++++++++++++++++++++++++++++ prompts.json | 35 ----------------------------------- 4 files changed, 47 insertions(+), 35 deletions(-) create mode 100644 .env.example create mode 100644 prompts.example.json delete mode 100644 prompts.json diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..b8fdbed --- /dev/null +++ b/.env.example @@ -0,0 +1,11 @@ +# Account credentials (prefix with account name in uppercase) +MYACCOUNT_USER=your_twitter_handle +MYACCOUNT_PW=your_password +MYACCOUNT_EMAIL=your_email@example.com +MYACCOUNT_PHONE=1234567890 + +# Kernel.sh API key (https://onkernel.com) +KERNEL=sk_your_kernel_key + +# Anthropic API key (https://console.anthropic.com) +ANTHROPIC=sk-ant-your_anthropic_key diff --git a/.gitignore b/.gitignore index e944c17..4e7679e 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ node_modules/ history.json history-*.json bot.log +prompts.json diff --git a/prompts.example.json b/prompts.example.json new file mode 100644 index 0000000..595cb80 --- /dev/null +++ b/prompts.example.json @@ -0,0 +1,35 @@ +[ + { + "name": "example-promo", + "account": "myaccount", + "prompt": "Write a casual tweet that makes someone curious enough to click the link. No hashtags. Keep it under 280 characters. Just the tweet, nothing else.\n\nEnd the tweet with on its own line.", + "links": { + "link": "https://example.com" + }, + "schedule": { + "type": "random", + "window": [ + 8, + 20 + ], + "minDays": 2 + } + }, + { + "name": "example-daily", + "account": "myaccount", + "prompt": "Write a witty tweet about coffee. No hashtags. Generate 1 tweet. Just the tweet, nothing else.", + "schedule": { + "type": "daily", + "window": [ + 8, + 20 + ], + "postsPerDay": [ + 1, + 3 + ], + "minGapHours": 4 + } + } +] diff --git a/prompts.json b/prompts.json deleted file mode 100644 index c5bfd3a..0000000 --- a/prompts.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "name": "tease", - "prompt": "You are writing a tweet for a woman who is quietly building a creative portfolio and wants people to visit her site out of curiosity.\n\nTone: casual, understated, real. Like she is just talking \u2014 not performing, not selling, not trying too hard. No hashtags. No emojis unless they feel completely natural. Never use the word \"model\" or any fashion/influencer language.\n\nThe goal is to make someone curious enough to click the link. The best tweets hint at something without explaining it. They feel personal but not oversharing. Confident but not loud.\n\nGenerate 1 tweet. Keep it under 280 characters. Just the tweet, nothing else.\n\nEnd the tweet with on its own line.", - "links": { - "link": "https://onlyfans.com/juniper_sky" - }, - "schedule": { - "type": "random", - "window": [ - 8, - 20 - ], - "minDays": 2 - }, - "account": "thejunipersky" - }, - { - "name": "personality", - "prompt": "You are writing a tweet for a woman in her late 20s to late 30s living in the Pacific Northwest. She reads constantly, makes pottery, spends time in the woods, and has a declining interest in being perceived.\n\nTone: dry, witty, slightly feral, cozy. Dark humor, sarcastic observations, occasional leftist commentary. Never preachy. Never try-hard. Feels like something she muttered to herself and decided to post.\n\nNo hashtags. No emojis unless they earn it. No links. No advertising. Nothing aspirational or girlboss. Just something real that makes someone think \"oh that is me.\"\n\nGenerate 1 tweet. Just the tweet. Nothing else.", - "schedule": { - "type": "daily", - "window": [ - 8, - 20 - ], - "postsPerDay": [ - 1, - 3 - ], - "minGapHours": 4 - }, - "account": "thejunipersky" - } -]