{"id":25903907,"url":"https://github.com/gotpop/deno-web-components","last_synced_at":"2025-03-03T04:16:15.734Z","repository":{"id":279950960,"uuid":"940145369","full_name":"gotpop/deno-web-components","owner":"gotpop","description":"# Deno Component Server 🦕  🧩 Modern server-side components with Deno 2.2  🔮 Experimental web platform features  🚫 No React/frameworks - pure vanilla JS 🌐 Nunjucks templates for server rendering ","archived":false,"fork":false,"pushed_at":"2025-03-02T15:25:11.000Z","size":56,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-02T16:29:07.724Z","etag":null,"topics":["css","deno","html","javascript","nobuild","nunjucks","nunjucks-templates","webcomponents"],"latest_commit_sha":null,"homepage":"https://gotpop-deno-server-22.deno.dev","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/gotpop.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":"2025-02-27T17:28:43.000Z","updated_at":"2025-03-02T15:25:15.000Z","dependencies_parsed_at":"2025-03-02T16:29:19.173Z","dependency_job_id":null,"html_url":"https://github.com/gotpop/deno-web-components","commit_stats":null,"previous_names":["gotpop/deno-server","gotpop/deno-web-components"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gotpop%2Fdeno-web-components","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gotpop%2Fdeno-web-components/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gotpop%2Fdeno-web-components/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gotpop%2Fdeno-web-components/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gotpop","download_url":"https://codeload.github.com/gotpop/deno-web-components/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241605820,"owners_count":19989612,"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":["css","deno","html","javascript","nobuild","nunjucks","nunjucks-templates","webcomponents"],"created_at":"2025-03-03T04:16:15.128Z","updated_at":"2025-03-03T04:16:15.728Z","avatar_url":"https://github.com/gotpop.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deno Baseline Server\n\nA modern Deno server implementation with hot reloading capabilities and strict\nTypeScript configuration.\n\n## Architecture\n\n```mermaid\ngraph TD\n    A[Browser] --\u003e|HTTP Request| B[Deno Server]\n    B --\u003e|Static Files| C[Public Directory]\n    B --\u003e|Hot Reload| A\n    C --\u003e|main.js| D[JavaScript]\n    C --\u003e|main.css| E[Styles]\n```\n\n## Project Structure\n\n```mermaid\ngraph TD\n    A[deno-server] --\u003e|Contains| B[src]\n    A --\u003e|Config| C[deno.json]\n    B --\u003e|Entry| D[server.ts]\n    B --\u003e|Static| E[public]\n    E --\u003e|Scripts| F[main.js]\n    E --\u003e|Styles| G[main.css]\n```\n\n## Features\n\n- Hot module reloading\n- Static file serving\n- TypeScript support\n- Strict type checking\n- Development mode with watch\n- Formatting and linting built-in\n\n## Configuration\n\nThe project uses `deno.json` for configuration with the following features:\n\n```json\n{\n  \"compilerOptions\": {\n    \"lib\": [\"deno.window\"],\n    \"strict\": true\n  }\n}\n```\n\n## Available Scripts\n\n- `deno task dev` - Run in development mode with hot reloading\n- `deno task start` - Run in production mode\n- `deno task test` - Run tests\n- `deno task lint` - Lint code\n- `deno task fmt` - Format code\n\n## Getting Started\n\n1. Install Deno:\n   ```bash\n   curl -fsSL https://deno.land/x/install/install.sh | sh\n   ```\n\n2. Run the development server:\n   ```bash\n   deno task dev\n   ```\n\n3. Access the server at `http://localhost:8000`\n\n## Development Flow\n\n```mermaid\nsequenceDiagram\n    participant Browser\n    participant Server\n    participant FileSystem\n    \n    Browser-\u003e\u003eServer: Request page\n    Server-\u003e\u003eFileSystem: Read static files\n    FileSystem-\u003e\u003eServer: Return file contents\n    Server-\u003e\u003eBrowser: Serve HTML/JS/CSS\n    \n    loop Hot Reload\n        FileSystem-\u003e\u003eServer: File change detected\n        Server-\u003e\u003eBrowser: Push update\n        Browser-\u003e\u003eBrowser: Update content\n    end\n```\n\n## Requirements\n\n- Deno 2.2 or higher\n- Modern browser (for development)\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgotpop%2Fdeno-web-components","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgotpop%2Fdeno-web-components","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgotpop%2Fdeno-web-components/lists"}