RANDOM WORDS

Web

words-captureI was asked to do this project by a writer to help him get through the writer’s block. It’s very simple, it just renders some random word from a dictionary and change it every 6 seconds (he explicitly asked for that amount of seconds).

It was originally written in the web2py framework; a jQuery function makes a request to a json webservice which makes a query to a SQLite database and gets one random word. The current version was re-written with just html and javascript, the whole server-side code was removed and the SQLite database was dumped into a json file. Both versions are tagged in the repository.

In the future I’ll add some options to change the font, font-size, refresh rate and maybe some other languages.

Languages:

  • Python
  • HTML
  • JavaScript
Tools:

  • Web2py
  • jQuery