{"id":18251778,"url":"https://github.com/hiroakis/tornado-websocket-example","last_synced_at":"2025-04-08T20:46:51.672Z","repository":{"id":7486260,"uuid":"8834954","full_name":"hiroakis/tornado-websocket-example","owner":"hiroakis","description":null,"archived":false,"fork":false,"pushed_at":"2020-10-01T19:40:27.000Z","size":42,"stargazers_count":234,"open_issues_count":5,"forks_count":106,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-02-14T16:39:43.891Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/hiroakis.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":"2013-03-17T13:45:11.000Z","updated_at":"2024-12-17T09:31:42.000Z","dependencies_parsed_at":"2022-09-01T16:51:33.790Z","dependency_job_id":null,"html_url":"https://github.com/hiroakis/tornado-websocket-example","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/hiroakis%2Ftornado-websocket-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroakis%2Ftornado-websocket-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroakis%2Ftornado-websocket-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroakis%2Ftornado-websocket-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hiroakis","download_url":"https://codeload.github.com/hiroakis/tornado-websocket-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247927089,"owners_count":21019504,"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-05T09:48:28.456Z","updated_at":"2025-04-08T20:46:51.653Z","avatar_url":"https://github.com/hiroakis.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tornado WebSocket example\n\nThis is a websocket example written in python.\n\n## Installation\n\n1. `git clone https://github.com/hiroakis/tornado-websocket-example.git`\n\n2. `cd tornado-websocket-example`\n\n3. `pip install -r requirements.txt`\n\n4. `python app.py`\n\n5. http://localhost:8888/\n(This is my demo page -\u003e http://hiroakis.com:8888/)\n\n6. Send a REST call:\n\n## Docker\n\nYou can create demo server using docker.\n\n* build\n\n```\ndocker build -t hiroakis/tornade-websocket-example .\ndocker run -d -p 8888:8888 hiroakis/tornade-websocket-example\n```\n\nor\n\n* pull from docker hub\n\n```\ndocker pull hiroakis/tornado-websocket-example\ndocker run -d -p 8888:8888 hiroakis/tornado-websocket-example\n```\n\n## REST API examples\n\nSet the \"id 1\" value to 100 :\n- `curl \"http://hiroakis.com:8888/api?id=1\u0026value=100\"`\n\nSet the \"id 1\" value to 300( The row No 1 will change to yellow ) :\n- `curl \"http://hiroakis.com:8888/api?id=1\u0026value=300\"`\n\nSet The \"id 1\" value to 600( The row No 1 will change to red ):\n- `curl \"http://hiroakis.com:8888/api?id=1\u0026value=600\"`\n\n- value 201 - 500 : change to yellow\n- value 501 - : change to red\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiroakis%2Ftornado-websocket-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhiroakis%2Ftornado-websocket-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiroakis%2Ftornado-websocket-example/lists"}