This repository has been archived on 2025-07-31. You can view files and clone it, but cannot push or open issues or pull requests.
Files
admina/README.md
2023-04-05 17:22:46 +03:00

29 lines
1.4 KiB
Markdown

# admina
## Original Description
A Facebook messenger bot powered by OpenAI and Stable Diffusion. Designed to provide intelligent and human-like conversations with users.
## Running
You can easily run the bot by using [Docker](https://www.docker.com/). You can also run it without Docker, but you will need to install the dependencies manually.
```bash
docker-compose build
docker-compose up
```
`docker-compose.yml` references an `.env` file that contains the environment variables:
| Variable | Description |
| ---------------- | ---------------------------------------------------------------- |
| `FB_EMAIL` | Facebook email address |
| `FB_PASSWORD` | Facebook password |
| `FB_COOKIE_PATH` | Path to saved Facebook cookies (default: /app/data/session.json) |
| `MONGO_HOST` | MongoDB host (default: db) |
| `MONGO_PORT` | MongoDB port (default: 27017) |
| `MONGO_USERNAME` | MongoDB username (default: admina) |
| `MONGO_PASSWORD` | MongoDB password (default: admina) |
| `MONGO_DB` | MongoDB database name (default: admina) |
| `OPENAI_API_KEY` | OpenAI API key |