Lukasss93 / telegram-mermaid

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

License:MIT License


Languages

Language:PHP 99.1%Language:Blade 0.9%Language:JavaScript 0.1%