Omnivore is a complete, open source read-it-later solution for people who like reading. https://omnivore.app/
Find a file
Jackson Harper 93f4f96732
Merge pull request #3799 from stefanosansone/fix/room-migrations
Android - Allow room destructive migration
2024-04-08 18:20:10 +08:00
.github Fix action that validates image build 2024-03-04 09:56:19 +08:00
android/Omnivore allow room destructive migration 2024-04-08 12:05:43 +02:00
apple Bump iOS to 1.46 2024-04-01 15:31:57 +08:00
docs/guides/getting-started Merge pull request #3043 from HVbajoria/main 2023-11-03 08:41:43 +08:00
imageproxy Open source omnivore 2022-02-11 09:24:33 -08:00
packages Merge pull request #3792 from omnivore-app/fix/feed_failed_at 2024-04-08 17:46:27 +08:00
pkg Move discord bot out of packages directory 2024-03-19 16:19:44 +08:00
self-hosting use RollingUpdate 2024-02-14 18:05:05 +01:00
.dockerignore Add more stuff to dockerignore 2023-04-26 23:17:46 +08:00
.editorconfig Add the root directory dot files 2022-02-11 09:56:51 -08:00
.eslintignore Add the root directory dot files 2022-02-11 09:56:51 -08:00
.eslintrc Remove typescript and eslint changes 2024-03-12 11:01:44 +08:00
.gitignore Landing page improvements and various supporting improvements 2023-10-24 09:43:39 +01:00
.node-version Upgrade node version 2023-07-26 09:16:08 +08:00
.prettierrc Remove typescript and eslint changes 2024-03-12 11:01:44 +08:00
.vercelignore Update vercel ignore to ignore some of our new services 2022-08-12 14:32:39 +08:00
codegen.yml Open source omnivore 2022-02-11 09:24:33 -08:00
docker-compose-test.yml update docker-compose-test 2023-11-08 18:02:40 +08:00
docker-compose.yml Merge all changes from main, update theming of Discover 2024-03-07 17:39:57 +01:00
lerna.json Update lerna config 2023-10-25 09:26:08 +08:00
LICENSE Initial commit 2022-02-10 23:57:14 -08:00
Makefile Add support for viewing coloured highlights in iOS and Android 2023-08-25 16:27:06 +08:00
package.json Remove typescript and eslint changes 2024-03-12 11:01:44 +08:00
README.md Fix Github Workflow Status badge in README.md 2024-03-08 10:43:45 +10:00
SECURITY.md Create SECURITY.md 2023-06-16 17:43:40 +08:00
tsconfig.json remove babel and compile test files 2024-04-04 12:17:15 +08:00
vercel.json Longer max age on cache control header for fonts 2022-04-27 10:59:50 -07:00
yarn.lock remove babel and compile test files 2024-04-04 12:17:15 +08:00

Omnivore

GitHub Workflow Status Discord Mastodon Follow Twitter Follow GitHub

Omnivore Logo

Omnivore is a complete, open source read-it-later solution for people who like text.

We built Omnivore because we love reading and we want it to be more social. Join us!

Every single part is fully open source! Fork it, extend it, or deploy it to your own server.

We also have a free hosted version of Omnivore at omnivore.app -- try it now!

web-screenshot-listview

Join us on Discord! 💬

We're building our community on Discord. Join us!

Read more about Omnivore on our blog. https://blog.omnivore.app/p/getting-started-with-omnivore

Shoutouts 🎉

Omnivore takes advantage of some great open source software:

  • TypeScript - Most of our backend and frontend are written in TypeScript.
  • Next.js - Our frontend is a Next.JS app and is hosted on Vercel.
  • SWR - We do all our data fetching on the web using SWR.
  • Stitches - We use Stitches on the frontend to style our components.
  • Mozilla Readability - We use Mozilla's Readability library to make pages easier to read.
  • Swift GraphQL - We generate our GraphQL queries on iOS using Swift GraphQL.
  • Apollo GraphQL - We generate our GraphQL queries on Android using Apollo GraphQL.
  • Radix - We use Radix UI's components on our frontend.
  • And many more awesome libraries, just checkout our package files to see what we are using.

Importing Libraries

Check out our docs for information on importing your data from other apps.

How to setup local development 💻

The easiest way to get started with local development is to use docker compose up. This will start a postgres container, our web frontend, an API server, and our content fetching microservice.

Requirements for development

Omnivore is written in TypeScript and JavaScript.

  • Node -- currently we are using Node.js v18.16
  • Chromium -- see below for installation info

Running the web and API services

1. Start docker compose

git clone https://github.com/omnivore-app/omnivore
cd omnivore
docker compose up

This will start postgres, initialize the database, and start the web and api services.

2. Open the browser

Open http://localhost:3000 and confirm Omnivore is running

3. Login with the test account

During database setup docker compose creates an account demo@omnivore.app, password: demo_password.

Go to http://localhost:3000/ in your browser and choose Continue with Email to login.

Frontend Development

If you want to work on just the frontend of Omnivore you can run the backend services with docker compose and the frontend locally:

docker compose up api content-fetch
cd packages/web
cp .env.template .env.local
yarn dev

You will need to configure some values in the new .env.local file. These are the values for running the web service directly on your host machine and running api and content-fetch within docker:

NEXT_PUBLIC_BASE_URL=http://localhost:3000
NEXT_PUBLIC_HIGHLIGHTS_BASE_URL=http://localhost:3000
NEXT_PUBLIC_LOCAL_BASE_URL=http://localhost:3000
NEXT_PUBLIC_SERVER_BASE_URL=http://localhost:4000
NEXT_PUBLIC_LOCAL_SERVER_BASE_URL=http://localhost:4000

Running the puppeteer-parse service outside of Docker

To save pages you need to run the puppeteer-parse service.

1. Install and configure Chromium

brew install chromium --no-quarantine
export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
export CHROMIUM_PATH=`which chromium`

2. Navigate to the service directory, setup your env file, and install dependencies

cd packages/puppeteer-parse
cp .env.example .env
yarn

3. Start the service

yarn start

This will start the puppeteer-parse service on port 9090.

In your browser go to http://localhost:3000/home, click the Add Link button, and enter a URL such as https://blog.omnivore.app/p/getting-started-with-omnivore.

You should see a Chromium window open and navigate to your link. When the service is done fetching your content you will see it in your library.

How to deploy to your own server

Omnivore was originally designed to be deployed on GCP and takes advantage of some of GCP's PaaS features. We are working to make Omnivore more portable so you can easily run the service on your own infrastructure. You can track progress here: https://github.com/omnivore-app/omnivore/issues/25

To deploy Omnivore on your own hardware you will need to deploy three dockerized services and configure access to a postgres service. To handle PDF documents you will need to configure access to a Google Cloud Storage bucket.

  • packages/api - the backend API service
  • packages/web - the web frontend (can easily be deployed to vercel)
  • packages/puppeteer-parse - the content fetching service (can easily be deployed as an AWS lambda or GCP Cloud Function)

Additionally, you will need to run our database migrations to initialize your database. These are dockerized and can be run with the packages/db service.

License

Omnivore and our extensions to Readability.js are under the AGPL-3.0 license.