Giter Site home page Giter Site logo

valeriianisimov / itbooks Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tommsawyer/itbooks

0.0 0.0 0.0 183 KB

๐Ÿ“– fully automated telegram channel with new books about IT

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

License: MIT License

Go 98.44% Makefile 1.56%

itbooks's Introduction

Scrape Publish Go Report Card codecov

Fully automated telegram channel that publishes all new and upcoming books about IT.

How it works

Every day we collect information from book publishers that publish books on IT topics. These books are stored in the database. Another script checks daily for new books and publish them into telegram channel.

Local development

  1. Install golang, docker and docker-compose
  2. Obtain telegram bot token as described here
  3. Create telegram channel to test books publishing
  4. Set up environment variables:
export TELEGRAM_TOKEN=token_from_step_2
export TELEGRAM_CHANNEL=@channel_name_from_step_3
  1. Run make postgres to spin up testing database
  2. Run make migrate to run migrations on testing database
  3. Run make scrape to scrape publishers and save books into postgres
  4. Run make publish to publish one of the scraped books

You should see one of the books published in your telegram channel at this moment. Explore ./build/itbooks --help to see what other commands do we have.

itbooks's People

Contributors

tommsawyer avatar dependabot[bot] avatar valeriianisimov 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.