GithubHelp home page GithubHelp logo

indrad3v4 / underkrk Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 5.07 MB

Telegram Mini App for UnderKrakow Rave

Python 99.73% JavaScript 0.11% HTML 0.01% CSS 0.01% Nix 0.01% PowerShell 0.10% Shell 0.03%

underkrk's Introduction

README.md for UnderKrakowRave

UnderKrakowRave

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.

Project Structure

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
    • 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

Getting Started

Prerequisites

Before you begin, ensure you have the following installed:

  • Python 3.8+
  • Pip

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/underkrakow-rave-bot.git
    cd underkrakow-rave-bot
  2. Install dependencies:

    pip install -r requirements.txt
  3. 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'

Running the Application:

To start the bot and web app:
python run.py

This will start the Flask web application and the Telegram bot concurrently.

Contributing

We welcome contributions!

License

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!

Want experience? Open webapp.

underkrk's People

Contributors

indrad3v4 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.