-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5c03308
commit 4e1c36b
Showing
1 changed file
with
34 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,34 @@ | ||
# all-the-highlights | ||
|
||
## All The Highlights | ||
|
||
**All The Highlights** is a tool designed to fetch, process, and display book highlights from Readwise. | ||
|
||
### Features: | ||
|
||
- Fetches book data and highlights from the Readwise Export API. | ||
- Filters out books without highlights. | ||
- Generates an HTML representation of the books and their associated highlights. | ||
- Allows easy copy & paste functionality for each highlight and book metadata. | ||
- Automated deployment to GitHub Pages using GitHub Actions. | ||
|
||
### How to Use: | ||
|
||
1. **Set Up**: Clone this repository to your local machine or GitHub workspace. | ||
|
||
2. **Configuration**: Ensure you have a Readwise token. You will need to set this as an environment variable named `READWISE_TOKEN`. | ||
|
||
3. **Run Locally**: Execute the main program using the command `go run main.go`. | ||
|
||
4. **Deployment**: The project is configured with a GitHub Actions workflow (`deploy.yml`) that automatically builds and deploys the generated HTML to GitHub Pages upon push to the `main` branch or on a daily schedule. | ||
|
||
5. **Viewing the Output**: Once deployed, the highlights can be viewed on GitHub Pages at the configured URL. | ||
|
||
### Dependencies: | ||
|
||
- Go programming language (tested with version 1.16). | ||
- Readwise Export API for fetching the book data and highlights. | ||
- The `grr` library for rendering HTML templates. | ||
|
||
### Contributing: | ||
|
||
If you have suggestions, bug reports, or feature requests, please open an issue on the GitHub repository. Contributions via pull requests are also welcome! |