Coder Social home page Coder Social logo

louisbrulenaudet / neotexto Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thomassimmer/neotexto

0.0 0.0 0.0 3.61 MB

NeoTexto - A new way to improve your foreign language skills.

JavaScript 1.37% Python 26.99% TypeScript 70.66% CSS 0.65% HTML 0.03% Dockerfile 0.30%

neotexto's Introduction

Introduction

NeoTexto is a platform to improve yourself in languages. You can use it to read texts and easily access translations for words you don't know. Import your texts using copy-paste, or using text detection from an image, or simply by asking ChatGPT to generate a text about a subject you are interested in. Save the words you don't know and practice them in games.

Installation

Make sure you have docker and docker-compose.

  • Create .env files in backend/ and frontend/ folders and fill them using the respective .env.template files.
  • Uncomment languages you want to work with in backend/Dockerfile (English and French will be used by default).

In development mode

docker-compose up --build -d

In production

docker-compose -f docker-compose.prod.yml up --build -d

In case Docker has permission troubles:

sudo chown -R $(id -u):$(id -g) $HOME/.docker

Google

Authentication

If you wish to connect using Google, you will need to create a new project on Google Cloud Console. Set your app name and user support email in the OAuth Consent Screen. Once you have you credentials and set the right urls, you will need to add a socialaccountprovider in Django's admin:

  • Connect to backend container:
docker exec -it backend bash
  • Create a django superuser account:
python manage.py createsuperuser

Image-To-Text

  • To be able to detect text from images, you will need to activate the Google Cloud Vision API.
  • Add your service-account-file.json in backend/.

neotexto's People

Contributors

thomassimmer 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.