Gives users an ability to create inidividual news feed via subscription to diffferent sources and topics and reading it in one place (for example via telegram bot).
- Get a list of avaliable sources and topics
- Subscribe to them
- Unsubscribe
- Get notifications based on user subscriptions
- icy-veins.com
- noob-club.ru
- ea.com (only apex currently)
- habr.com
"ConnectionStrings": {
"Sqlite": "Data Source=path to .db"
},
"TelegramBotToken":"token here"
Also you can change Serilog configuration by adding Serilog
section, for example:
"Serilog": {
"Using": [
"Serilog.Sinks.Console",
"Serilog.Sinks.File"
],
"MinimumLevel": {
"Default": "Information",
"Override": {
"Microsoft": "Warning",
"System": "Warning"
}
},
"WriteTo": [
{
"Name": "File",
"Args": {
"path": "/mount_dir/Logs/log.txt",
"rollingInterval": "Day",
"outputTemplate": "{Timestamp:MM-dd HH:mm:ss.fff} [{Level:u3}] {Message:lj}{NewLine}{Exception}"
}
},
{
"Name": "Console",
"Args": {
"outputTemplate": "{Timestamp:MM-dd HH:mm:ss.fff} [{Level:u3}] {Message:lj}{NewLine}{Exception}"
}
}
]
},
add NewsMix.ConsoleRunner/appsettings.Docker.json
{
"TelegramBotToken": "TokenGoesHere",
"ConnectionStrings": {
"Sqlite": "Data Source=/mount_dir/newsmix.db"
}
}
Create volume:
docker volume create \
--driver local \
--opt type=none \
--opt device=i_forgot_to_set_the_path \
--opt o=bind \
newsmix
run docker-compose
docker-compose up