Skip to content

docs: Update README with new features and stats #80

Closed

Description

@melvincarvalho

Summary

The README needs updating to reflect recent additions and current project stats.

New Features to Add

v0.0.76+

Stats to Update

Current codebase:

  • Source code: ~13,000 lines (was likely less before)
  • Test code: ~4,700 lines
  • Total: ~17,700 lines
  • Test count: 223+ tests
  • Dependencies: 18 direct dependencies

Breakdown by module:

Module Lines
handlers/resource.js 962
idp/views.js 641
idp/interactions.js 531
patch/n3-patch.js 522
server.js 466
idp/provider.js 455
idp/accounts.js 449
rdf/turtle.js 442

Version Update

Change "Implemented (v0.0.75)" to current version.

Feature List Updates

Add to features list:

- **HTTP Range Requests** - Video/audio seeking, partial content delivery (206)
- **Passkey Authentication** - WebAuthn/FIDO2 passwordless login with Touch ID/Face ID
- **SolidOS UI** - Modern file manager interface (`--solidos-ui`)
- **Single-User Mode** - Simplified setup for personal pods (`--single-user`)

CLI Options to Document

New flags that may be missing:

  • --solidos-ui - Enable SolidOS modern UI
  • --single-user <webid> - Single-user mode for personal servers
  • --range-requests (if configurable, or just note it's always on)

Optional: Add Stats Section

Consider adding a "Project Stats" section:

## Project Stats

- ~13,000 lines of source code
- ~4,700 lines of tests (223+ tests)
- 18 direct dependencies
- Zero native dependencies (pure JavaScript, runs on Termux/Android)

Activity

  1. melvincarvalho commented on Feb 23, 2026

    @melvincarvalho
    ContributorAuthor

    Full README Audit (v0.0.86)

    Comprehensive audit of README against actual codebase. Everything below is stale, missing, or wrong.


    Critical

    1. Version marker stale

    • Says "Implemented (v0.0.79)" — current is v0.0.86
    • Features added since v0.0.79 not reflected:
      • v0.0.80: bcryptjs for cross-platform (Termux)
      • v0.0.81: sql.js replacing better-sqlite3
      • v0.0.82: --public flag (unauthenticated access)
      • v0.0.83: --read-only flag
      • v0.0.84: --live-reload flag
      • v0.0.85: WebSocket public mode fix
      • v0.0.86: Various fixes

    2. Three CLI flags missing from docs entirely

    Flag Description
    --public Allow unauthenticated access (skip WAC)
    --read-only Disable PUT/DELETE/PATCH
    --live-reload Inject live reload script into HTML

    These exist in jss start --help and config.js but aren't in the README's Start Options table or anywhere else.

    3. Comparison table wrong

    • Claims "432 KB / 10 deps" — actual is ~588 KB src / 14 direct deps
    • Misleading comparison with CSS/NSS

    High

    4. Dependencies section incomplete

    • Lists 9 deps, actual is 14
    • Missing:
      • @fastify/middie — middleware bridge for IdP
      • @fastify/rate-limit — rate limiting (not documented anywhere)
      • @simplewebauthn/server — passkey support
      • commander — CLI parsing
      • nostr-tools — Nostr protocol

    5. Environment variables incomplete

    • Missing from the env var example:
      • JSS_PUBLIC
      • JSS_READ_ONLY
      • JSS_LIVE_RELOAD
      • JSS_SOLIDOS_UI

    6. Nostr relay section incomplete

    • NIP-11 relay info endpoint (/relay/info) not documented
    • NIP-16 (ephemeral events) support not mentioned
    • supported_nips: [1, 11, 16] exists in code

    7. Rate limiting undocumented

    • @fastify/rate-limit is a dependency but zero mention in README
    • Users don't know it exists or how it's configured

    Medium

    8. Project structure section outdated

    • Missing src/utils/ssrf.js (SSRF protection)
    • Missing src/idp/passkey.js
    • src/utils/json.js (safeJsonParse) not listed

    9. Test count likely stale

    • Claims "223 tests" — needs recount for v0.0.86

    10. Node.js version

    • README says "Node.js 18+" — this is correct for now but should be 20+ after Fastify 5 migration

    11. Feature version markers inconsistent

    • Passkey says "(v0.0.77+)", Schnorr says "(v0.0.79+)"
    • Single-user mode has no version marker
    • Range requests have no version marker

    Proposed PR Scope

    1. Bump version marker to v0.0.86
    2. Add missing CLI flags to Start Options table
    3. Add missing env vars
    4. Fix comparison table stats
    5. Update Dependencies section (all 14)
    6. Document rate limiting
    7. Document NIP-11 support
    8. Update project structure tree
    9. Verify and update test count
    10. Add version markers to features missing them
  2. added a commit that references this issue on Feb 23, 2026
    cdb86f3
  3. added a commit that references this issue on Feb 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions