Skip to content
thenollePublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Murmur

A social network where everyone is a bird: pick a species, get a unique individual, and post, chat, collect, migrate and join nests.

Why the code is public

This repository is public for transparency and learning. If you wonder how a social platform works inside (feeds, privacy rules, media pipelines, chat, economies, moderation), you can read exactly how this one does it.

It is source-available, not open source. You are welcome to read it and learn from it. You may not download it and run, host or fork it into a service of your own, and it is not meant as a starter kit for building another Murmur. The full terms are in LICENSE. There are intentionally no setup instructions here.

A tour of the code

Folder What it shows
src/db Plain SQL migrations with checksums, a small transactional wrapper, time-ordered ids, online backups
src/auth, src/security Google sign-in with PKCE, hashed sessions, CSRF, cookies, rate limiting, security headers
src/birds, src/species Deterministic bird assignment from a user hash; a community-curated species encyclopedia
src/posts One SQL visibility rule shared by feeds, search, hashtags, lists, bookmarks and nests
src/media Magic-byte sniffing, ffmpeg re-encoding, access-checked range serving, a shared "in use" check
src/messages, src/notifications DMs, groups, requests, read state; one place that decides whether to notify
src/stories, src/lists, src/nests, src/regions 24-hour stories and highlights, curated lists, communities with roles, regions with chat
src/economy, src/avatars, src/art An append-only, idempotent ledger; quests derived from real activity; layered drawn avatars discovered from folders
src/world Seasons, migration journeys and the life list
src/routes, src/components File-based pages and the app shell
tests The same layout, one behaviour per test, with CI reporting back into a branch

Ideas worth reading

  • Privacy is in the query, not the page. Who can see a post is decided once, in SQL, so no screen can forget a rule.
  • Money-like things are append-only. Feather balances are backed by a ledger that the database refuses to edit, and every reward carries an idempotency key.
  • Progress is computed, not counted. Quests read real activity inside the current period, so counters can never drift.
  • Media is untrusted. Files are identified by their bytes, re-encoded, stripped of metadata and served only through access checks.
  • Dead code is a CI failure mode. A small scanner reports unused files and exports on every push.

Security

Please report vulnerabilities privately through GitHub's "Report a vulnerability" feature on this repository, not in public issues.

Contributions

This project does not accept contributions or pull requests.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Used by

Contributors

Languages