Welcome to the UnderKrakowRave project! This repository contains the code for a comprehensive Telegram Mini App and bot designed to provide an engaging and seamless experience for rave enthusiasts in Krakow. This project utilizes Flask for the web application and Python-Telegram-Bot for the bot functionality.
Here's an overview of the project's directory structure:
- rave_bot/
- app/
__init__.py
config.py
models.py
controllers.py
views.py
utils.py
- templates/
index.html
styles.css
main.js
- static/
- js/
telegram-web-app.js
- js/
- bot/
__init__.py
handlers.py
main.py
messages.py
ai_responses.py
payments.py
- data/
events.json
participants.json
donations.json
soundsystem.json
- logs/
bot.log
error.log
- tests/
test_models.py
test_controllers.py
test_views.py
test_bot.py
test_payments.py
.env
requirements.txt
README.md
run.py
- app/
Before you begin, ensure you have the following installed:
- Python 3.8+
- Pip
-
Clone the repository:
git clone https://github.com/yourusername/underkrakow-rave-bot.git cd underkrakow-rave-bot
-
Install dependencies:
pip install -r requirements.txt
-
Set up environment variables:
Create a
.env
file in the root directory and add the following variables:YOUR_BOT_TOKEN='your-telegram-bot-token' OPENAI_API_KEY='your-openai-api-key'
To start the bot and web app:
python run.py
This will start the Flask web application and the Telegram bot concurrently.
We welcome contributions!
This project is licensed under the MIT License.
Under Krakow Rave Bot is here to enhance your rave experience with real-time updates, interactive features, and more. Stay tuned and enjoy the rave!