{"id":24482548,"url":"https://github.com/twilkinson3421/neuf","last_synced_at":"2025-06-23T19:04:35.898Z","repository":{"id":263505395,"uuid":"890487653","full_name":"twilkinson3421/neuf","owner":"twilkinson3421","description":"A minimal SSR \"framework\" for building web applications using Deno. Uses JSX for defining pages, layouts, and components. Includes a file-based router similar to Next.js.","archived":false,"fork":false,"pushed_at":"2024-12-03T16:07:35.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-03T20:15:45.768Z","etag":null,"topics":["framework","full-stack","javascript","server","ssr","typescript"],"latest_commit_sha":null,"homepage":"https://jsr.io/@neuf/neuf","language":"TypeScript","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/twilkinson3421.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,"zenodo":null}},"created_at":"2024-11-18T16:47:31.000Z","updated_at":"2024-12-03T16:10:24.000Z","dependencies_parsed_at":"2025-06-03T10:33:26.798Z","dependency_job_id":"ca6a2a9b-ceea-43c2-84c7-416f7545ee8b","html_url":"https://github.com/twilkinson3421/neuf","commit_stats":null,"previous_names":["twilkinson3421/neuf"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/twilkinson3421/neuf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twilkinson3421%2Fneuf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twilkinson3421%2Fneuf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twilkinson3421%2Fneuf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twilkinson3421%2Fneuf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/twilkinson3421","download_url":"https://codeload.github.com/twilkinson3421/neuf/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twilkinson3421%2Fneuf/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261539319,"owners_count":23174135,"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":["framework","full-stack","javascript","server","ssr","typescript"],"created_at":"2025-01-21T12:14:17.882Z","updated_at":"2025-06-23T19:04:35.887Z","avatar_url":"https://github.com/twilkinson3421.png","language":"TypeScript","readme":"# @neuf/neuf\n\nA simple barebones SSR web framework for Deno. Uses preact JSX for templating. Support for file-based routing, dynamic routes, catch-all routes, and route-groups. Build pages using JSX components, pages, layouts, 'documents', and 'route-handlers'.\n\n## Basic Usage\n\n```ts\nimport { listen, serve, router, type ServeOptions } from \"@neuf/neuf\";\nimport { relative, join } from \"@std/join\";\nimport { render } from \"preact-render-to-string\";\n\nconst importFn: ServeOptions[\"importFn\"] = async path =\u003e {\n    const thisModuleDir = import.meta.dirname!;\n    const toCwd = relative(thisModuleDir, Deno.cwd());\n    const fullPath = join(toCwd, path);\n    return await import(fullPath);\n};\n\nlisten({\n    hostname: \"0.0.0.0\",\n    port: 8080,\n    handler: (req, res, isError) =\u003e {\n        return serve(req, res, {\n            isError,\n            isNotFound: false,\n            staticOptions: { fsRoot: \"src/public\", quiet: true },\n            importFn,\n            router,\n            renderJSX: render,\n        });\n    },\n});\n```\n\n## Planned Features\n\n- First-party i18n solution\n- Middleware support\n- More informative logging\n\n## License\n\n[MIT](LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwilkinson3421%2Fneuf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftwilkinson3421%2Fneuf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwilkinson3421%2Fneuf/lists"}