Skip to content

Extract and display highlights from KoboReader.sqlite file and send them to Notion.

License

Notifications You must be signed in to change notification settings

TaylanTatli/KoboHighlights

Repository files navigation

KoboHighlights Logo KoboHighlights Logo

KoboHighlights is a web application designed to extract and display highlights from the KoboReader.sqlite file and send them to Notion.

KoboHighlights Preview

📚 Table of Contents

📖 Description

This project enables users to upload their KoboReader.sqlite file and view a list of books with highlights and the highlights themselves. Users can also send these highlights to Notion.

✨ Features

  • Extract highlights from KoboReader.sqlite file
  • Display highlights in a user-friendly interface
  • Send highlights to Notion
  • Save highlights to local storage for offline access
  • Multi-language support (English and Turkish)
  • Docker support for easy deployment
  • Responsive UI

⚙️ Installation

To run the project locally, follow these steps:

📋 Requirements

  • Node.js (>=14.x)
  • pnpm package manager
  • Docker (optional)

🛠️ Steps

  1. Clone the repository:

    git clone https://github.com/TaylanTatli/kobohighlights.git
    cd kobohighlights
  2. Install dependencies:

    pnpm install
  3. (Optional) Create a .env file in the root directory and add your environment variables:

    NEXT_PUBLIC_NOTION_PAGE_ID=your_notion_page_id
    NEXT_PUBLIC_NOTION_API_KEY=your_notion_api_key

    This is only necessary if you want to predefine your page ID and API key. If you don't create this file, you will need to enter your page ID and API key when you send highlights to Notion. These values will be saved to local storage for next time.

  4. Start the development server:

    pnpm run dev

🚀 Usage

  1. Open your browser and navigate to http://localhost:3000.
  2. Upload your KoboReader.sqlite file.
  3. View the list of books and their highlights.
  4. Optionally, send highlights to Notion by entering your Notion Page ID and API Key, or download them to your PC.

🐳 Docker Usage

To run the project using Docker, follow these steps:

  1. Build the Docker image:

    docker build -t kobohighlights .
  2. Start the Docker container:

    docker run -p 3000:3000 kobohighlights
  3. Open your browser and navigate to http://localhost:3000.

☁️ Deploy on Vercel / Netlify

You can deploy this project to Vercel or Netlify by clicking the buttons below:

Deploy with Vercel Deploy with Netlify

🔮 Future Plans

  • Improve the user interface and user experience
  • Add more export options (e.g., PDF)

🤝 Contributing

Contributions are welcome! Please open an issue or submit a pull request.

☕ Supporting The Project

If you like the project and want to support me, You can Buy Me A Coffee

📜 License

This project is licensed under the MIT License. See the LICENSE file for details.

About

Extract and display highlights from KoboReader.sqlite file and send them to Notion.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published