{"id":15083963,"url":"https://github.com/ru-dr/socket-deno","last_synced_at":"2026-02-18T03:32:14.276Z","repository":{"id":254816177,"uuid":"847572602","full_name":"ru-dr/socket-deno","owner":"ru-dr","description":"This is a simple WebSocket chat application template built with Deno 🦕 and the Oak 🐿️. It provides a starting point for developing real-time chat applications using WebSockets.","archived":false,"fork":false,"pushed_at":"2024-08-29T04:25:09.000Z","size":39,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-24T10:29:22.858Z","etag":null,"topics":["deno","denoland","js","onrender-deploy","websocket"],"latest_commit_sha":null,"homepage":"https://socket-deno.onrender.com/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ru-dr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-08-26T06:01:51.000Z","updated_at":"2024-09-26T06:15:18.000Z","dependencies_parsed_at":"2024-09-25T07:10:29.948Z","dependency_job_id":null,"html_url":"https://github.com/ru-dr/socket-deno","commit_stats":{"total_commits":30,"total_committers":2,"mean_commits":15.0,"dds":"0.23333333333333328","last_synced_commit":"71d92b05335a20d865fc3c4f862ec9fbcc79d363"},"previous_names":["ru-dr/socket-deno"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ru-dr/socket-deno","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ru-dr%2Fsocket-deno","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ru-dr%2Fsocket-deno/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ru-dr%2Fsocket-deno/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ru-dr%2Fsocket-deno/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ru-dr","download_url":"https://codeload.github.com/ru-dr/socket-deno/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ru-dr%2Fsocket-deno/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29567373,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T00:47:08.760Z","status":"online","status_checked_at":"2026-02-18T02:00:09.468Z","response_time":162,"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":["deno","denoland","js","onrender-deploy","websocket"],"created_at":"2024-09-25T07:00:25.927Z","updated_at":"2026-02-18T03:32:09.266Z","avatar_url":"https://github.com/ru-dr.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Socket Deno 🔌🦕\n\n## Overview 📚\n\nThis is a simple WebSocket chat application template built with Deno 🦕 and the Oak 🐿️. It provides a starting point for developing real-time chat applications using WebSockets.\n\n## Previews 🙈\n\n### Home Page 🏠\n\n![Home page](https://cdn.discordapp.com/attachments/1277870023561707643/1277870170429198346/image.png?ex=66cebcd6\u0026is=66cd6b56\u0026hm=17e2d7618a052faf4757bee4d9d7177081db735049237d863ceb7bfbdfbaba7c\u0026)\n\n### Chat Page 🗣️\n\n![Chat Page](https://cdn.discordapp.com/attachments/1277870023561707643/1277870075159773194/image.png?ex=66cebcbf\u0026is=66cd6b3f\u0026hm=175acf5a956fcb06f5f5e97f881c2154cc18896c3c3ea2cb50d6b43834aec03a\u0026)\n\n## Features ✨\n\n- **Real-time messaging** using WebSockets 📡\n- **Displays online users** in each room 👥\n- Powered by **Deno** and the **Oak** web framework 🚀\n\n## Getting Started 🚀\n\n### Setup on Render 🛠️\n\n**Deno**: The project uses Deno as the runtime. It's automatically installed during the build process.\n\n- **Environment Variable**:\n\n  - `DENO_INSTALL` should be set to `/opt/render/project/.deno`.\n\n- **Build Command**:  \n  This command installs Deno on the Render platform:\n\n  ```sh\n  curl -fsSL https://deno.land/install.sh | sh\n  ```\n\n- **Start Command**:  \n  This command sets up the environment and starts the application:\n\n  ```sh\n  export PATH=\"$DENO_INSTALL/bin:$PATH\" \u0026\u0026 deno run --allow-net --allow-read server.js\n  ```\n\n### Local Development 💻\n\nIf you want to run the application locally, follow these steps:\n\n1. **Install [Deno](https://deno.land/) on your machine** 🦕.\n\n2. **Clone the repository**:\n\n   ```sh\n   git clone https://github.com/ru-dr/socket-deno.git\n   ```\n\n3. **Navigate to the project directory**:\n\n   ```sh\n   cd socket-deno-template\n   ```\n\n4. **Start the development server**:\n\n   ```sh\n   deno run --allow-net --allow-read server.js\n   ```\n\n### Usage 📡\n\nOnce the application is running, you can connect to the WebSocket server using a client (e.g., a web browser or a WebSocket client tool). The application supports basic real-time messaging.\n\n### Deployment 🚀\n\nTo deploy the application on Render:\n\n1. **Push your code to a GitHub repository** 🗂️.\n2. **Connect the repository to your Render account** 🔗.\n3. **Configure the environment variable and commands** as described above 🛠️.\n4. **Deploy your service** 🚀.\n\nTo deploy the application on Deno Deploy:\n\n1. **Push your code to a GitHub repository** 🗂️.\n2. **Connect the repository to your Deno Deploy account** 🔗.\n3. **Select the framework as None**.\n4. **Do not change any other configurations**.\n5. **Select the root file as server.js and click deploy 🚀**.\n\n### Demo 🌐\n\n- [OnRender Version](https://socket-deno.onrender.com/) - Check out the live application in action\n- [Deno Deploy Version](https://socket-d3no.deno.dev/) - See the app running on Deno Deploy\n\n### Contributing 🤝\n\nFeel free to submit issues or pull requests if you find any bugs or have suggestions for improvements.\n\n### License 📄\n\nThis project is licensed under the MIT License. See the [LICENSE](./LICENSE) file for more details.\n\n---\n\nHappy coding with Deno! 🦕🔌\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fru-dr%2Fsocket-deno","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fru-dr%2Fsocket-deno","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fru-dr%2Fsocket-deno/lists"}