Git Product home page Git Product logo

tratt0re / diceflayer Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 1.51 MB

@MrDiceflayerBot - a Mini App designed to assist users in rolling dices for tabletop games like Dungeons & Dragons.

Home Page: https://t.me/MrDiceflayerBot

License: BSD 3-Clause "New" or "Revised" License

Procfile 0.05% Python 52.72% HTML 0.83% JavaScript 41.96% CSS 4.45%
telegram-bot telegram-mini-app telegram-miniapp-contest-2023 telegram-web-app

diceflayer's Introduction

Diceflayer - Unleash the Power of the Dice!

Diceflayer Logo

Diceflayer is a Telegram Mini App designed to assist users in rolling dices for tabletop games like Dungeons & Dragons.

This repository houses both the frontend and backend code for the Diceflayer Telegram mini-app. You can access and interact with the bot by adding it to Telegram, just click HERE.

Adventurer! Bring this with you ๐Ÿ“œ

This project is an implementation of a Telegram Mini App and Telegram classic Bot. Before you begin, it is highly recommended to consult the official documentations:

Familiarizing yourself with these resources will ensure a seamless experience with Diceflayer.

Table of Contents

Overview

In the grand realm of online tabletop gaming, Diceflayer emerges as a hero, simplifying the dice-rolling process by offering an easy-to-use interface within the Telegram app. This project is forged with React and Reactstrap for the Frontend, and Python and Flask for the Backend. Embark on a journey through our documentation to explore the project and learn the arcane arts of crafting your very own Telegram bot with a Mini Web App included!

Technologies Used

  • Frontend: The frontend uses React.js and Reactstrap UI library, along with telegram functionalities provided by an open source react framework.
  • Backend: The backend uses Python(v3.11.3) and Flask, along with telegram official api to manage bot services through https requests.

Check their respective documentation to learn more about them

Navigate the repo

This repository contains both the fronted and backend source code of the application. Each folder contains a README.md file with specific informations about the part of the project you are exploring. In each folder you will also find a docs/ folder contaning specific guides to help you install the bot or start your own project using this one for reference.

To simplify the navigation and the project set up you can use the link below:

  • Frontend documentation legend
    • Main: Here you will find the overview set up for the frontend project.
    • Bot setup guide: Follow the steps inside this guide to create a Telegram Bot.
    • Hosting: In order to visualize the mini app on your bot you will need to host the project somewhere.
      • Hosting on Github Pages: Here you can check the guide on how host the project on Github pages and make the mini app available on your telegram bot.
      • Hosting through Ngrok: Here you can check how to set up ngrok to host the project and develop without the need of deploying a new build each time you update the source code.
    • Want to start from scratch?: Check this guide to setup a new react app and link it to your telegram bot.
  • Backend documentation legend
    • Main: Here you will find the overview set up for the backend project.
    • Bot setup guide: Follow the steps inside this guide to create a Telegram Bot and configure it to work with the backend project.
    • Hosting: In order to let your bot use this backend you will need to host the project somewhere.
      • Hosting on Heroku: Here you can check the guide on how host the project on Heroku platform.
      • Hosting through Ngrok: As per fronted, you can use ngrok to host the backend and develop without the need of deploying a new build each time you update the source code.

License

This project is dual-licensed under the BSD License and the MIT License. You are free to use, modify, and distribute the code. If you fork this project or use it as a base, please remember to cite the original author, @Tratt0re, in your documentation.

Thanks

  • Special thanks to my friend Piero, to have given me the idea of a dice rolling telegram mini app, and supported me with suggestions during the development. Keep your AC solid โœŒ๐Ÿป๐Ÿ›ก๏ธ
  • Also a huge thanks to my friend Edo, to have found a tricky bug i didn't notice! May your save rolls never get a 1 ๐Ÿ’ช๐Ÿป๐Ÿช„

diceflayer's People

Contributors

tratt0re avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

differs

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.