GithubHelp home page GithubHelp logo

eurekesh / quizicist Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cognitive-engineering-lab/quizicist

0.0 0.0 0.0 7.2 MB

AI-powered quiz generator

Home Page: https://quizici.st

Python 32.69% TypeScript 30.58% CSS 0.45% HTML 2.05% Mako 0.26% Jupyter Notebook 33.96%

quizicist's Introduction

Quizicist: an AI-powered quiz generator

Getting started

Want to quickly generate a quiz? Visit our hosted Quizicist instance at quizici.st. With a piece of text content (eg. a textbook or lecture notes), Quizicist can generate a quiz in minutes. Once you review the questions and mark answers as correct or incorrect, you can export the quiz to Google Forms, mdbook-quiz, or plain text.

Running Quizicist locally

Running into rate limits at quizici.st? Quizicist can be deployed locally with the following instructions:

Environment variables

You'll need to create a .env file in the root of the project with the following key-value pair:

OPENAI_SECRET_KEY=<your openai API key>

Dependencies

You'll also need to install dependencies:

$ cd lib && pip3 install -e . && cd ..
$ cd site && pip3 install -r requirements.txt
$ cd frontend && npm install --legacy-peer-deps

Database

When developing/running locally, we use SQLite to store generated items:

$ cd site
$ python3 create_db.py # set up local sqlite database

Running the server + frontend

In one shell:

$ cd site
$ flask --app backend/main --debug run --port 5000 # run server in debug mode

In another shell:

$ cd site/frontend && npm run dev -- --port 3000

quizicist's People

Contributors

connorff avatar willcrichton avatar

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.