{"id":18513825,"url":"https://github.com/timjjting/sveltethree","last_synced_at":"2025-05-14T12:35:19.366Z","repository":{"id":257951845,"uuid":"420456127","full_name":"TimJJTing/sveltethree","owner":"TimJJTing","description":"experimental personal project","archived":false,"fork":false,"pushed_at":"2021-10-23T16:03:46.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-17T03:34:36.447Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/TimJJTing.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":"2021-10-23T15:53:06.000Z","updated_at":"2021-10-23T16:03:49.000Z","dependencies_parsed_at":"2024-10-17T04:40:08.561Z","dependency_job_id":null,"html_url":"https://github.com/TimJJTing/sveltethree","commit_stats":null,"previous_names":["timjjting/sveltethree"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimJJTing%2Fsveltethree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimJJTing%2Fsveltethree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimJJTing%2Fsveltethree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimJJTing%2Fsveltethree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TimJJTing","download_url":"https://codeload.github.com/TimJJTing/sveltethree/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254142705,"owners_count":22021584,"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":[],"created_at":"2024-11-06T15:40:50.314Z","updated_at":"2025-05-14T12:35:19.304Z","avatar_url":"https://github.com/TimJJTing.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Svelte Three Tryout\n\nThis is a project build on the top of the template for [Svelte](https://svelte.dev) apps and threejs. TBH I do not know what this project is actually for and where it will bring me to, but I think svelte is a sexy compiler to learn and together with threejs I can have a lot of fun.\n\n## Get started\n\nInstall the dependencies...\n\n```bash\ncd sveltethree\nnpm install\n```\n\n...then start [Rollup](https://rollupjs.org):\n\n```bash\nnpm run dev\n```\n\nNavigate to [localhost:5000](http://localhost:5000). You should see your app running. Edit a component file in `src`, save it, and reload the page to see your changes.\n\nBy default, the server will only respond to requests from localhost. To allow connections from other computers, edit the `sirv` commands in package.json to include the option `--host 0.0.0.0`.\n\nIf you're using [Visual Studio Code](https://code.visualstudio.com/) we recommend installing the official extension [Svelte for VS Code](https://marketplace.visualstudio.com/items?itemName=svelte.svelte-vscode). If you are using other editors you may need to install a plugin in order to get syntax highlighting and intellisense.\n\n## Building and running in production mode\n\nTo create an optimised version of the app:\n\n```bash\nnpm run build\n```\n\nYou can run the newly built app with `npm run start`. This uses [sirv](https://github.com/lukeed/sirv), which is included in your package.json's `dependencies` so that the app will work when you deploy to platforms like [Heroku](https://heroku.com).\n\n## Single-page app mode\n\nBy default, sirv will only respond to requests that match files in `public`. This is to maximise compatibility with static fileservers, allowing you to deploy your app anywhere.\n\nIf you're building a single-page app (SPA) with multiple routes, sirv needs to be able to respond to requests for *any* path. You can make it so by editing the `\"start\"` command in package.json:\n\n```js\n\"start\": \"sirv public --single\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimjjting%2Fsveltethree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimjjting%2Fsveltethree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimjjting%2Fsveltethree/lists"}