Skip to content

Remove legacy fastify-based code #28

Description

@melvincarvalho

Background

fonstr v0.0.15+ migrated from a custom fastify-based Nostr relay to a thin wrapper around jspod (JavaScriptSolidServer).

Legacy files to remove

File Description
index.js.legacy Old fastify-based relay (13KB)
bin/ Old CLI entry point
lib/ Old DID endpoint code
test/ Tests for old architecture
admin.html Old admin interface
deploy.sh Old deploy script

Why remove

  • Dead code that's never executed
  • Confusing for contributors
  • Inflates package size
  • Tests reference non-existent functions

Notes

  • MIGRATION.md documents the transition (keep for reference)
  • index.js.legacy was kept initially for reference but can now be removed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions