🐍 Nyuseu :: News Reader :: 뉴스
This repository has been archived on 2025-10-13. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • Python 68.4%
  • HTML 30.6%
  • CSS 0.8%
  • JavaScript 0.2%
Find a file
foxmask de16824495 doc
2024-02-11 22:40:38 +01:00
nyuseu doc 2024-02-11 22:40:38 +01:00
sample TU + API 2021-08-20 18:13:00 +02:00
.coveragerc some improvements + doc of the API 2021-08-22 17:00:38 +02:00
.gitignore TU + API 2021-08-20 18:13:00 +02:00
.gitlab-ci.yml only available 2022-02-20 21:55:41 +01:00
CHANGELOG doc 2024-02-11 22:40:38 +01:00
CONTRIBUTING.md some improvements + doc of the API 2021-08-22 17:00:38 +02:00
LICENSE few fixes 2021-08-14 21:09:33 +02:00
manage.py some improvements + doc of the API 2021-08-22 17:00:38 +02:00
MANIFEST.in Unique Constraint 2021-09-21 18:49:24 +02:00
pytest.ini pytest 2020-10-27 21:28:41 +01:00
README.md doc 2024-02-11 22:40:38 +01:00
requirements-conf-server.txt fix #5 display articles by the selected feed 2021-07-28 21:41:35 +02:00
requirements-dev.txt upd django and requirements 2022-08-29 14:51:39 +02:00
requirements.txt upd requerements and tests 2024-02-11 21:58:59 +01:00
setup.cfg upd requerements and tests 2024-02-11 21:58:59 +01:00
setup.py UX 2020-07-14 21:07:55 +02:00
tox.ini upd doc 2021-12-23 17:50:16 +01:00
VERSION.txt few fixes 2021-08-14 21:09:33 +02:00

Nyuseu :: News :: 뉴스

News reader in Python and Django

Main page

📦 Installation

Requirements

  • Python > 3.10
  • Django < 4

Installation

pandoc

sudo apt install pandoc

create a virtualenv

python3 -m venv nyuseu
cd nyuseu
source bin/activate

install the project

pip install nyuseu

🔧 Settings

copy the sample config file

cp env.sample .env

and set the following values

DEBUG=True   # or False
DB_ENGINE='django.db.backends.sqlite3'
DB_NAME='nyuseu.sqlite3'
DB_USER=''
DB_PASSWORD=''
DB_HOST=''
DB_PORT=''

TIME_ZONE='Europe/Paris'
LANGUAGE_CODE='en-en'
USE_I18N=True
USE_L10N=True
USE_TZ=True

SECRET_KEY=TOBEDEFINED!

BYPASS_BOZO=True

📀 Database

setup the database

cd nyuseu
python manage.py createsuperuser
python manage.py migrate

📣 Running the Server

start the project

python manage.py runserver localhost:8001

then, access the project with your browser http://127.0.0.1:8001/

Manage your data

go to http://127.0.0.1:8001/admin and enter the login/pass of the created superuser

👀 Importing OPML file

enter the following command

python opml_load.py /path/to/the/file.opml

eg

python manage.py opml_load ~/Download/feedly-e2343e92-9e71-4345-b045-cef7e1736cd2-2020-05-14.opml
Nyuseu Server - 뉴스 - Feeds Reader Server - Starlette powered
Humor Le blog d'un odieux connard
Dev Vue.js News
Dev Real Python
Dev PyCharm Blog
Dev Python Insider
Dev The Django weblog
Dev Ned Batchelder's blog
Dev Pythonic News: Latest
Dev Caktus Blog
Dev The Official Vue News
Android Les Numériques
Android Frandroid
Dys Fédération Française des DYS
Gaming NoFrag
Gaming Gameblog
Gaming Gamekult - Jeux vidéo PC et consoles: tout l'univers des joueurs
Gaming PlayStation.Blog
Gaming jeuxvideo.com - PlayStation 4
Nyuseu Server - 뉴스 - Feeds Loaded

👀 Exporting OPML file

enter the following command

python opml_dump.py /path/to/the/file.opml

eg

Nyuseu :: 뉴스 :: News - Feeds Exported in file foobar.opml

get the update of your news

in your crontab add this for example

*/59 * * * * cd ~/Projects/nyuseu/ && . bin/activate && cd nyuseu && ./manage.py nyuseu_update

(Image credits to Emojipedia)

Board creation

Board creation 1

Board creation 1

accessing to boards

My boards