Code Monkey home page Code Monkey logo

quoordinates's Introduction

Quoordinates (Quote Coordinates)

  • Readwise
  • OpenAI Embeddings
  • Nomic
  • PSQL (PostgreSQL)
  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

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

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

quoordinates's People

Contributors

bramses avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

quoordinates's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.