Giter VIP home page Giter VIP logo

slide2md's Introduction

Slide2MD

Automatic Documentation Generation for Class Lectures — An AI-powered slide-to-markdown file converter.

Running Locally

  1. Run the following command:
pip install -r requirements.txt
  1. Make a service account for a GCloud project. You will get a json file as a key for the account. Set the environment variable GOOGLE_APPLICATION_CREDENTIALS to the path to that key. Here's how you do that on the command line:
export GOOGLE_APPLICATION_CREDENTIALS='path/to/access/creds.json'
  1. Get an OpenAI API key. This should be a string. Set the environment variable OPENAI_API_KEY to that string. Here's how you do that on the command line:
export OPENAI_API_KEY="some_string_api"
  1. Run the conversion process through runner.py. The process will create a tmp folder to host your temporary files, and create a markdown file with the same name as the input file.
python3 runner.py [filename]

More instructions about how to run the program can be found through

python3 runner.py --help

If you want your tmp to be auto-deleted after the run, use the --clean-up flag.

Warning

This project is a work-in-progress. In all honesty, it does not work very well. I would not recommend anyone use this for production or commercial purposes.

slide2md's People

Contributors

somaniarushi avatar

Watchers

 avatar

slide2md's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.