Skip to content

Latest commit

 

History

History
50 lines (28 loc) · 1.23 KB

README.md

File metadata and controls

50 lines (28 loc) · 1.23 KB

tabGPT

Use GPT to classify a bunch of your open tabs!

Usage

Initial Setup

  1. Install Poetry

  2. Install project dependencies in new virtualenv:

    poetry install

bookmark_utils

Parse bookmarks file to BookmarkFolder class and serialize to JSON.

  1. Export bookmarks to an HTML file. Instructions:

  2. Run bookmark_utils

    poetry run python bookmark_utils.py path/to/bookmarks.html

preprocess_urls.py

Process a file of URLs and print to stdout a file with the metadata. Input file should contain one URL per line.

  1. Export tabs to a file

  2. Run preprocess_urls

    pipenv run python preprocess_urls.py path/to/tabs_file.txt --output_format=[json|yaml|yml]

clasify_tabs

TODO: description

Default input

  1. Run classify_tabs

    poetry run python classify_tabs.py gen

Custom input

  1. Write some sample text to a file temp.txt in the project directory

  2. Run classify_tabs:

    poetry run python classify_tabs.py gen_file