rssbot

module
v0.0.0-...-1cf632a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2024 License: Apache-2.0

README

rssbot

Telegram bot that allows you to receive news from RSS channels. You can use an existing bot - t.me/forest33_rss_bot or deploy your own.

Installation

Create database and user

CREATE DATABASE rssbot;
CREATE USER rssbot WITH LOGIN PASSWORD 'change-me';
GRANT ALL ON DATABASE rssbot TO rssbot;
git clone https://github.com/Forest33/rssbot.git
cd rssbot

Edit the config file config/rssbot.json

docker-compose up -d

Directories

Path Synopsis
adapter
database
Package database provides CRUD operations with database.
Package database provides CRUD operations with database.
business
entity
Package entity provides entities for business logic.
Package entity provides entities for business logic.
usecase
Package usecase provides business logic.
Package usecase provides business logic.
deploy
app command
Package main rssbot main package
Package main rssbot main package
app/migrations
Code generated for package migrations by go-bindata DO NOT EDIT.
Code generated for package migrations by go-bindata DO NOT EDIT.
pkg
database
Package database provides low level operations with database.
Package database provides low level operations with database.
database/types
Package types provides basic operations with SQL types
Package types provides basic operations with SQL types
logger
Package logger wrapper for zerolog
Package logger wrapper for zerolog
structs
Package structs provides basic operations with maps and slices
Package structs provides basic operations with maps and slices

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL