Coder Social home page Coder Social logo

automations's Introduction

Automations

CI

Creates a digest of the latest goings-on for a repo and posts it to Discord via a given webhook.

Stolen Inspired by @jcrist :)

Setup

  1. Clone
  2. Set up DISCORD_COMMUNITY_WEBHOOK_URL, DISCORD_MAINTAINER_WEBHOOK_URL secrets
  3. Run CLI or CI

Note

Makefile is provided for convenience.

Usage

Help:

python ./github-digest/main.py --help

Common Usage:

Specify Terms:

python ./github-digest/main.py --term litestar --term blarg

Specify new webhook:

python ./github-digest/main.py --webhook https://discord.com/api/webhooks/1234567890/ABCDEF

Full Help:

โžœ python github-digest/main.py --help
Usage: c-l-i [-t TERM] [-d] [--token TOKEN] [--webhook WEBHOOK] [--age AGE] [-h] [--completion COMPLETION]

  GitHub Daily Digest CLI.

  Options
    [-t, --term TERM]          The search term(s) to use for fetching recent items and commits. Valid options: litestar, polyfactory, advanced-alchemy.
    [-d, --debug]              Enable debug mode. Checks the DEBUG environment variable if not provided.
    [--token TOKEN]            The GitHub API token to use for fetching data.
    [--webhook WEBHOOK]        The Discord webhook URL to send the daily digest to.
    [--age AGE]                The age of the data to fetch in days. Defaults to 1 day.

  Help
    [-h, --help]               Show this message and exit.
    [--completion COMPLETION]  Use `--completion generate` to print shell-specific completion source. Valid options: generate, complete.

Example

Example

automations's People

Contributors

jacobcoffee avatar jcrist avatar

automations's Issues

feat: multi repos

allow for multiple repos e.g, litestar, polyfactory, advanced-alchemy, type-lens, dtos, ... to be given and create a combined digest

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.