Skip to main content

No project description provided

Project description

AnkiGenGPT

This Python CLI tool leverages the power of OpenAI's GPT-3 or GPT-4 model to convert your text into flashcards for use in Anki, an open-source spaced repetition software.

Install

pip3 -U install ankigengpt

or via pipx

pipx install ankigengpt

Configuration

An openai api token is needed, it can be used with --openai-token or via the environment variable OPENAI_TOKEN.

Epub

Scans an epub for text and asks chatgpt for anki cards.

ankigengpt epub --path ~/Downloads/my-ebook.epub

Kindle Highlights

Uses the highlights to create anki cards.

The kindle highlights are needed in the APA format.

ankigengpt kindle-highlights --path ~/Downloads/Notebook.html

Plain text

Use a plain text file like markdown or txt

ankigengpt plain --debug --path ~/Downloads/book.md

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

ankigengpt-1.2.1-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file ankigengpt-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: ankigengpt-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for ankigengpt-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8438473486ada583688885f6428e4b1a8ee951b7a3899deae408895d679ee5f6
MD5 8ccd547d2f9a6688d1b4857a589292d6
BLAKE2b-256 fd4e1fc3f0656bad9d0c904fffd93fef6d7cbf19e315b8623ff7ab23a5f625e8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page