[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-72897":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":10,"languages":10,"totalLinesOfCode":10,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":16,"stars30d":16,"stars90d":15,"forks30d":15,"starsTrendScore":15,"compositeScore":17,"rankGlobal":10,"rankLanguage":10,"license":18,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":19,"hasPages":19,"topics":21,"createdAt":10,"pushedAt":10,"updatedAt":25,"readmeContent":26,"aiSummary":27,"trendingCount":15,"starSnapshotCount":15,"syncStatus":28,"lastSyncTime":29,"discoverSource":30},72897,"lucia","lucia-auth\u002Flucia","lucia-auth","Authentication, simple and clean","https:\u002F\u002Flucia-auth.com",null,10463,523,20,12,0,1,43.16,"BSD Zero Clause License",false,"main",[22,23,24],"auth","oauth","typescript","2026-06-12 02:03:08","# Lucia\n\n**Link: [lucia-auth.com](https:\u002F\u002Flucia-auth.com)**\n\n> [!IMPORTANT]  \n> Lucia v3 will be deprecated by March 2025. Lucia is now a learning resource on implementing auth from scratch. See the [announcement](https:\u002F\u002Fgithub.com\u002Flucia-auth\u002Flucia\u002Fdiscussions\u002F1714) for details and migration path. The source code for v3 is available in the `v3` branch.\n\nLucia is an open source project to provide resources on implementing authentication with JavaScript and TypeScript.\n\nThe main section is on implementing sessions with your database, library, and framework of choice. Using the API you just created, you can continue learning by going through the tutorials or by referencing one of the fully-fledged examples.\n\nIf you have any questions on auth, feel free to ask them in our [Discord server](https:\u002F\u002Fdiscord.com\u002Finvite\u002FPwrK3kpVR3) or on [GitHub Discussions](https:\u002F\u002Fgithub.com\u002Flucia-auth\u002Flucia\u002Fdiscussions)!\n\n## Why not a library?\n\nWe've found it extremely hard to develop a library that:\n\n1. Supports the many database libraries, ORMs, frameworks, runtimes, and deployment options available in the ecosystem.\n2. Provides enough flexibility for the majority of use cases.\n3. Does not add significant complexity to projects.\n\nWe came to the conclusion that at least for the core of auth - sessions - it's better to teach the code and concepts rather than to try cramming it into a library. The code is very straightforward and shouldn't take more than 10 minutes to write it once you understand it. As an added bonus, it's fully customizable.\n\n## Related projects\n\n- [The Copenhagen Book](https:\u002F\u002Fthecopenhagenbook.com): A free online resource covering the various auth concepts in web applications.\n- [Oslo](https:\u002F\u002Foslojs.dev): Simple, runtime agnostic, and fully-typed packages with minimal dependency for auth and cryptography.\n- [Arctic](https:\u002F\u002Farcticjs.dev): OAuth 2.0 client library with support for 50+ providers.\n\n## Disclaimer\n\nAll example code in the site is licensed under the [Zero-Clause BSD license](https:\u002F\u002Fgithub.com\u002Flucia-auth\u002Flucia\u002Fblob\u002Fmain\u002FLICENSE-0BSD). You're free to use, copy, modify, and distribute it without any attribution. The license is approved by the [Open Source Initiative (OSI)](https:\u002F\u002Fopensource.org\u002Flicense\u002F0bsd) and [Google](https:\u002F\u002Fopensource.google\u002Fdocumentation\u002Freference\u002Fpatching#forbidden).\n\nEverything else this repository is licensed under the [MIT license](https:\u002F\u002Fgithub.com\u002Flucia-auth\u002Flucia\u002Fblob\u002Fmain\u002FLICENSE-MIT).\n\n_Copyright © 2024 pilcrow and contributors_\n","Lucia 是一个提供资源以使用 JavaScript 和 TypeScript 实现认证功能的开源项目。其核心在于指导开发者如何利用所选的数据库、库和框架来实现会话管理，通过提供的 API 和教程，用户可以快速掌握认证机制的构建方法。与传统库不同的是，Lucia 通过教育方式传授代码及概念，旨在解决兼容性、灵活性以及避免增加项目复杂度的问题。它适用于那些希望从零开始学习并完全自定义认证流程的应用场景中，特别适合需要高度定制化认证解决方案的开发人员。",2,"2026-06-11 03:43:57","high_star"]