You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
beucismis
10fd5e1a61
|
4 months ago | |
---|---|---|
.github | 4 months ago | |
ozgursozluk | 4 months ago | |
.dockerignore | 4 months ago | |
.gitignore | 1 year ago | |
Dockerfile | 4 months ago | |
LICENSE | 1 year ago | |
README.md | 7 months ago | |
TODO.md | 1 year ago | |
pyproject.toml | 1 year ago | |
requirements-dev.txt | 1 year ago | |
requirements.txt | 7 months ago | |
tests.py | 1 year ago |
README.md
A free and open source alternative ekşi sözlük front-end. Does not use the API, only scrapes the web.
Official instance: (offline) https://ozgursozluk.freedns.rocks
Donate: (offline) https://ozgursozluk.freedns.rocks/donate
Features
- No JavaScript
- Docker support
- Topic searching
- Viewing topic, entry and author
- Gündem and debe page support
- Optional displaying author nickname
- 8 different theme support
- Self-hosted, ad-free, simple and fast
- Responsive support for small screens
Installation
Install from the pip
:
pip3 install ozgursozluk
Install from the repo:
pip3 install git+https://github.com/beucismis/ozgursozluk.git
Updating:
pip3 install ozgursozluk --upgrade
Deploying
flask --app ozgursozluk run
# or
gunicorn ozgursozluk:app
Alternatively, with Docker:
git clone https://github.com/beucismis/ozgursozluk
cd ozgursozluk
docker build -t ozgursozluk .
docker run -p 8080:80 ozgursozluk
See also, https://github.com/beucismis/ozgursozluk/wiki/Main
Environment Variables
Key | Type | Default Value |
---|---|---|
SECRET_KEY |
str |
random |
FLASK_RUN_HOST |
str |
127.0.0.1 |
FLASK_RUN_PORT |
str |
5000 |
EKSI_SOZLUK_BASE_URL |
str |
https://eksisozluk.com |
Preview
Redirection
Redirector browser extension is recommended for use. Configuration:
Description: ekşi sözlük to özgürsözlük
Example URL: https://eksisozluk.com/linux--32084
Include pattern: ^https?://(?:.*\.)*(?<!link.)eksisozluk(.*)\.com(/.*)?$
Redirect to: https://ozgursozluk.freedns.rocks$1
Pattern type: Regular Expression
Example result: https://ozgursozluk.freedns.rocks/linux--32084
License
This project is licensed under WTFPL for details, check LICENSE file.