Wesyn Is Open Source: A Network Where Reputation Is Earned
Wesyn is open source today. The code is at
github.com/Aitherium/wesyn under AGPL-3.0, and the
demo runs at aitherium.github.io/wesyn. It is a
beta: profiles, earned standing, connections, communities, a feed and messages. Members of
our Discord can join with one command, /wesyn join.
The idea is simple. On most professional networks you write your own reputation. On Wesyn you earn it in communities: shipped work, reviews, badges. Your GitHub shows only when you proved it by signing in with GitHub. Nobody types their own standing.
This post is about how the pieces fit, because most of the interesting decisions are about what the page is not allowed to do.
A static page with no secret
The demo is plain files on GitHub Pages. It cannot keep a secret, so it does not have one. "Sign in with Aitherium" is OpenID Connect authorization code with PKCE (RFC 7636, S256):
| step | where | what moves |
|---|---|---|
| 1 | the page | makes a random verifier, keeps it in sessionStorage, sends SHA-256(verifier) |
| 2 | idp.aitherium.com/identity/oidc/authorize | you sign in; the IdP sends a one-time code back to the page |
| 3 | POST /oidc/token | the page sends the code plus the verifier; only the tab that started can finish |
| 4 | api.aitherium.com/api/* | every read carries Authorization: Bearer <token> and credentials: 'omit' |
The client is registered on the IdP like this (from AitherIdentity.py):
_oidc_provider.seed_client(
client_id="wesyn-pages",
client_secret="",
redirect_uris=["https://aitherium.github.io/wesyn/"],
token_endpoint_auth_method="none",
is_first_party=True,
require_pkce=True,
)
Two properties carry the security. The callback is exact: a fork on another Pages origin, a sub-path or an extra query string never receives a code, so a copy of the page cannot sign anyone in as Wesyn. The page never rides on cookies: every request omits credentials, so it can do nothing a member could not do with their own token from a terminal. A fork that wants live data registers its own client.
Privacy is the server's decision
The client follows one rule: the profile page read is the gate. If the server answers
anything but 2xx, the screen shows one line ("This profile is private.") and nothing else.
It never falls back to a cached card or a directory row. If a second read (the standing)
comes back stricter than the first, the stricter answer wins. Both behaviours are pinned
by tests in src/api/live.test.ts, and the demo includes a private sample profile so you
can see the gate.
What a profile shows is either earned (community reputation, level, shipped work, badges, read from the community layer) or proved (a GitHub login that came from an OAuth sign-in, never a typed handle). The data model carries that provenance on every fact.
Discord is the backend; Relay is the mirror
A Wesyn community is called a planet: a Discord server bound to an Aitherium workspace. Roles are membership, channels and forums are the discussions. We did not build a second chat system. The official bot holds the Discord gateway and feeds every message, thread, forum post, edit and reaction into a bridge that mirrors it into an AitherRelay room, and back. An IRC gateway speaks RFC 1459 over TLS to the same rooms, using each person's own token, so it inherits every permission Relay enforces.
The result is one conversation on several transports. The Wesyn feed reads the Relay rooms you are allowed to read; a Discord forum thread and its Relay room are the same thread. If Discord goes dark, Relay and IRC keep working and the bridge backfills when it returns.
Joining from Discord
/wesyn join in our server makes your profile (your Space) once, keeps it private until
you choose otherwise, and answers privately with the link. Asking twice changes nothing.
The account is the Discord member who ran the command, never an option someone typed, and
a member who has not linked Discord to Aitherium gets one line telling them how.
Bring your history with you
Most people already have years of work history on another network. Wesyn reads it from the data export you can download yourself, and never from a scraper:
| feature | where it runs | rule |
|---|---|---|
| Sign in with LinkedIn | our IdP, server-side | the client secret stays in the vault; the page only ever sees our own token |
| Import from LinkedIn | your browser tab | the ZIP is read with the browser's DecompressionStream; nothing is uploaded; imported facts show as claimed, not earned |
| Also share to LinkedIn | our backend | off by default, per post; your own account's token; at most 2 posts a day, checked before LinkedIn is called |
| Jobs | the page | every job is schema.org JobPosting JSON-LD, readable by any search engine or board |
All of it uses LinkedIn's public OAuth and REST endpoints directly. Their client libraries carry a proprietary licence that forbids copying them into a public repository, so Wesyn contains none of their code.
What we built on
The social data model follows ShlinkedIn (github.com/cbh123/shlinked,
AGPL-3.0), the code behind a satirical professional network. We looked hard at forking it.
It is a Phoenix LiveView app with its own email-and-password accounts, and its schema is
built around the joke (a points currency, a "life score", interns). Forking meant a new
runtime, a second account system and a cleanup. Porting the shape of its profiles,
endorsements, work history, connection requests, posts and groups let a signed-in demo run
on the backend we already have. The module-by-module verdicts are in
docs/shlinked-intake.md, and the credit is in NOTICE.
Why AGPL
We want one strong project, not a hundred thin copies. AGPL-3.0 means anyone can run, change and self-host Wesyn, and anyone who runs a modified version as a service shares their changes. The name stays with the project; forks are welcome under their own.
Try it, and help build it
- Demo: aitherium.github.io/wesyn. Everything you see
before signing in is fictional sample data, labelled
(sample). - Code and first issues: github.com/Aitherium/wesyn.
Starter issues are labelled
good first issue; the ones labelledagent-okcan also be picked up by AI agents, with a human maintainer approving the pull request. - Join:
/wesyn joinin the Aitherium Discord.
It is a beta. The issues list is honest about what is missing.
Keep the journal free
Sponsorship pays for the compute, the hardware and the hours behind these entries.
by email
New journal entries, in your inbox.
What the agents built, broke and fixed. One message per entry.