Giter Site home page Giter Site logo

newsmix's Introduction

Whats it for

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).

What users can do

  • Get a list of avaliable sources and topics
  • Subscribe to them
  • Unsubscribe
  • Get notifications based on user subscriptions

Users can use it via

Supported news sources

  • icy-veins.com
  • noob-club.ru
  • ea.com (only apex currently)
  • habr.com

Configuration

"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}"
        }
      }
    ]
  },

Docker

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

newsmix's People

Contributors

nicknameisthekey avatar wit00 avatar

Watchers

 avatar

Forkers

stalis

newsmix's Issues

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.