Skip to content

Create diagrams and visualizations using text and code. Powered by mermaid.js.

License

Notifications You must be signed in to change notification settings

Lukasss93/telegram-mermaid

Repository files navigation

logo

Telegram Bot: Mermaid Generator

link status link link GitHub

Create diagrams and visualizations using text and code. Powered by mermaid.js.

🛠 Built with

  • Programming language: PHP 8.3
  • Language framework: Laravel
  • Bot framework: Nutgram

🛡 Requirements

  • Apache / nginx
  • SSL support
  • PHP ≥ 8.1
  • MariaDB ≥ 10.2.3 or Postgresql ≥ 9.5 or SQLite with JSON1 extension
  • Crontab (to update cached statistics)
  • GIT

🗃️ Flow chart

flow

🚀 First deploy

  1. cd <vhost-folder>
  2. git clone https://github.com/<username>/telegram-mermaid.git
  3. cd telegram-mermaid
  4. cp .env.example .env
  5. Edit the .env file with your preferences
  6. wget https://getcomposer.org/download/latest-2.x/composer.phar
  7. php composer.phar install
  8. sudo chmod -R 775 bootstrap/
  9. sudo chmod -R 775 storage/
  10. php artisan migrate
  11. php artisan nutgram:register-commands
  12. php artisan nutgram:hook:set https://<domain>.<tls>/hook

🌠 Continuous deployment

This project will be updated in production at every pushed tag to master branch.
Check this github workflow: deploy.yml

📃 Changelog

Please see the changelog.md for more information on what has changed recently.

🏅 Credits

📖 License

Please see the LICENSE.md file for more information.

About

Create diagrams and visualizations using text and code. Powered by mermaid.js.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Languages