Skip to content

Get daily digests of your previously read content (e.g. summaries of books or articles) to enhance reading engagement and retention πŸ“–πŸ”πŸ§ 

License

Notifications You must be signed in to change notification settings

pachovit/echopages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation


EchoPages

CI license issues stars forks

EchoPages is a service designed to provide users with scheduled digests of their chosen content, such as summaries of book chapters or articles. Inspired by services like Readwise, EchoPages enhances the reading and learning experience by sending personalized content snippets on a predefined schedule, ensuring continuous engagement and retention πŸ“–πŸ”πŸ§ .

Why Choose EchoPages? 🌟

  • πŸ“‹ Self-Managed Content: EchoPages allows you to carefully manage your content. Whether it's a detailed summary of a book chapter or brief quotes, you have the flexibility to add any content that matters to you
  • πŸ“¬ Customizable Delivery: Configure EchoPages to deliver content that suits your needs. Receive a daily summary of a book chapter, or several smaller snippets, depending on your preference
  • πŸ†“ Free and Open Source: EchoPages is free to use and fully open-source. You can self-host it and take complete control over your data and usage

Getting Started πŸš€

Prerequisites

  • Docker
  • Docker Compose
  • Git
  • A Postmark account, and a Postmark API token

Installation and Usage

  1. Clone the Repository:
git clone https://github.com/pachovit/echopages.git
cd echopages
  1. Setup Environment Variables:

Create a .env file in the root directory. You can take as reference the example env file. Adjust the values as needed, and make sure to specify the following variables:

  • TZ: Timezone where your system runs. E.g. Europe/Berlin
  • NUMBER_OF_UNITS_PER_DIGEST: How many content units you want to receive every digest
  • DAILY_TIME_OF_DIGEST: What time of the day you want to receive your daily digest. In format "HH:MM"
  • RECIPIENT_EMAIL: Where do you want to receive your digests
  • APP_EMAIL_ADDRESS: Email address that is used to send the digests
  • POSTMARK_SERVER_API_TOKEN: Postmark API token used to send the emails
  1. Run with Docker Compose:
docker-compose --env-file /path/to/your/file.env up -d
  1. Explore the API docs:

The application will be available at http://localhost:8000. You can access the API documentation in http://localhost:8000/docs.

  1. Add Content:

Use the /add_content endpoint to add new content. You can do this via an HTTP client like curl or Postman:

curl -X POST "http://localhost:8000/add_content" -H "Content-Type: application/json" -d '{"source": "Book Name", "author": "One Author", "location": "Chapter 1", "text": "some long markdown summary"}'

The text is assumed to be in markdown format. In case you want to add content with images, they will need to be base64-encoded. For example for the following markdown file:

  # Some Nice Book Chapter Summary
  
  # Topic 1
  * Key point 1: Description of the point
  * Key point 2: Description of the other point
  ![nice-image.png](./path/to/nice-image.png)
  
  # Topic 2
  * Key point 1: Another nice thing
  * Key point 2: Yet another thing

You'll have to convert the image to embed it (you can find an utility function to do this in this file):

  # Some Nice Book Chapter Summary
  
  # Topic 1
  * Key point 1: Description of the point
  * Key point 2: Description of the other point
  ![nice-image.png](data:image/png;base64,<base64-encoded-image>)
  
  # Topic 2
  * Key point 1: Another nice thing
  * Key point 2: Yet another thing
  1. Receive Digest:

That's it! The application will automatically send you digests based on your content and your configured schedule.

Contributing 🀝

We welcome contributions! Please read our Contributing Guidelines for more details.

License πŸ“„

EchoPages is open-sourced software licensed under the GPL-3.0 license.

About

Get daily digests of your previously read content (e.g. summaries of books or articles) to enhance reading engagement and retention πŸ“–πŸ”πŸ§ 

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published