GithubHelp home page GithubHelp logo

isabella232 / fastwebhook Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fastai/fastwebhook

0.0 0.0 0.0 1.33 MB

A simple GitHub webhook server

Home Page: https://fastai.github.io/fastwebhook/

License: Apache License 2.0

Jupyter Notebook 57.75% Python 39.57% Makefile 2.68%

fastwebhook's Introduction

fastwebhook

A simple GitHub webhook server.

At this stage, this is only able to send tweets on software releases. It's very early stage still. You'll need to set up a webhook on GitHub.

Install

First install the package:

pip install fastwebhook

Then create an file called twitter.ini containing:

gh_secret: 
consumer_key: 
consumer_secret: 
access_token: 
access_token_secret: 

gh_secret is the webhook secret you set in GitHub. The remaining are your twitter API keys.

How to use

Run fastwebhook to run the web server. Pass --help for info about optional arguments. Either run this from the same directory that contains your twitter.ini, or else pass --inifile along with the full path to your ini file.

Systemd service

The following commands should all be run as root (i.e. prepend sudo to the commands).

To install it as a systemd service (which is probably what you want), run fastwebhook_install. Pass --help for info about optional arguments, which will be passed to fastwebhook by the service.

After the service is installed, run systemctl start fastwebhook to start it, systemctl status fastwebhook to check it, and systemctl stop fastwebhook to stop it. Run systemctl enable fastwebhook to have it start automatically on boot. Run journalctl -eu fastwebhook

fastwebhook's People

Contributors

jph00 avatar muellerzr 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.