alexedwards/scs
HTTP Session Management for Go observed · 2026-08-28
Health v2 · maintenance only
47/100
- Activity 53
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3677
- days_rel: 421
- days_push: 287
- n_releases_24m: 1
Adoption not part of the score
2613 stars · 203 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
SCS is an HTTP session management library for Go that automatically loads and saves session data via middleware. It supports 19 server-side session stores (PostgreSQL, MySQL, Redis, SQLite, and more), multiple sessions per request, flash messages, token regeneration, and idle/absolute timeouts.
Use cases
- manage user login sessions in a Go web app
- store session data in Redis or PostgreSQL
- implement remember me functionality
- add flash messages after redirects
- regenerate session tokens to prevent fixation attacks
- handle multiple sessions per request
- replace gorilla/sessions with a faster alternative
When to choose
- you are building Go web applications or APIs needing server-side sessions
- you want OWASP-aligned session handling with timeouts and token regeneration
- you need pluggable session stores across many databases
- performance and low memory usage matter
When to avoid
- you need client-side (cookie-encrypted) session storage
- you are not using Go
- you need a full authentication framework with user registration and OAuth
Facets
library · maturity stable
middleware auth http-server caching web-development backend security developer-tools go windows cross-platform session-management http-sessions session-store flash-messages owasp server-side-sessions linux macos
1 source
- readme: https://github.com/alexedwards/scs · fetched 2026-08-28 · 4ab29d8361c8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| alexedwards/scs | main | 47 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem