GithubHelp home page GithubHelp logo

lwjerri / twitch-notifier Goto Github PK

View Code? Open in Web Editor NEW

This project forked from satont/twitch-notifier

0.0 1.0 0.0 9.43 MB

Notify users about some streamer wen't online

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

Shell 0.03% Go 99.27% Makefile 0.39% Dockerfile 0.31%

twitch-notifier's Introduction

Twitch Notifier

GitHub go.mod Go version Coverage Status

Bot for sending twitch streams notifications in telegram.

Development

Download dependencies

go mod download

Requirements

  • Golang 1.19+

Generate

After clone/on first setup/on schema change - you should run

make generate

Testing

make tests

Running

docker compose -f docker-compose.dev.yml up -d
make dev

Database schemas and migrations

Writing schemas

All schemas located in ./ent/schema directory, but also we are using internal structures. Internal structures located in internal/db/db_models. So you should change both of them.

After changing any schema in /ent/schema folder, you should regenerate data via make generate

Migrations

Requirements

Create

make migrate-create somecoolname

Apply

make migrate-apply

twitch-notifier's People

Contributors

satont avatar danluki avatar lwjerri 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.