Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/squishy123/easyread
Easier Reading
https://github.com/squishy123/easyread
Last synced: 13 days ago
JSON representation
Easier Reading
- Host: GitHub
- URL: https://github.com/squishy123/easyread
- Owner: Squishy123
- License: mit
- Created: 2019-05-16T00:46:53.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-06-26T14:37:54.000Z (over 5 years ago)
- Last Synced: 2024-11-02T14:51:50.671Z (2 months ago)
- Language: JavaScript
- Homepage: https://squishy123.github.io/easyread/
- Size: 5.34 MB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
EasyRead - Docs## Deployment
### Simply run the deploy command and build to gh-pages:
`yarn deploy`
### Further configuration in .env.production and path-prefixing in gatsby-config.js## Local - Testing
### In order for mobile devices to make use of userMedia, the web-app has to be hosted on SSL. Use the following to generate a SSL cert and host a local SSL preview:### 1. Build the static SPA with gatsby:
`yarn build`
### 2. Generate the SSL cert inside the /public dir:
`openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout key.pem -out cert.pem`
### 3. Host on http-server:
#### Installation of http-server:
`npm install -g http-server`
#### Hosting with 1-command inside /public:
`http-server -S -C cert.pem -o`## Localstorage Usage
captures: [
{
date,
recognitionResult,
cachedText,
renderImage
originalDimensions: {
width,
height
}
}
]