Screen.Recording.2024-07-20.at.4.27.48.PM.mov
The open-source tool that provides access to premium Medium articles without the paywall
Learn more »
Introduction ·
Features ·
Tech Stack ·
Contributing
ReadiumX is an open source tool that provides access to premium Medium articles without the paywall, allowing you to bookmark, and manage your reading experience across any device
- Next.js – framework
- TypeScript – language
- Tailwind – CSS
- TursoDB – database
- Lucia Auth – auth
- Resend – emails
- DrizzleORM – ORM
- TipTap – editor
- Shadcn – component library
- Railway – deployments
- Access Premium Articles: Bypass paywalls to access content freely.
- Bookmarking System: Save your favorite articles for later reading.
- Progress Tracking: Automatically saves your reading progress to resume where you left off.
- Reading History Management: View and manage your reading history with options to delete records.
-
Clone the repository
git clone https://github.com/JaleelB/readium-x.git
-
Install dependencies using pnpm
pnpm install
-
Copy the
.env.example
to.env
and update the variables.cp .env.example .env
-
Start the development server
pnpm run dev
-
Push the database schema
pnpm run db:push
If you want google login, you'll need to setup a google project and create some keys:
- https://console.cloud.google.com/apis/credentials
- create a new project
- setup oauth consent screen
- create credentials - oauth client id
- for authorized javascript origins
- Authorized redirect URIs
- Set your google id and secret inside of .env
- GOOGLE_CLIENT_ID
- GOOGLE_CLIENT_SECRET
If you want github login, you'll need to setup a github project and create some keys:
- https://github.com/settings/developers
- Create a new OAuth App
- Create an application for the for local development:
- Homepage URL: http://localhost:3000
- Authorization callback URL: http://localhost:3000/api/login/github/callback
- Create an application for the for production:
- Homepage URL: https://your-domain.com
- Authorization callback URL: https://your-domain.com/api/login/github/callback
Contributions are welcome! Please open an issue if you have any questions or suggestions. Your contributions will be acknowledged. See the contributing guide for more information.
Licensed under the MIT License. Check the LICENSE file for details.