KeithCu / LinuxReport

Customizable Linux news site based on Python / Flask

Home Page:https://covidreport.keithcu.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LinuxReport logo and CovidReport logo

Simple and fast news site based on Python / Flask. Meant to be a http://drudgereport.com/ clone for Linux or Covid-19 news, updated automatically 24/7, and customizable by the user, including custom feeds and the critically important dark mode.

Here's the running code: https://covidreport.keithcu.com/

Takes advantage of thread pools and process pools to be high-performance and scalable. Some people incorrectly say that Python is slow, but this app typically starts returning the page in 2 ms. As a comparison, DrudgeReport handles about 23 million page-views per day, which is 266 requests per second. Ignoring the images, which could be cheaply served by a CDN, one 8-core, $160 per month Linode would be able handle that same amount of traffic running this site.

Feel free to request more default RSS feeds, or send pull requests.

Web servers need a configuration file to tell it where the flask software is located. A sample Apache one is included.

$ git clone https://github.com/KeithCu/LinuxReport
$ cd linuxreport
$ sudo pip install -r requirements.txt
$ python -m flask run

About

Customizable Linux news site based on Python / Flask

https://covidreport.keithcu.com/

License:GNU Lesser General Public License v3.0


Languages

Language:Python 88.8%Language:HTML 11.2%