{"id":22051814,"url":"https://github.com/3jackdaws/django-ws-starter","last_synced_at":"2026-04-16T04:01:57.778Z","repository":{"id":114061752,"uuid":"112769795","full_name":"3jackdaws/django-ws-starter","owner":"3jackdaws","description":"Django/channels boilerplate web app code","archived":false,"fork":false,"pushed_at":"2017-12-01T18:51:58.000Z","size":40,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T15:35:04.915Z","etag":null,"topics":["boilerplate","django","django-channels","docker","docker-compose","websockets"],"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/3jackdaws.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-01T17:49:48.000Z","updated_at":"2021-12-12T16:48:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"f1e6d5d9-9a73-49de-83d1-f7c1a3d607bb","html_url":"https://github.com/3jackdaws/django-ws-starter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/3jackdaws/django-ws-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3jackdaws%2Fdjango-ws-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3jackdaws%2Fdjango-ws-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3jackdaws%2Fdjango-ws-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3jackdaws%2Fdjango-ws-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/3jackdaws","download_url":"https://codeload.github.com/3jackdaws/django-ws-starter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3jackdaws%2Fdjango-ws-starter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31870516,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"online","status_checked_at":"2026-04-16T02:00:06.042Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["boilerplate","django","django-channels","docker","docker-compose","websockets"],"created_at":"2024-11-30T15:11:15.806Z","updated_at":"2026-04-16T04:01:57.746Z","avatar_url":"https://github.com/3jackdaws.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Django Web App Starter\n\n## Features\n* Fully featured web application boilerplate\n* Is Django\n* Supports WebSockets\n* Automatic code reloading on changes (for development)\n* Supports Docker\n\n\n## How to Use\nMake sure you have [Docker](http://docker.com) and [Docker Compose](https://docs.docker.com/compose/install/).\n\n1. Run `docker-compose up`\n\nThats's it.  Docker will build the containers and bring up the services.  The web app will be available at `http://localhost`.\n\nAs of right now, if the startup script detects changes in a python file (*.py), then it will reload the Channels workers.\nThis means that you wont have to kill and restart the docker containers to see changes during development.\nI do plan to add an environment variable that will disable the reload feature.\n\nMake sure you visit both the [Django Documentation](https://docs.djangoproject.com/en/1.11/) and the [Channels Documentation](https://channels.readthedocs.io/en/latest/).\n\n### Without Docker\nIf you *really* don't want to install Docker, you can manually setup your all your own component services by running all the commands in the Dockerfile.\n\n### Adding Pages\nThis is based on Django.  To add new pages/content, add a HTTP view in `app/http/views/`, add a template in `templates/app/` and link the two.\nLook in `app/views/common.py` for the index view, that should give you a general idea of how to add content.\n\nWebsocket code can be added to `app/ws/consumers.py`.  View app.ws.consumers.EchoWSConsumer for example code.\nWebsocket \"Views\" must be routed in a similar way to HTTP views.  The WS routing file is app/ws/routing.py.\n\n\n## Architecture\n\n![Application Architecture](/static/img/django-channels.png?raw=true)\n\n\\* *Workers can handle both HTTP and WS tasks at the same time*\n\n\n\n\n\n\n# Contributing\nSure, just fork and submit a pull request and a reason for changes.\n\n# License\nCopyright 2017, Ian Murphy\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F3jackdaws%2Fdjango-ws-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F3jackdaws%2Fdjango-ws-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F3jackdaws%2Fdjango-ws-starter/lists"}