{"id":16791961,"url":"https://github.com/metonym/nouveau","last_synced_at":"2026-01-19T23:02:27.825Z","repository":{"id":34804748,"uuid":"183837928","full_name":"metonym/nouveau","owner":"metonym","description":"Old school Static Site Generator using Svelte and PostHTML","archived":false,"fork":false,"pushed_at":"2023-03-04T15:41:05.000Z","size":569,"stargazers_count":2,"open_issues_count":27,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T10:19:36.450Z","etag":null,"topics":["posthtml","static-site-generator","svelte"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/metonym.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2019-04-28T01:19:27.000Z","updated_at":"2022-02-11T20:30:58.000Z","dependencies_parsed_at":"2024-10-28T12:17:30.172Z","dependency_job_id":"3ba91601-3423-43db-b0fd-0eff6e0e64f5","html_url":"https://github.com/metonym/nouveau","commit_stats":{"total_commits":20,"total_committers":2,"mean_commits":10.0,"dds":"0.15000000000000002","last_synced_commit":"30c9f87b145c9638fa286e1431855b69b0717a2f"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metonym%2Fnouveau","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metonym%2Fnouveau/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metonym%2Fnouveau/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metonym%2Fnouveau/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/metonym","download_url":"https://codeload.github.com/metonym/nouveau/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247755570,"owners_count":20990622,"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":["posthtml","static-site-generator","svelte"],"created_at":"2024-10-13T08:43:40.620Z","updated_at":"2026-01-19T23:02:27.816Z","avatar_url":"https://github.com/metonym.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nouveau\n\n[![NPM][npm]][npm-url]\n[![Build][build]][build-badge]\n\n\u003e Old school Static Site Generator using Svelte and PostHTML.\n\n`nouveau` enhances your static web pages with JavaScript by using Svelte. No JavaScript is generated if the Svelte markup is purely static (i.e. presentational).\n\nSee the example project:\n\n- **[example/src](example/src)**: Source files\n- **[example/public](example/public)**: Generated files with compiled Svelte code\n\n## Quick start\n\nGet started with a basic template:\n\n```bash\nnpx degit metonym/nouveau#template my-app\ncd my-app\nyarn install\n```\n\n## Install\n\n```bash\nyarn add -D nouveau\n```\n\n### 1) Folder structure\n\nCreate folders and `index.html` files in the `src` folder:\n\n```bash\nmkdir src\ntouch src/index.html\n```\n\nYour folder structure should look similar to this:\n\n```bash\n├── src\n│   ├── index.html\n│   └── [folder]/index.html\n├── package.json\n└── .gitignore\n```\n\n### 2) Content\n\nAdd the following to your `src/index.html`:\n\n```html\n\u003c!DOCTYPE html\u003e\n\u003chtml\u003e\n  \u003chead\u003e\n    \u003cmeta charset=\"utf-8\" /\u003e\n  \u003c/head\u003e\n  \u003cbody\u003e\n    \u003csvelte\u003e\n      \u003cscript\u003e\n        let count = 0;\n      \u003c/script\u003e\n\n      \u003cbutton on:click=\"{() =\u003e { count += 1; }}\"\u003e\n        Increment the count: {count}\n      \u003c/button\u003e\n    \u003c/svelte\u003e\n  \u003c/body\u003e\n\u003c/html\u003e\n```\n\n### 3) Scripts\n\nAdd the following scripts to your `package.json`:\n\n```json\n// package.json\n{\n  \"scripts\": {\n    \"start\": \"nouveau --dev\",\n    \"build\": \"nouveau\"\n  }\n}\n```\n\nRun the following command in development:\n\n```bash\nyarn start\n```\n\nFor production, use:\n\n```bash\nyarn build\n```\n\n## Customization\n\nCustomize the `entry` and `outDir` fields in your `package.json`:\n\n```diff\n\"nouveau\": {\n  \"entry\": \"src\",\n- \"outDir\": \"public\"\n+ \"outDir\": \"dist\"\n}\n```\n\n## License\n\n[MIT](LICENSE)\n\n[npm]: https://img.shields.io/npm/v/nouveau.svg?color=blue\n[npm-url]: https://npmjs.com/package/nouveau\n[build]: https://travis-ci.com/metonym/nouveau.svg?branch=master\n[build-badge]: https://travis-ci.com/metonym/nouveau\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetonym%2Fnouveau","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmetonym%2Fnouveau","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetonym%2Fnouveau/lists"}