{"id":19381182,"url":"https://github.com/j2kun/flask-sockets-example","last_synced_at":"2025-04-23T20:31:52.085Z","repository":{"id":51967263,"uuid":"70352914","full_name":"j2kun/flask-sockets-example","owner":"j2kun","description":"A simple example app using flask, rethinkdb, and socket.io","archived":false,"fork":false,"pushed_at":"2023-07-04T02:04:01.000Z","size":142,"stargazers_count":8,"open_issues_count":6,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T19:46:52.852Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/j2kun.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":"2016-10-08T19:28:38.000Z","updated_at":"2024-04-05T12:10:00.000Z","dependencies_parsed_at":"2023-02-17T13:30:26.399Z","dependency_job_id":null,"html_url":"https://github.com/j2kun/flask-sockets-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/j2kun%2Fflask-sockets-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j2kun%2Fflask-sockets-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j2kun%2Fflask-sockets-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j2kun%2Fflask-sockets-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/j2kun","download_url":"https://codeload.github.com/j2kun/flask-sockets-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250509688,"owners_count":21442478,"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-10T09:16:13.864Z","updated_at":"2025-04-23T20:31:51.757Z","avatar_url":"https://github.com/j2kun.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Socket example\n\nA demo app to learn to use flask with socket.io for real time updates\n\n# Complete stack \n\n* [Flask](http://flask.pocoo.org) using [flask-socketio](https://flask-socketio.readthedocs.io/en/latest/)\n* [WebSockets](http://socket.io/)\n* [RethinkDB](http://www.rethinkdb.com) (ignore for now, haven't picked a database)\n\n# Installation \n\n```\ngit clone git://github.com/j2kun/flask-sockets-example.git\ncd rethink-example\nvirtualenv venv\nsource venv/bin/activate\npip install -r requirements.txt\n```\n\n# Project structure\n\n```\n.\n├── README.md\n├── app.py                 \u003c--- main flask program\n├── init_db.py\n├── requirements.txt\n├── static                 \u003c--- third party javascript plugins\n│   ├── jquery.js\n│   └── socket.io.min.js\n└── templates              \u003c--- html pages that get rendered by Flask\n    ├── blah.html\n    └── index.html\n```\n\n# Running the application \n\nRun the flask servery with\n\n```\npython app.py\n```\n\nThen open a browser to \u003chttp://127.0.0.1:5000/blah/\u003e to see the simple html page, \nand open \u003chttp://127.0.0.1:5000/\u003e in multiple windows to see the chat app.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj2kun%2Fflask-sockets-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fj2kun%2Fflask-sockets-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj2kun%2Fflask-sockets-example/lists"}