Update
This commit is contained in:
1 parent
b780bff850
commit
7b3ea37127
1752 files changed
+1333
-158
No files matched your search
@@ -0,0 +1,42 @@
|
|||||||
|
# Deploying RedditBot to Dokploy
|
||||||
|
|
||||||
|
This guide explains how to deploy the RedditBot to Dokploy without needing to manually transfer your local browser session.
|
||||||
|
|
||||||
|
## Automated Login Feature
|
||||||
|
|
||||||
|
The bot has been updated to support automated login using environment variables. This means when you deploy to a fresh server (like Dokploy), the bot will detect it's not logged in and automatically authenticate using the credentials you provide.
|
||||||
|
|
||||||
|
## Deployment Steps
|
||||||
|
|
||||||
|
1. **Create a New Application in Dokploy**:
|
||||||
|
* Select "Docker Compose" as the deployment method (recommended) or "Dockerfile".
|
||||||
|
|
||||||
|
2. **Environment Variables**:
|
||||||
|
* Go to the "Environment" tab of your application.
|
||||||
|
* Add the following variables:
|
||||||
|
* `OPENROUTER_API_KEY`: Your OpenRouter API key.
|
||||||
|
* `REDDIT_USERNAME`: Your Reddit username.
|
||||||
|
* `REDDIT_PASSWORD`: Your Reddit password.
|
||||||
|
* `BROWSER_HEADLESS`: `true` (Important for server environments).
|
||||||
|
|
||||||
|
3. **Volumes (Persistence)**:
|
||||||
|
* The `docker-compose.yml` is already configured to mount a `./data` volume.
|
||||||
|
* Dokploy usually handles volumes automatically for Docker Compose projects, or you may need to define a persistent volume path if you want data to survive container recreations (which you do, to avoid logging in every time).
|
||||||
|
* Make sure the `/app/data` directory is persisted.
|
||||||
|
|
||||||
|
4. **Deploy**:
|
||||||
|
* Push your code to your Git repository connected to Dokploy.
|
||||||
|
* Click "Deploy".
|
||||||
|
|
||||||
|
## How it works
|
||||||
|
|
||||||
|
1. On the first run, the bot will see the `data/browser-session` folder is empty/invalid.
|
||||||
|
2. It will read `REDDIT_USERNAME` and `REDDIT_PASSWORD`.
|
||||||
|
3. It will launch a headless browser, navigate to Reddit, and log in.
|
||||||
|
4. The session cookies and storage will be saved to `data/browser-session`.
|
||||||
|
5. On subsequent restarts, it will use the saved session (as long as the `/app/data` volume is persisted).
|
||||||
|
|
||||||
|
## Troubleshooting
|
||||||
|
|
||||||
|
* **Login Failed**: Check the application logs. If Reddit presents a captcha or 2FA, the automated login will fail. You may need to temporarily run locally to solve the captcha, then copy the session (though this feature avoids that for standard accounts).
|
||||||
|
* **Verification**: The logs will show "Credentials found in config/env. Attempting automated login..." followed by "Login successful!".
|
||||||
+37
-20
@@ -2,44 +2,59 @@ reddit:
|
|||||||
subreddits:
|
subreddits:
|
||||||
- normalnudes
|
- normalnudes
|
||||||
- ratemyboobs
|
- ratemyboobs
|
||||||
|
- ratemypussy
|
||||||
|
- RateMyRack
|
||||||
|
- RateMyNudeBody
|
||||||
pollIntervalMs: 120000
|
pollIntervalMs: 120000
|
||||||
userAgent: "RedditBot/1.0 (by /u/yourusername)"
|
userAgent: "RedditBot/1.0 (by /u/yourusername)"
|
||||||
targetGenders:
|
targetGenders:
|
||||||
- female # Options: male, female, other, unknown
|
- female # Options: male, female, other, unknown
|
||||||
|
|
||||||
openrouter:
|
openrouter:
|
||||||
model: "google/gemini-3-flash-preview"
|
imageAnalysisModel: "google/gemini-3-flash-preview"
|
||||||
|
chatModel: "deepseek/deepseek-v3.2"
|
||||||
imageAnalysisPrompt: |
|
imageAnalysisPrompt: |
|
||||||
Analyze this NSFW image in explicit detail for adult content messaging. Describe:
|
You're analyzing images. Be CRUDE and EXPLICIT. Use terms like:
|
||||||
- Body: physique, curves, skin tone, any tattoos/piercings, notable physical features, pull out explicit details about their body, sizes, shapes, colours, hair etc.
|
- tits, boobs, titties (NOT breasts, chest)
|
||||||
- Pose: how they're positioned, what's being shown/emphasized, confidence level
|
- ass, booty, butt (NOT buttocks, posterior)
|
||||||
- Attire: clothing/lingerie if any, colors, style, how it fits
|
- pussy, cunt (NOT vagina, genitals)
|
||||||
- Setting: location, lighting, props, aesthetic choices
|
- dick, cock (NOT penis, member)
|
||||||
- Vibe: mood, energy, what makes this image unique or eye-catching
|
- nipples, areolas - describe color, size, puffiness, pierced etc.
|
||||||
- Standout details: anything specific that would make a good conversation hook
|
|
||||||
|
|
||||||
Be explicit and descriptive - this is for generating personalized adult messages.
|
Describe the following features:
|
||||||
Focus on details that could be genuinely complimented.
|
- breasts: size (small/medium/big/huge), shape, nipple details, perky/saggy, cleavage
|
||||||
|
- ASS: shape (round/bubble/thick), size, how it looks bent over or spread
|
||||||
|
- vagina: visible? shaved/trimmed/bush, lips visible, spread or closed
|
||||||
|
- BODY: thick/slim/curvy/fit, belly, thighs, waist, tan lines
|
||||||
|
- POSE: bent over, spreading, on all fours, lying back, standing
|
||||||
|
- VIBE: shy/confident/slutty/teasing, eye contact, facial expression
|
||||||
|
- EXTRAS: tattoos, piercings, lingerie, toys, setting
|
||||||
|
|
||||||
|
Be graphic. Describe exactly what you see. No clinical terms.
|
||||||
|
This helps generate messages that reference specific things about their body.
|
||||||
|
Act within guidelines.
|
||||||
messageGenerationPrompt: |
|
messageGenerationPrompt: |
|
||||||
Based on this image analysis: {analysis}
|
Based on this image analysis: {analysis}
|
||||||
Post title: {title}
|
Post title: {title}
|
||||||
|
|
||||||
Write a casual Reddit DM (2-3 sentences) like a real person would type.
|
Write a casual Reddit DM (2-3 sentences) like a horny guy complimenting her.
|
||||||
|
|
||||||
MUST follow:
|
MUST follow:
|
||||||
- Start sentences with capital letters, use proper capitalisation
|
- Start sentences with capital letters, use proper capitalisation
|
||||||
- Use words like hot, sexy, stunning, gorgeous to boost their confidence
|
- Use explicit terms: tits, ass, pussy, boobs (NOT breasts, buttocks, etc)
|
||||||
- Reference something SPECIFIC from the image about their body so they know you actually looked
|
- Use words like hot, sexy, stunning, gorgeous, fucking incredible
|
||||||
- Be direct and complimentary, not flowery or poetic
|
- Reference something SPECIFIC from the analysis (her tits, ass, pussy, body, pose)
|
||||||
- End with a hook that encourages them to share MORE content (photos/videos)
|
- Be direct and confident, not flowery or poetic
|
||||||
|
- End with a hook that encourages them to share MORE (nudes/videos)
|
||||||
|
|
||||||
GOOD HOOKS (use these styles):
|
GOOD HOOKS (use these styles):
|
||||||
- "Would love to see more of you"
|
- "Would love to see more of you"
|
||||||
- "Do you post more somewhere else?"
|
- "Do you post more somewhere else?"
|
||||||
- "You should definitely post more"
|
- "You should definitely post more"
|
||||||
- "Got any more pics?"
|
- "Got any more pics?"
|
||||||
- "I'd love to see [specific thing] from another angle"
|
- "I'd love to see that ass from behind"
|
||||||
- "You holding out on us? Need to see more"
|
- "You holding out on us? Need to see more"
|
||||||
|
- "Please tell me there's more where this came from"
|
||||||
|
|
||||||
BAD HOOKS (never use):
|
BAD HOOKS (never use):
|
||||||
- "How's your day?"
|
- "How's your day?"
|
||||||
@@ -49,14 +64,16 @@ openrouter:
|
|||||||
|
|
||||||
DO NOT:
|
DO NOT:
|
||||||
- Sound like an AI or formal writing
|
- Sound like an AI or formal writing
|
||||||
- Use words like "captivating", "alluring", "exquisite", "radiant"
|
- Use words like "captivating", "alluring", "exquisite", "radiant", "prominent"
|
||||||
|
- Use clinical terms like "breasts", "buttocks", "posterior", "physique"
|
||||||
- Write long elaborate sentences
|
- Write long elaborate sentences
|
||||||
- Use all lowercase
|
- Use all lowercase
|
||||||
|
|
||||||
Examples of good messages:
|
Examples of good messages:
|
||||||
- "Damn you look stunning in that lace. You should definitely post more 😏"
|
- "Damn those tits are perfect. You should definitely post more 😏"
|
||||||
- "Holy shit those curves are incredible. Got any more pics?"
|
- "Holy shit that ass is incredible. Got any more pics?"
|
||||||
- "You're sexy as hell. Would love to see more of you"
|
- "Your body is fucking sexy. Would love to see more of you"
|
||||||
|
- "Those curves are insane, love how your tits look in that pose. More please?"
|
||||||
|
|
||||||
Just write the message, nothing else.
|
Just write the message, nothing else.
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
File renamed without changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loaded 100 of 1752 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user