Code Monkey home page Code Monkey logo

gufg's Introduction

GifCreator

Easily create GIFs from a series of images in a Telegram bot. Link of the official instance: https://t.me/CreateGIFsBot

Features

  • Multiple photo types supported
  • Matomo Analytics Support
  • Customizable via environment variables

Deploy

Replit/Heroku

  1. Set env variables as explained below

    Note: You might need to rely on a MySQL As A Service for the database.

  2. Deploy as you would normally

Docker

  1. Copy .example_env to .env
  2. Edit it according to the env variables explanation below. Leave the defaults for the database credentials!
  3. Execute docker-compose up

Environment Variables Explaination

Variable Name Explanation ⚠️* Sample Value
TOKEN The bot token @BotFather gave you. 8babd9a8dd:HHOf03z2Mi6sYqOaJsKZrhQ33o5S7Y2go_a
DB_USERNAME Username of the user accessing the MySQL database ✖️ user
DB_PASSWORD Password of the user accessing the MySQL database ✖️ password
DB_ADDRESS Address (either IP or host, with port if not default) of the database ✖️ db.radommysqlhost.com:1234
DB_NAME Name of the database where the user data will be stored in the table 'users' ✖️ db
DEV_LINK Link to the developer's website or channel https://mywebsite.com
DEV_CHANNEL Tag of the developer's channel @mychannel
SOURCE Link to the repository where the source code is stored https://mygitprovider.com/myusername/myrepository
PRIVACY Link to the privacy policy detailing how the user data is used in the bot https://mywebsite.com/privacy
TERMS Link to the terms of service that regulate how the user shall interact with the bot https://mywebsite.com/terms
MATOMO_ENABLED Enable Matomo Analytics? 1 = yes, 0 = no 1
MATOMO_SITEID Site ID used by Matomo 1
MATOMO_HOST Host where Matomo is located matomo.mywebsite.com

*If you're deploying with Docker, don't change these values from the sample configuration file!

License

GPLv3 Logo.svg

GifCreator - Telegram Bot to create GIFs from a series of images.
Copyright (C) 2021  MassiveBox

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.

gufg's People

Contributors

syrax-ub 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.