{"id":13722593,"url":"https://github.com/chuanqisun/svelte-electron-template","last_synced_at":"2025-10-25T00:30:41.138Z","repository":{"id":37215058,"uuid":"193262524","full_name":"chuanqisun/svelte-electron-template","owner":"chuanqisun","description":"The bare minimum boilerplate to use svelte in electron","archived":false,"fork":false,"pushed_at":"2022-12-09T07:21:28.000Z","size":251,"stargazers_count":12,"open_issues_count":10,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-31T04:31:56.928Z","etag":null,"topics":["boilerplate","electron","svelte","svelte3","template"],"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/chuanqisun.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}},"created_at":"2019-06-22T17:42:10.000Z","updated_at":"2023-01-27T22:55:45.000Z","dependencies_parsed_at":"2023-01-25T19:30:13.326Z","dependency_job_id":null,"html_url":"https://github.com/chuanqisun/svelte-electron-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chuanqisun%2Fsvelte-electron-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chuanqisun%2Fsvelte-electron-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chuanqisun%2Fsvelte-electron-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chuanqisun%2Fsvelte-electron-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chuanqisun","download_url":"https://codeload.github.com/chuanqisun/svelte-electron-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238046843,"owners_count":19407624,"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":["boilerplate","electron","svelte","svelte3","template"],"created_at":"2024-08-03T01:01:30.601Z","updated_at":"2025-10-25T00:30:40.752Z","avatar_url":"https://github.com/chuanqisun.png","language":"JavaScript","funding_links":[],"categories":["templates"],"sub_categories":["electron templates"],"readme":"# Svelte Electron Template\n\nThe bare minimum boilerplate to use svelte in electron\n\n![screenshot](screenshot.png)\n\n## Quick start\n\n`npm start` to build, bundle, and watch the svelte app, then load it as renderer thread in an electon app.\n\n## Import modules for **browser**\n\nUse ES6 `import`. The modules will be bundled.\n\n```javascript\n// you can import from relative path\nimport MyComponent from './MyComponent.svelte';\nimport { myUtilFunc } from './MyUtilFunc';\n\n// or from node modules\nimport { writable } from 'svelte/store';\n```\n\n## Import modules for **node**\n\nUse CommonJS `require()`. The modules will NOT be bundled. The import will be resolved at runtime.\n\n```javascript\nconst app = require('electron').remote.app;\nconst path = require('path');\nconst fs = require('fs');\n\n// DON'T do this. It will NOT be bundled!\nconst { writable } = require('svelte/store');\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchuanqisun%2Fsvelte-electron-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchuanqisun%2Fsvelte-electron-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchuanqisun%2Fsvelte-electron-template/lists"}