https://github.com/orsenthil/fortune
Browser Extension that gives a random new quote.
https://github.com/orsenthil/fortune
browser-extension chrome chrome-extension firefox firefox-extension
Last synced: 11 months ago
JSON representation
Browser Extension that gives a random new quote.
- Host: GitHub
- URL: https://github.com/orsenthil/fortune
- Owner: orsenthil
- License: mpl-2.0
- Created: 2016-05-07T18:50:22.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2025-06-11T19:06:05.000Z (about 1 year ago)
- Last Synced: 2025-07-06T05:42:15.666Z (12 months ago)
- Topics: browser-extension, chrome, chrome-extension, firefox, firefox-extension
- Language: JavaScript
- Homepage:
- Size: 366 KB
- Stars: 2
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fortune
A minimalist browser extension that displays a new quote in the browser tab.
_"And this is aviation; I give it to the world."_ - _Louis Mouillard, French Inventor/Aeronaut (1834-1897)_
_"We were on the point of abandoning our work when the book of Mouillard fell into our hands, and we continued with the results you know."_ - _Wilbur Wright, American Inventor/Aviator (1867-1921)_
----
This extension is named after popular Unix Program [fortune](https://en.wikipedia.org/wiki/Fortune_(Unix)), a command line utility which displays quotes in the shell. The browser with tabs is a modern shell interface of the computer. And this is the fortune program for the browser.
## Technical Details
I developed this with Python hosted on Google App Engine, and the client side written using Javascript as a browser addon. In the backend there is a database where I keep the quote and author in a table. There is API call that returns the quote and the author in the JSON format. To call the API visit http://quotes-1271.appspot.com/json . This is an unauthenticated API as it read-only GET call, and cannot change the state of the system.
The client side is entirely handled by Javascript, and it displays the quote using simple [DOM](https://en.wikipedia.org/wiki/Document_Object_Model) manipulation.
## Get the extension directly from the webstore.
[](https://chromewebstore.google.com/detail/fortune/kmcoofcbagjmlfbkoopfohngcnfnaakb)
[](https://addons.mozilla.org/en-US/firefox/addon/fortune-browser-extension/)
# Screenshot

# Video Demo
[](http://www.youtube.com/watch?v=3S8b3eROxUY "Demo")