{"id":17617600,"url":"https://github.com/jay-dee7/logto-sveltekit-example","last_synced_at":"2025-09-04T10:39:48.208Z","repository":{"id":175462736,"uuid":"631203022","full_name":"jay-dee7/logto-sveltekit-example","owner":"jay-dee7","description":"This is an example project that shows how to use Logto with authentication with a SvelteKit project","archived":false,"fork":false,"pushed_at":"2023-04-22T12:00:38.000Z","size":46,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T00:41:31.431Z","etag":null,"topics":["logto","svelte","sveltekit"],"latest_commit_sha":null,"homepage":"","language":"Svelte","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jay-dee7.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-04-22T09:08:42.000Z","updated_at":"2024-03-10T19:25:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"85a6836f-b478-4123-9da4-987787aa4a22","html_url":"https://github.com/jay-dee7/logto-sveltekit-example","commit_stats":null,"previous_names":["jay-dee7/logto-sveltekit-example"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jay-dee7/logto-sveltekit-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jay-dee7%2Flogto-sveltekit-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jay-dee7%2Flogto-sveltekit-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jay-dee7%2Flogto-sveltekit-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jay-dee7%2Flogto-sveltekit-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jay-dee7","download_url":"https://codeload.github.com/jay-dee7/logto-sveltekit-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jay-dee7%2Flogto-sveltekit-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273595046,"owners_count":25134256,"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","status":"online","status_checked_at":"2025-09-04T02:00:08.968Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["logto","svelte","sveltekit"],"created_at":"2024-10-22T19:14:40.737Z","updated_at":"2025-09-04T10:39:48.140Z","avatar_url":"https://github.com/jay-dee7.png","language":"Svelte","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Logto + SvelteKit Examle\n\nThis is an example [SvelteKit](https://kit.svelte.dev) project to demonstate how to perform authentication with [Logto](https://logto.io).\n\n\u003e Caveat -\u003e The library being used (@cntr/sveltekit) is in alpha stage right now and is something that just gets the job done. Please use it at your own risk. Author is not responsible for anything.\n\n## Requirements\n1. NPM Package - `@cntr/sveltekit` \n    - NPM Link - https://www.npmjs.com/package/@cntr/sveltekit\n    - GitHub Repo - https://github.com/cheqd/logto-js-sdks/tree/sveltekit-sdk/packages/sveltekit\n2. Logto Application setup\n    Assuming you already have an instance of Logto deployed, you'll need to create a `SPA Application` inside Logto and use the `App ID` and `Deployment URL` from it.\n    - How to deploy Logto - [Local development insance](https://docs.logto.io/docs/tutorials/get-started/#local) or [Production deployment](https://docs.logto.io/docs/recipes/deployment/)\n\n## Getting started with this project\n\n```bash\n# Install all the dependencies\npnpm i # or npm i\n```\nWhile all the dependencies are being installed, let's populate our .env file with Logto credentials.\n\n```bash\ncp env.example .env\n```\nthen replace the values inside it with your Logto credentials.\n\n\u003e `PUBLIC_LOGTO_ENDPOINT` is your Logto deployment url\n\n\u003e `PUBLIC_LOGTO_APP_ID` is your Logto SPA application ID\n\n\n## Run the application\n\nIf the above steps were sucessful, then just run the following command to run the project:\n\n```bash\npnpm dev # or npm run dev\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjay-dee7%2Flogto-sveltekit-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjay-dee7%2Flogto-sveltekit-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjay-dee7%2Flogto-sveltekit-example/lists"}