1
0
Fork
You've already forked web
0
forked from Freedium-cfd/web
Web application for Freedium.cfd
  • Python 75.4%
  • HTML 23.6%
  • Shell 0.5%
  • Dockerfile 0.5%
2024年04月08日 22:14:00 +05:00
bin Migrate to Docker & logger enhances 2024年02月07日 17:17:15 +06:00
core Fixing timeouts 2024年04月08日 21:47:09 +05:00
data Moving codebase from GitHub 2024年01月31日 06:48:20 +06:00
database-lib Implementing maintenance mode 2024年03月18日 23:45:02 +05:00
other Migrate to Docker & logger enhances 2024年02月07日 17:17:15 +06:00
rl_string_helper Fixing dark code text in light mode 2024年02月21日 21:12:03 +06:00
scripts Adding 80 port forwarder 2024年04月03日 00:41:52 +05:00
server Refactor 2024年04月08日 22:14:00 +05:00
static Moving codebase from GitHub 2024年01月31日 06:48:20 +06:00
.dockerignore Update docker ignore path 2024年02月23日 10:52:25 +06:00
.env_template Major Refactor 2024年03月27日 21:49:52 +05: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 Caddy: Add Cloudflare challenge page to the ignore path list 2024年04月01日 05:44:27 +05:00
CaddyfileDevTemplate Migrate to Docker & logger enhances 2024年02月07日 17:17:15 +06:00
CaddyfileMaintance Fixing 2024年02月23日 11:50:14 +06:00
CaddyfileProd Caddy: Add Cloudflare challenge page to the ignore path list 2024年04月01日 05:44:27 +05:00
CaddyfileProdTemplate Migrate to Docker & logger enhances 2024年02月07日 17:17:15 +06:00
docker-compose-dev.yml Update 2024年02月23日 14:41:33 +06:00
docker-compose-prod.yml Update 2024年02月23日 14:41:33 +06:00
Dockerfile Fixing critical bug in DB 2024年02月23日 11:47:31 +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 Use codeberg repository instead of Github mirror in instruction 2024年03月27日 22:09:52 +05: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 Implementing maintenance mode 2024年03月18日 23:45:02 +05: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:

  • Docker
  • git
  • Linux. Officially, we can't guarantee that Freedium will work on other OS.

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

git clone https://codeberg.org/Freedium-cfd/web/ ./web --depth 1
cd ./web
cp .env_template .env
# do some changes in .env, if you want
sudo docker-compose -f docker-compose-dev.yml up

And now you can access local instance of Freedium by opening browser and type http://localhost:6752.