No more private boards

This commit is contained in:
vas3k 2020-04-11 20:39:49 +02:00
parent ab00ca2d69
commit d1e0e0bab1
3 changed files with 1802 additions and 59 deletions

1
.gitignore vendored
View File

@ -35,7 +35,6 @@ private_settings.py
local_settings.py
media/images
media/i
boards_private.yml
*.session
venv/

View File

@ -94,7 +94,35 @@ Then go to [localhost:8000](http://localhost:8000) again
## boards.yml format
TBD
```
boards:
- name: Tech # board title
slug: tech # board url
is_visible: true # visibility on the main page
is_private: false # private boards require logging in
curator: # board author profile
name: John Wick
title: Main news
avatar: https://i.vas3k.ru/fhr.png
bio: Major technology media in English and Russian
footer: >
this is a general selection of popular technology media.
The page is updated once per hour.
blocks: # list of logical feed blocks
- name: English # block title
slug: en # unique board id
feeds:
- name: Hacker News
url: https://news.ycombinator.com
rss: https://news.ycombinator.com/rss
- name: dev.to
url: https://dev.to
rss: https://dev.to/feed
- name: TechCrunch
rss: http://feeds.feedburner.com/TechCrunch/
url: https://techcrunch.com
is_parsable: false # do not try to parse pages, show RSS content only
```
## Contributing

1830
boards.yml

File diff suppressed because it is too large Load Diff