Skip to content

kewbish/phasis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Phasis

A ChatGPT-powered tool to visualize the pulse of and track changes in digital gardens.
Made in Svelte and Python, October 2022 to April 2023.
Released under the MIT License.
Created by Kewbish.

Usage

Phasis is a proof-of-concept — to use:

  • pip install -r requirements.txt
  • change DIR in phasis.py to point to the Git repository containing your notes
  • get your ChatGPT session token from the cookies, and paste it into config.json with the key session_token
  • update the prompt and maximum comparison length in fetch_from_chatgpt in phasis.py
  • source venv/bin/activate && cd backend && flask run to run the Python backend
    • the first time you run this, it'll run a Spacy pipeline to extract all named dates in your notes so it may take a while
  • npm run dev to run the Svelte frontend; paste the same DIR as in phasis.py