Use GPT to classify a bunch of your open tabs!
-
Install Poetry
-
Install project dependencies in new virtualenv:
poetry install
Parse bookmarks file to BookmarkFolder class and serialize to JSON.
-
Export bookmarks to an HTML file. Instructions:
-
Run bookmark_utils
poetry run python bookmark_utils.py path/to/bookmarks.html
Process a file of URLs and print to stdout a file with the metadata. Input file should contain one URL per line.
-
Export tabs to a file
- Firefox: use Export Tab URLs extension
-
Run preprocess_urls
pipenv run python preprocess_urls.py path/to/tabs_file.txt --output_format=[json|yaml|yml]
TODO: description
-
Run classify_tabs
poetry run python classify_tabs.py gen
-
Write some sample text to a file
temp.txt
in the project directory -
Run classify_tabs:
poetry run python classify_tabs.py gen_file