Home

Awesome

Quoordinates (Quote Coordinates)

check out the general purpose PostgresDB prototype version of Quoordinates I'm working on -- Commonbase!!

  1. fetch highlights from readwise
    1. (optional) start at date
  2. upsert data in database
  3. embed highlights with openai
  4. place embeddings into nomic visualization

embed-into-supabase.js is a node script that embeds highlights into supabase nomic-viz.py is a python script that visualizes highlights in nomic readwise-highlights.py is a python script that fetches highlights from readwise

Downstream Dependents

The apps below depend on Quoordinates and display how versatile this technology is:

Setup

  1. Create a .env file with the following variables:
READWISE_ACCESS_TOKEN=
SUPABASE_URL=
SUPABASE_KEY=
OPENAI_API_KEY=
OPENAI_ORG=
DAY_LAST_FETCHED=
LOG_PATH=
  1. Install dependencies
poetry init
poetry shell
poetry install

and

npm install
  1. Run the script to get readwise highlights
python readwise-highlights.py
  1. Run the script to embed highlights
node embed-into-supabase.js
  1. Run the script to visualize highlights
python nomic-viz.py

Other

There are other tools in this repo too!

Images

Screenshot 2023-07-26 01-46-45 Screenshot 2023-07-26 01-35-19 Screenshot 2023-07-26 01-35-27

Screenshot 2023-07-28 15-11-18 Screenshot 2023-07-28 15-10-35