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.
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.
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.
Speed up Freedium, add support for more services than just Medium and (probably) create open source Medium frontend (in next life)
- Backend: Python 3.9+, Unicorn, FastAPI, Jinja2, Sentry
- Frontend: Tailwinds CSS v3
- Database: PostgreSQL, Dragonfly (Redis and Memcached compatible key-value database)
- Utils: Caddy, Docker, Docker Compose, Cloudflare WARP proxy (wgcf)
Requirements:
- Docker
- git
- Linux. Officially, we can't guarantee that Freedium will work on other OS.
To configure your Freedium instance, follow these steps:
-
Clone the repository:
git clone https://codeberg.org/Freedium-cfd/web/ ./web --depth 1 cd ./web
-
Create and configure the environment file:
cp .env_template .env
Open the
.env
file and adjust the values as needed for your setup. -
Set up the Docker network:
sudo docker network create caddy_net
-
Start the Freedium services:
sudo docker compose -f ./docker-compose/docker-compose.yml up
And now you can access local instance of Freedium by opening browser and type http://localhost:6752
.
These steps will set up and run your local Freedium instance.
- Integrate library notifiers - https://github.com/liiight/notifiers
- Do not use 'shturman/dante' image, because it is does not have updates for a long time. (Probably) Use https://hub.docker.com/r/vimagick/dante/
- Speed up parser logic, port to Cython or rewrite to Golang
- Make parse Medium format directly to Markdown, not HTML, in order to make it more universal. This helps to generate RSS feeds, PDF, HTML. OR we need write separate parser for different formats, like PDF, Markdown, etc.
- Add more services than just a Medium
- Rewrite frontend to Svelte
- Move frontend to Cloudflare Pages
- Integrate Grafana/Prometheus to monitor our services
- Add more metrics to our services to have ability to monitor it
- Make able translate posts to different languages using translatepy library