Web application for Freedium.cfd https://freedium.cfd/
Find a file
2024-02-09 12:28:56 +06:00
bin Migrate to Docker & logger enhances 2024-02-07 17:17:15 +06:00
core Migrate to Docker & logger enhances 2024-02-07 17:17:15 +06:00
data Moving codebase from GitHub 2024-01-31 06:48:20 +06:00
other Migrate to Docker & logger enhances 2024-02-07 17:17:15 +06:00
rl_string_helper Performing safe encoding 2024-02-02 06:04:08 +06:00
scripts Migrate to Docker & logger enhances 2024-02-07 17:17:15 +06:00
server Finally fixing containre health problem 2024-02-09 12:28:56 +06:00
static Moving codebase from GitHub 2024-01-31 06:48:20 +06:00
.env_template Moving codebase from GitHub 2024-01-31 06:48:20 +06:00
.gitignore Update .gitignore file 2024-02-07 15:14:15 +06:00
.gitmodules Moving codebase from GitHub 2024-01-31 06:48:20 +06:00
CaddyfileDev Migrate to Docker & logger enhances 2024-02-07 17:17:15 +06:00
CaddyfileDevTemplate Migrate to Docker & logger enhances 2024-02-07 17:17:15 +06:00
CaddyfileMaintance Moving codebase from GitHub 2024-01-31 06:48:20 +06:00
CaddyfileProd Migrate to Docker & logger enhances 2024-02-07 17:17:15 +06:00
CaddyfileProdTemplate Migrate to Docker & logger enhances 2024-02-07 17:17:15 +06:00
docker-compose-dev.yml Finally fixing containre health problem 2024-02-09 12:28:56 +06:00
docker-compose-prod.yml Minor fixes 2024-02-09 10:12:43 +06:00
Dockerfile Finally fixing containre health problem 2024-02-09 12:28:56 +06:00
DockerfileCaddy Finally fixing containre health problem 2024-02-09 12:28:56 +06:00
pyproject.toml Moving codebase from GitHub 2024-01-31 06:48:20 +06:00
README.md Fixing link for icon link 2024-01-31 04:40:09 +00:00
requirements-dev.txt Moving codebase from GitHub 2024-01-31 06:48:20 +06:00
requirements-fast.txt Moving codebase from GitHub 2024-01-31 06:48:20 +06:00
requirements.txt Moving codebase from GitHub 2024-01-31 06:48:20 +06:00
ruff.toml Moving codebase from GitHub 2024-01-31 06:48:20 +06:00
test.py Update Medium domains list 2024-02-02 06:04:08 +06:00

Freedium: Your paywall breakthrough for Medium!

"Buy Me A Coffee"

FAQ

What is happened to GitHub organization?

Our whole Github organization is not public for now. Reddit community, that was beginning all of that unfourtunately also gone. So we have moved to Codeberg

Why did we create Freedium?

In mid-June to mid-July 2023, Medium changed their paywall method, and all old paywall bypass methods we had stopped working. So I became obsessed with the idea of creating a service to bypass Medium's paywalled posts. Honestly I am not a big fan of Medium, but I sometimes read articles to improve my knowledge.

How does Freedium work?

In the first version of Freedium, we reverse-engineered Medium.com's GraphQL endpoints and built our own parser and toolkits to show you unpaywalled Medium posts. Unfortunately, Medium closed this loophole and nowadays we just pay subscriptions and share access through Freedium. Sometimes we got a bugs because of the self-written parser, but we are working to make Freedium bug-free.

What language are being used?

We use Python, with Jinja template builder, and some JS magic in Frontend :)

Wow! I would like to contribute to Freedium. How can I do that?

We need volunteers who have Medium subscriptions because we might get banned by Medium. And if you developer you can start from the this (https://codeberg.org/Freedium-cfd/web) repository.

Plans, future?

Speed up Freedium, and probably create open source Medium frontend in next life

Tech stack:

  • FastAPI, Gunicorn, Unicorn as worker,
  • Tailwinds CSS v3
  • Dragonfly (Redis like key-value database)
  • Jinja2
  • Python 3.9+
  • Caddy
  • Sentry

Local run:

Requirements:

  • Medium subscription
  • Python 3.9+
git clone https://github.com/Freedium-cfd/web ./web
cd ./web
pip install -r requirements.txt
# for linux also do: pip install -r requirements-fast.txt
pip install ./core
pip install ./rl_string_helper

Now we need configure our Freedium instance. Copy .env_template to .env configuration file and set values, required for you.

If you have linux, execute ./script/start_dev.sh and open in browser 'localhost:6752'. That will execute Caddy reverse proxy. If you have other OS or want test without reverse proxy, you can execute server using command python3 -m server server and access by address 'localhost:7080':