GithubHelp home page GithubHelp logo

userxtester / gitgram Goto Github PK

View Code? Open in Web Editor NEW

This project forked from madebythepinshub/gitgram

1.0 0.0 0.0 58 KB

GitHub/GitLab Integration for Telegram Bot API, written in Python.

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

License: GNU General Public License v3.0

Python 96.80% Dockerfile 3.20%

gitgram's Introduction

GitGram Self-hosted

Gitpod ready-to-code

This repository is where the self-hosted, private instance version of GitGram lives. It uses plain webhooks and PTB to receive repository activity and send it to your groups or to your PMs.

If you ever come here to kang our source code, no support will be given unless you requested to assist you to fix license issues. Otherwise, instant ban will be given to you without any further notice.

Setup:

  • Install all requirements with pip3 install -r requirements.txt
  • We recommend to use environment variables to configure your instance. To use it, set ENV to True and then cofnigure APP_URL, BOT_TOKEN, GITGRAM_SUPPORT, GIT_REPO_URL, and PROJECT_NAME variables.
    • If you prefer the old way, edit your config.py, but DO NOT COMMIT!
  • Run python3 GitGram.py

Deploy on Heroku:

If you want to deploy this app on Heroku, there's a one-click setup for that. Click below, fill up the form and hit Deploy App.

Deploy

Prefer to use Auto-Deploy?

Bruh, want to be like the Pins team's instance or can't install heroku CLI?

  • Fork this repository, as you would do with other repos.
  • Sign in to Heroku and create a new app.
  • Open your app's overview. Under Deploy tab, select Deployment method to GitHub, connect your repo
  • Select master to enable auto-deploys.
  • Then on Settings tab, add APP_URL, BOT_TOKEN, GITGRAM_SUPPORT, GIT_REPO_URL, and PROJECT_NAME variables. To use them, set ENV to True.
  • Just one restart away to run your instance. To setup, open your bot's PMs or add it to your group and use /connect command.

Try on Gitpod:

  1. Login to Gitpod.
  2. Open this repo in Gitpod.
  3. After workspace build, dependencies will be installed.
  4. Configure your bot and then start the server.

gitgram's People

Contributors

ajhalili2006 avatar deepsource-autofix[bot] avatar deepsourcebot avatar libgnu avatar pokurt avatar

Stargazers

 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.