Giter Club home page Giter Club logo

vocabonline's Introduction


proTodo Logo

vokabel - Online vocabulary learning platform

Parse PDFs and learn vocabulary using a modern web interface.

Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Technical explanation
  5. Contributing
  6. Contact

About The Project

This project aims to provide a modern and simple way to learn and memorize vocabulary. Built using React and Tailwind CSS
(+ shadcn UI), it offers a compelling and responsive UI. In order to provide accurate and atomatic definitions and synonyms for the vocuabulry, voakbel utilizes the BigHugeThesaurus API as well as the Free Dictionary API .

Image showing the vocabulary sets

Image showing the learning process

Image showing the learning result

Built With

Java Spring React TailwindCSS PostgreSQL

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

  • At least Java 17

Installation

  • Run git clone https://github.com/oskarkraemer/vocabonline.git

Environment variables

  • Create .env file with the following environment variables:
  • DB_URL = "<postgres dbURL">"
  • DB_USER = "<postgres user string>"
  • DB_PASSWORD = "<postgres user password"
  • BHT_API_KEY = "<BigHugeThesaurus API key>" Obtain here
  • AUTH_SALT = "<random string to use for password hash salt>"

Using Docker-compose

  • Run docker compose up in directory

Manual

  • Run java -jar ./out/artifacts/vocabonline_jar/vocabonline.jar

Usage

  • Create Admin user: Currently only possible manually: Add entry to user_account table with password hash being a SHA1 hash, salted using AUTH_SALT env.
  • Import PDF: Press Import PDF and upload. The PDF is parsed for vocabulary and their corresponding translation. A new list is created.
  • Open List: Click on the newly created and you are presented with the parsed vocabulary, including synonym annotations.
  • Learn List: Click Learn All to learn all words in the list; click Learn Hard to only learn difficult words (often answered wrongly).

    Image showing the vocabulary list

Technical explanation

After a new PDF is parsed, a list is created and the following steps are executed:

  • BigHugeThesaurus is queried in order to obtain synonyms and antonyms.
  • Free Dictionary API is queried to obtain definitions, phonetics, examples and the part of speech
  • The data is inserted into the PostgreSQL database, visualized using the following model.

    Image showing the relational model of the DB

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Contact

Oskar Krämer - [email protected]

vocabonline's People

Contributors

oskarkraemer avatar

Watchers

 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.