{"id":20863354,"url":"https://github.com/howardabrams/demo42","last_synced_at":"2026-04-24T17:02:25.692Z","repository":{"id":2844358,"uuid":"3848018","full_name":"howardabrams/demo42","owner":"howardabrams","description":"Displays three values _graphically_ from a Redis database on a web client.","archived":false,"fork":false,"pushed_at":"2012-03-28T00:12:49.000Z","size":104,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-14T18:51:03.161Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/howardabrams.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-03-27T20:09:08.000Z","updated_at":"2013-10-06T09:56:31.000Z","dependencies_parsed_at":"2022-09-11T19:51:27.350Z","dependency_job_id":null,"html_url":"https://github.com/howardabrams/demo42","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/howardabrams%2Fdemo42","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/howardabrams%2Fdemo42/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/howardabrams%2Fdemo42/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/howardabrams%2Fdemo42/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/howardabrams","download_url":"https://codeload.github.com/howardabrams/demo42/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243236516,"owners_count":20258849,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-18T05:28:42.210Z","updated_at":"2026-04-24T17:02:20.672Z","avatar_url":"https://github.com/howardabrams.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Displays three values _graphically_ from a Redis database on a web client.\n\nWe display the values using Google's [Gauges][3] widget, and refresh this\ninformation every couple of seconds. The idea is that you would have a browser\nviewing the output results, and then use a second browser to submit REST\nrequests to change the data.\n\n\nInstalling\n----------\n\nMake sure you have the following engines installed locally:\n\n  * [Node][1]\n  * [NPM][4] ... Node.js' package manager\n  * [Redis][2]\n\nNext, download the code and run the following to download the dependencies:\n\n    npm install\n\nRunning\n-------\n\nStart up the Redis database, like:\n\n    redis-server /opt/local/etc/redis.conf\n\nStart up the server, via:\n\n    node app.js\n\nFinally, open up a browser and view the results:\n\n    http://localhost:3000/\n    \nUsing\n-----\n\nYou can change the values in the database, by issuing the following REST calls:\n\n * `GET /producers/#` - where `#` is the absolute number of producers\n * `GET /consumers/#` - where `#` is the absolute number of consumers\n * `GET /messages/#` - where `#` is the absolute number of messages\n * `POST /levels` - where the body contains all three values, e.g.\n \n    { \"producers\":6,\n      \"consumers\":5,\n      \"messages\":77\n    }\n\n  [1]: http://nodejs.org/\n  [2]: http://redis.io/\n  [3]: http://code.google.com/apis/chart/interactive/docs/gallery/gauge.html\n  [4]: http://npmjs.org/","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhowardabrams%2Fdemo42","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhowardabrams%2Fdemo42","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhowardabrams%2Fdemo42/lists"}