Comments (3)
I thought about it. But, I wanted a completely offline app. That's why I went this way
from motivate.
Yeah I understand.
In the meanwhile I came up with a simple approach #130.
You can use it for data collection anyway ;)
Cheers.
from motivate.
I've added the JSON files from mubaris/motivate to a small hobby project website I've setup, based around JSON-formatted quotes.
https://your-fortune.github.io/motivate
If you inspect source, you can see that I'm sourcing the JSON files straight from github's raw content server, loading one JSON file randomly and selecting a random item from the list. The hash on the URL is updated with the file number and index so you can actually inspect various quotes.
Note this isn't an API per-se, but just a Javascript based implementation that loads a random quote on page refresh (or clicking the button in the bottom right).
I'm curating various other kinds of quotes on the site, mostly aggregated from various fortune
collections.
from motivate.
Related Issues (20)
- Wrong JSON
- Can not install - "data is not a directory" HOT 1
- Error in file 161.json
- Can't update database HOT 2
- Color of quote should be blue and author detail red. HOT 3
- Script to remove duplicate quotes HOT 15
- Cannot install - "This script must be with sudo" HOT 2
- This repo is active? HOT 1
- Add support for Windows HOT 3
- "can't find the data folder. You probably haven't run 'install.sh' " when typing ' moti ' in the command terminal HOT 1
- Convert to Python Package
- Fix README HOT 2
- missing scripts HOT 1
- Add support for Fish and other shells HOT 4
- Unable to push to remote branch HOT 1
- Can't do git push origin master HOT 1
- Project Status
- ANSI colour codes don't work in (newer) Windows 10 command line HOT 3
- Encountered an JSON error on repeated running of the code HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from motivate.