Dictionary app that can work without JavaScript or internet
MIT License
Dictionary app that can work without JavaScript or internet.
pouchdb
express
virtual-dom
levelup
pouch
) written in ES5Loading /dictionary
afresh (first load) transfers 114 kb (app itself, and
initialising the service worker cache).
Connection | DOMContentLoaded |
---|---|
GRPS | 10.22s |
Good 2G | 1.39s |
Good 3G | 447ms |
Regular 4G | 221ms |
Wifi | 145ms |
git clone
, then configure a .env
file with a
WORDSAPI_KEY
. Words API is free up to 2500 request per day,
which is more than enough for trying this out.
For example, .env
would looks as follows:
WORDSAPI_KEY=1234567890qwertyuiopasdfghjklzxcvbnm1234567890qwer
Then, run npm install
and npm build
to build everything.
Lastly, run npm start
to start the server on port 2000
.