Giter Site home page Giter Site logo

andy-ta / booklens Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 0.0 4.14 MB

The new gen LeapFrog: An interactive learning tool designed for reading texts aloud and translation.

Home Page: https://devpost.com/software/booklens

CSS 1.66% HTML 3.05% JavaScript 93.72% Dockerfile 1.57%

booklens's Introduction

DEPLOY

docker build -t andyta/booklens .
docker run -p 80:80 -d andyta/booklens
docker tag andyta/booklens us.gcr.io/booklens-266214/booklens
docker push us.gcr.io/booklens-266214/booklens

RUN echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" | sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list RUN echo 'Y' | sudo apt-get install apt-transport-https ca-certificates gnupg RUN curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key --keyring /usr/share/keyrings/cloud.google.gpg add - RUN sudo apt-get update && echo 'Y' | sudo apt-get install google-cloud-sdk RUN echo 'Y' | sudo apt-get install google-cloud-sdk-app-engine-java

API

POST
create page obj, and return a page obj
  1. /api/pages
body:
{
    image: <ImageFile>
}
GET
get page obj
  1. /api/pages/:id
get page/sentence/word translation, lang = lang code ex. en-us
  1. /api/translate/:type/:id?target=${lang}
get images of a word
  1. /api/words/:word/images
get image of a page
  1. /api/pages/:id/image
get page
  1. /api/pages/:id

booklens's People

Contributors

andy-ta avatar kevin93d avatar calebmech avatar rosaphung avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar Ethan Elliott avatar

Watchers

Ethan Elliott avatar  avatar  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.