Skip to content

dominiquedes/flashcardgenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Flashcard Generator

What it does?

It takes PPTX and PDF files file path and turns the data into a .txt file. The content in the .txt file can be uploaded to websites for quick note geneateration all you have to do is specifify that ":" is the seperator of the question and answer. You can also directly upload the file to anki specificying the separators.

Languages used

I coded the whole project in python. It was a quick solution for a problem that a friend of mine had. The project took no more than 35 minutes and has been very effective. I plan to use it for my classes myself. Also, people can use the project and manipulate the code to generate their own content.

How to set it up

  1. To set up all you need to do is go to this website to get an API KEY (you might have to refresh when you load in):

https://aistudio.google.com/app/apikey

  1. Copy that API Key into the api_key variable

  2. Run: pip install -r requirements.txt --user

  3. Make sure that requirements.txt is in the same folder as code.py

  4. Now all you have to do is run the python script

Enjoy! Email me at engdomdes@gmail.com with any questions.

Do you like it? Buy Me A Coffee

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages