{"id":20032346,"url":"https://github.com/weakish/fileup","last_synced_at":"2025-03-02T05:26:00.198Z","repository":{"id":146349678,"uuid":"354067954","full_name":"weakish/fileup","owner":"weakish","description":"A file uploader demo powered by LeanCloud and Svelte.","archived":false,"fork":false,"pushed_at":"2021-06-10T04:29:58.000Z","size":200,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-12T18:12:02.210Z","etag":null,"topics":["demo","leancloud","svelte","typescript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"0bsd","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/weakish.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-04-02T16:04:26.000Z","updated_at":"2022-09-06T14:07:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"d253323a-e4b6-4e56-8e51-c7d2b5292261","html_url":"https://github.com/weakish/fileup","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weakish%2Ffileup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weakish%2Ffileup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weakish%2Ffileup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weakish%2Ffileup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/weakish","download_url":"https://codeload.github.com/weakish/fileup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241463595,"owners_count":19967075,"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":["demo","leancloud","svelte","typescript"],"created_at":"2024-11-13T09:36:46.614Z","updated_at":"2025-03-02T05:26:00.179Z","avatar_url":"https://github.com/weakish.png","language":"JavaScript","readme":"# When Svelte Meets LeanCloud Files\n\nThis is a simple file uploader demo built with [LeanCloud], Svelte, and TypeScript.\n\n[LeanCloud]: https://leancloud.app\n\n## Quick Start\n\n### Configuration\n\nRegister an account and create an application at [LeanCloud], and fill in your application information in `src/App.svelte`:\n\n```js\nconst appId = \"your app id\";\nconst appKey = \"your app key\";\nconst serverURL = \"https://your-custom-domain.example.com\";\n```\n\nYou can obtain the required information from LeanCloud dashboard (`Settings \u003e AppKey`).\nThe domain name in `serverURL` is the first domain in `Settings \u003e AppKey \u003e Domain whitelist \u003e Request domain`.\n \n### Install Dependencies\n\n```sh\nnpm install\n```\n\n### Start a Local Server\n\n```sh\nnpm run dev\n```\n\n### Build for the Production Environment\n\n```sh\nnpm run build\n```\n\nThen upload the `public` directory to any web hosting service,\ne.g. [LeanEngine]:\n\n```sh\ncd public\nlean switch --region us-w1 --group web YOUR_APP_ID\nlean deploy --prod 1 \n```\n\n[LeanEngine]: https://docs.leancloud.app/leanengine_overview.html","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweakish%2Ffileup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweakish%2Ffileup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweakish%2Ffileup/lists"}