lucia README

The project's README from github.com/lucia-auth/lucia. As one markdown file: README.md.

Lucia was deprecated on March 2025. See code/auth_session.ts for a complete, single-file replacement for the NPM package.

Announcement: https://pilcrowonpaper.com/blog/18

For a deep dive on everything auth, see the Auth Book: https://auth.pilcrowonpaper.com

Website: lucia-auth.com Repository: github.com/lucia-auth/lucia Maintained by: Pilcrow (pilcrowonpaper.com) License: MIT (unless otherwise specified)

lucia (lucia-auth/lucia)

Searching Database…

10.5K ·GitHub
What is this?Lucia is an authentication library for TypeScript — the tagline is 'Authentication, simple and clean', and it has gathered over 10,000 stars on GitHub.
Is it a library I add to my code, or a hosted service I sign up for?It's a library, not a service: Lucia shipped as an NPM package you wire into your own app. The direction now is even more self-serve — a single TypeScript file instead of an installed dependency.
So how do I get it into my project today?Copy code/authsession.ts from this repository into your app — the README calls it a complete, single-file replacement for the NPM package. Docs and the Auth Book are linked from lucia-auth.com.
Is Lucia still maintained?No. The project was deprecated in March 2025 — the author stopped supporting the NPM package and points users to a replacement file they own and maintain themselves.
Can I use it in commercial projects?Yes — MIT, so commercial use, modification and redistribution are allowed. The README adds 'unless otherwise specified', meaning some files could carry different terms.
What is the Auth Book?A learning resource by the same author — the README describes it as a deep dive on everything auth. With the library deprecated, it's where the project's auth knowledge continues to live.
What do I actually get in authsession.ts?Lucia's whole package condensed into one TypeScript file of session and auth logic. Since it lives in your repo, you can read, tweak and version it like any other code — no installs, no dependency updates.
Creator
lucia-auth
Size
5.8 MB
Stars
10.5K
Updated
CommitAug 08
Age
4y
Commits · 90 Days