Repository navigation
Releases
v0.6.0
A test release for the signed update path (2.4.6, A1): the first release signed with the owner's minisign key. An installed copy built from main after PR #136 updates to it automatically.
Fixed
phoecord truston Windows no longer says "trusted" when the CA was not added:certutilexits 0 even when its confirmation is declined or cannot be shown, so the store is now checked afterwards and the command fails with what to do.
Added
-
2.2.8:
phoecord launch --channel phoenixcan load another mod's DLL next to PhoeCord's loader:--also-inject <DLL>(repeatable) or[phoenix] also_inject = [...]inconfig.toml, for example Sunbird'sphoenix.dll, so both run in one Phoenix through PhoeCord's proxy. A missing file stops the launch. The loader now identifies the build by.textofDiscord.exeon disk rather than in memory, so a mod that patched code first does not make a known build look unknown. And the proxy a Phoenix launch started now stops when that Phoenix exits, however it ends (closed, crashed, killed in Task Manager). -
2.3.2: two more built-in themes,
themes/light.tomlandthemes/high-contrast.toml(every text colour at least 7:1), andphoecord theme import <vencord-theme.css>, which turns a Vencord theme's colour variables into atheme.tomland lists what does not carry over. Theme authoring:docs/plugins/themes.md. The palette field names are still PhoeCord's own until Phoenix's are known. -
2.4.2 (a): message sends and edits with files (
multipart/form-data) reach plugins: they seepayload_jsonas the body, and a change is written back with the same boundary, file names followingattachments[].filename; file bytes are passed as they are. So ClearURLs, FakeNitro, TextReplace and the other send plugins now also work on messages with attachments. Bodies over 64 MiB stream through unread. -
2.4.2 (b):
/phoecord serverinfoalso lists your friends, blocked and ignored users who are in that server, like Vencord's tabs: one gateway op 8 per lookup with the ids fromREADY/RELATIONSHIP_*(at most 100), answered by a local message when the lastGUILD_MEMBERS_CHUNKwith PhoeCord's nonce is in; those chunks never reach the client. -
2.2.6 (second part):
phoecord checkalso runs the typed locators of the hook targets (http_send, the allocator, the gateway registry) and prints what each found and how; for a Phoenix exe a locator miss fails the check. -
2.4.2 (c): MusicRichPresence reaches a self-hosted ListenBrainz-compatible instance:
listenbrainzHostnames it andfetch_hostsin the same[plugins.music_rich_presence]section allows it.fetch_hostsworks for any plugin: exact host names the user adds to that plugin'sfetchlist inconfig.toml(a plugin cannot write it). -
2.4.2 (d): message context menu entries for UnsuppressEmbeds (
toggle_embeds), ViewRaw (view_raw) and SilentDelete (silent_delete,silent_delete_history) against the frozen API; a click does what the/phoecordcommand does and answers with a local message only the user sees (commands::local_message). They show on Phoenix once 2.3.5 hooks the menu. -
2.1.10 (partial, was 1.1.9):
scripts/scrub_fixture.pyrewrites a decoded Gateway event into a fixture with no real data — every key, the nesting and each value's JSON type are kept, every string and every snowflake-shaped value (string or integer, keys included) is replaced with an invented one, and the Gateway envelope (op/t/s) and Discord's owntypeenums are left alone so a fixture stays loadable by event name; a shared--mapfile keeps a repeated id consistent across several fixtures from the same capture.tests/fixtures/README.mddocuments the capture-then-scrub workflow. The fixtures themselves are not recorded yet: that step needs a human with a throwaway account and a running client. -
2.4.2 (e): plugin settings are described for the settings tab. Plugin API v1 gets
Manifest.settings(SettingSpec { key, kind, default, options, label },SettingKind: bool, number, text, choice, list; additive), WASM packages declare[[setting]]inplugin.toml(checked: kind, default fitting the kind, a choice's options, no duplicates), and 40 built-in plugins carry 143 specs with English and Russian labels. -
2.3.1 / 2.3.4 (partial, not wired to a real Phoenix hook):
themes/default.tomlships a starting-point theme with Discord's own published surface colours (field names are placeholders, not yet Phoenix's real palette fields — unknown, see 2.3.1's status);phoecord_loader::ui::message_logger::Accessory::for_messagedecides what aMessageRow::renderwrap would show for a logged message (deleted, or edited with its history), pure and tested. Neither closes its task: the privatephoecord-reconnotes have no anchor yet for Phoenix's theme global orMessageRow::render— only the app-level render chain indocs/re/gpui-lifecycle.mdis mapped. -
2.4.4: developer documentation for third-party plugin authors in
docs/plugins/: a quick start in Rust and in TypeScript (from an empty folder to a package that loads, with the commands CI uses,phoecord installandphoecord dev watch/dev console), the event reference (every event, its fields, whatPass,Changed,DropandReplydo for each, theeventsfilter syntax,PHOECORD_TIMER,PHOECORD_LOCAL_DELETE,ui:menu_action), the rights with theirHostmethods, limits and what the user sees at install, publishing (package layout, everyplugin.tomlfield, versioning and what the v1 freeze guarantees, the catalog, licensing) and localization (i18n/<lang>.ftl,Host::t, menu labels). Fixed while checking them against the code: theplugin.tomlexamples indocs/ARCHITECTURE.mdanddocs/_template/code/plugin.tomlusedrest_request:POST:/channels/*/messages(it loads and matches nothing: the filter is"METHOD route"with a space) and[settings.*]and[i18n]tables, which the parser refuses as unknown fields;CONTRIBUTING.md's "a new variant is minor" now says that the WIT is stricter. -
2.4.5: PhoeCord installs on all three systems from a release file and keeps itself up to date. Linux gets a
.deb(Debian, Ubuntu, Mint) and an.rpm(Fedora, openSUSE) with the installer window,phoecordand a menu entry. The Windows setup now carries the loader (inloader\version.dll, never next tophoecord.exe), stops PhoeCord's proxy before it replaces files, and removing PhoeCord in Installed apps undoes setup first: CA trust, autostart, shortcuts, loader copies. Automatic updates: once a day an installed copy looks at this repository's GitHub Releases, downloads the installer for this system and installs it the next time the window or the background proxy starts, only when its SHA-256 matches the release'sSHA256SUMS(drafts and prereleases are skipped; anything missing or different is refused). The window says what was updated; Settings has the switch ([update] autoinconfig.toml, on by default) and shows the last error.phoecord upgradechecks now;phoecord stopstops the running proxy. The check contacts GitHub, which sees your IP address. -
2.2.8:
phoecord launch --channel phoenixpicks Phoenix's transport before the client starts and injects the loader (CreateProcesssuspended +QueueUserAPC, 2.1.7). It runs the loader's hook locators onDiscord.exeon disk and keeps the result inphoenix-check.jsonin the data folder, keyed by the client's.texthash and a hash of the signature folder, so only a Phoenix update or a signature change re-runs the check. All or nothing per launch: with every network hook found Phoenix runs in-process and no proxy process is started at all; with any one missing the whole launch goes through the proxy and the loader does the UI only. A build the loader marks failed goes to the proxy until the signatures change.--transport auto|proxy|in-processand[phoenix] transport = "auto"inconfig.tomloverride the choice; macOS and Linux get the proxy and a plain launch. Today no build can run in-process yet (the gateway send hook, 2.2.4, and the in-process transport wiring, 2.2.7, are not there), soautochooses the proxy and says why. The Phoenix shortcut is now "Discord Phoenix (PhoeCord)";uninstallalso removes the check cache. -
2.3.7 (automated part): the three degradation scenarios run as tests with fake locator results (
crates/phoecord-loader/tests/degradation.rs): an unknown build is proxy only with the UI off, one broken signature or missing locator turns off only its own feature, and an Electron client is told apart from Phoenix. New:ClientKind::of(Phoenix by itsDiscordPhoenixinstall folder) andPlan::all_in_process()(every entry point in-process, the all-or-nothing rule of 2026-11-26). The live run inside a Phoenix client is still open. -
2.2.2 (part 1, loader): a read-only inline detour on the REST transport's
send(Windows x64,hooks::detour). A naked entry saves the argument registers, reads method, URL and body out of the request throughReadProcessMemoryon the client's own process (hooks::abi: every field checked, a wrong layout is a refused read, not a crash), asks the plugin chain and jumps to the originalsend. A changed body or a local reply is logged and not applied yet; thepollswap waits for the response layout. -
2.2.4 (part 1, loader): a
gateway_sendlocator for the outgoing frame encoder;Plan::from_hooksmaps the Send entry point to it instead of refusing it outright. -
2.2.7: the in-process transport is all or nothing per launch (ruling 2026-11-26): it runs only when every entry point was found (
Plan::all_in_process), otherwise every entry point passes the traffic and the proxy carries the launch.InProcessTransport::wants_requestlets thesenddetour skip the body when no plugin looks at it. The loader logs the network plan of a Phoenix build and that an Electron client gets no network hooks. -
2.3.7 (...
v0.5.0
Added
-
1.2.16: data parts of 17 plugins with an on-screen part, all off by default: ValidUser, ValidReply, MessageLinkEmbeds, NewGuildSettings, OverrideForumDefaults (traffic fixes and settings), PauseInvitesForever, ReadAllNotificationsButton (commands), PlatformIndicators, TypingIndicator, UserVoiceShow, VcNarrator, MemberCount, BetterSessions, ImplicitRelationships, MutualGroupDMs, WhoReacted, MessageLatency (collected state shown by
/phoecordcommands or notifications). Shared trackers for them inphoecord-plugins/src/state.rs,FnCmdfor closure commands. Their on-screen parts come in Phase 2. -
1.2.18: data parts of ShowHiddenChannels (
/phoecord hidden), ShowHiddenThings (/phoecord hiddenthings) and Experiments (/phoecord experiments), off by default. The READY rewrites (hidden channels in the list, the STAFF flag) sit behind their own extra settings, also off, because they are the most ban-prone changes in the project. -
1.4.5: releases. A
v*tag (pushed by the owner) runs.github/workflows/release.yml: thephoecordCLI for Linux x86_64, Windows x86_64 (with the loader asversion.dll) and macOS arm64 and x86_64, each archived withLICENSE,NOTICE,LICENSES/and the terms, plus the native installers frompackage.yml, oneSHA256SUMSover every file, and a GitHub release whose notes are the version's CHANGELOG section and a note on unsigned builds (SmartScreen, Gatekeeper, how to verify the checksums). A tag with-makes a prerelease; the run stops when the tag does not match the version inCargo.toml; a manual run is a dry run.package.ymlno longer runs on tags itself:release.ymlcalls it. Release rules inGOVERNANCE.md, failures and antivirus warnings inRUNBOOK.md. -
1.5.6:
phoecord setup --loader(Windows) installs the native loader asversion.dllinto the newestapp-x.y.zfolder of the chosen Discord; everyphoecord launchand autostart (phoecord run) puts it back after a Discord update moves the client to a new folder. Aversion.dllfrom another program is never overwritten (ownership by SHA-256 recorded ininstall.log), andphoecord uninstallremoves every copy PhoeCord made, old app folders included, and nothing else. On macOS and Linux the option reports that it is Windows-only. English and Russian. -
1.4.3: the installer window
phoecord-installer(English and Russian): terms of use first, Discord clients with a live status and one main action (install, add, open), repair and uninstall with step-by-step progress, and a Plugins tab that installs WASM packages from a file, a dropped file or an HTTPS link after showing their events and rights in plain words, switches them and removes them. Garnet theme, animated tabs, dialogs, switches and progress, with a reduce-motion setting;--dry-runkeeps every change in a sandbox folder. A Discord installed somewhere else is added with "Choose folder…" (kept inclientsinconfig.toml, also used bylaunchandsetup); when no Discord is found the window says where it looked. Built-in plugins are not listed in the window: they will be managed inside Discord. It ships as a native installer: a setup.exeand an.msion Windows,PhoeCord.appin a.dmgon macOS (unsigned), with its own icon, an opening animation, a short first-start onboarding (what PhoeCord does, the terms, which Discord, done) and the repository link in About.LICENSE,NOTICEandLICENSES/ship as files in every installer (next to the executables on Windows, inContents/Resourcesof the.app). -
1.1.11:
upstream = "socks5://host:port"or"http://host:port"inconfig.tomlsends every outgoing connection of the proxy (intercepted REST and Gateway, and tunnelled) through a SOCKS5 or HTTP-CONNECT proxy, for VPN and zapret users; a dead or refusing upstream gives a clear error;phoecord selftesthonours it. -
1.2.9:
phoecord import-vencord [--path FILE]finds the settings of Vencord, Vesktop or Equicord and switches on the PhoeCord plugins whoseManifest::vencordmatches an enabled Vencord plugin (English and Russian). -
Stage 1.1 core refactor: the proxy, REST and Gateway run through Plugin API v1 and
Chain;ProxyHostprovides scoped settings, KV, account state and notifications. ThephoecordCLI now hasrun,launch,setup,trust,untrust,plugins,enable,disable,toggle,pathsandselftest. -
Cargo workspace of 8 crates:
core,proxy,plugin-runtime,plugin-sdk,plugins,loader,installer,cli. -
Plugin API v1 (
phoecord-core::plugin):Manifest,Event,EventKind,Verdict,Host. -
Plugin chain
phoecord-plugin-runtime::Chain: the firstDrop/Replystops the chain. -
AOB signature scanner in
phoecord-loader(??masks, ambiguous matches rejected). -
Docs: README, ARCHITECTURE, ROADMAP, CONTRIBUTING, SECURITY, AGENTS;
docs/index, code map, governance, runbook, secrets, support, project map; templates for plans, incidents, releases, release checks and rulings; the Phase 1 plan. -
scripts/check.sh/check.ps1(all checks),scripts/gen_tasks.py(TASKS.md),scripts/gen_decisions.py(docs/DECISIONS.md). -
Issue and PR templates; CI on Linux, Windows and macOS plus an MSRV job.
-
Localization planned: English first, Russian next (ROADMAP 1.7).
-
phoecord-i18n: Fluent localizer with English and Russian bundles, fallback ru → en → key, OS language detection (stage 1.7.1). -
scripts/check_i18n.py: fails when a Russian translation is missing a key or a variable; part ofcheck.shand CI (stage 1.7.5). -
phoecord-loaderbuilds as a proxyversion.dll: lazy export forwarding to the system DLL, aDllMainthat only starts a worker, client build detection (file version +.textSHA-256),signatures/*.tomlwith unique AOB matches and RIP resolution, inline detours with removal on unload (stages 1.5.1-1.5.4). -
silent_typingplugin: your typing indicator is never sent (stage 1.2.1). -
clear_urlsplugin: strips tracking parameters (utm_*,fbclid,gclid,sion YouTube and Spotify, …) from links in messages you send or edit; extra rules in[plugins.clear_urls] extra_rules(stage 1.2.7). -
docs/research/gpui.md: GPUI map, a release + LTO reference build (research/gpui-reference), anchors that survive in a stripped binary, and ranked hook candidates (palette, settings tabs, message row) for Phase 2 (stage 1.6). -
Plugins
game_activity_toggle,relationship_notifierandfake_nitro(emoji part), all off by default (stages 1.2.3-1.2.5). -
message_loggerplugin andphoecord log: deleted and edited messages stay visible and are written tomessages.jsonl(stage 1.2.6). -
/phoecord pluginsand/phoecord toggle <id>slash commands, answered locally (stage 1.2.8). -
Plugin API (minor,
API_VERSIONstays 1):RestResponse.bodyis mutable; newHostmethodsemit_dispatch,plugin_enabled,set_plugin_enabled,append_data. -
Installer library: client discovery on 3 OSes, CA + autostart install with an install log, full rollback (stages 1.4.1, 1.4.2, 1.4.4; not wired to the CLI yet).
-
WASM plugin runtime:
wit/phoecord.wit, wasmtime 38 backend behind the sameChain, 5 ms / 32 MiB limits, plugin packages (plugin.toml+plugin.wasm,eventsandrights) with reload (stages 1.3.1-1.3.5). -
WASM plugins: a slow event costs a strike (3 in a minute disable the plugin) instead of disabling it at 5 ms; new rights
emit_dispatch,plugins,data; plugin packages copied into or removed fromplugins/load and unload without a restart, andphoecord runnow loads them (stage 1.3.4). -
Issues are the place for every problem; leaks of personal data or secrets go privately to
nandak070on Discord (SECURITY.md). The README shows contributors automatically. -
phoecord setupnow runs the installer library (CA, trust and autostart, logged ininstall.log), andphoecord uninstallundoes it (stages 1.4.2, 1.4.4). -
Language setting:
phoecord --lang ru,languageinconfig.toml, or the OS language;setup,uninstallandpathsalready speak Russian, the rest of the CLI follows in 1.7.3 (stage 1.7.2). -
The whole CLI speaks Russian,
--helpincluded (stage 1.7.3). -
Terms of use (
TERMS.md,TERMS.ru.md, version 1):phoecord setupshows them and installs nothing until you typeyes(да); a new version asks again (stage 1.4.7). -
Plugins
i_love_spam,no_blocked_messagesandno_reply_mention, off by default (stage 1.2.10); ImageLink and NoPendingCount are UI-only and move to Phase 2. -
Plugins
text_replace,send_timestamps,anonymise_file_namesandsilent_message_togglewith/phoecord silent, off by default (stage 1.2.11); BetterGifAltText is UI-only and moves to Phase 2. -
The first third-party plugin example:
clear_urlsas a WASM package inexamples/plugins/clear_urls/, loaded without a restart (stage 1.3.8). -
phoecord launch --channel stable|ptb|canary(no silent default to Stable);launchreuses a running proxy;setup --channeladds a Start-menu shortcut that starts that Discord through PhoeCord;uninstallstops a running proxy and removes PhoeCord's own CA files (stage 1.4.8). -
Plugins can call Discord's API as your own client session (
Host::rest, rate-limited) and outside HTTPS hosts they list (Host::fetch,fetch = [...]inplugin.toml); the session header stays in memory only (stage 1.1.13). -
Plugin API (minor,
API_VERSIONstays 1):HostResponse.bytes(raw non-JSON answers, e.g. images) andHost::rest_files(upload files to Discord as the client does); both reach WASM plugins throughwit/phoecord.wit(rightrest). Unblocks petpet (1.2.12) and USRBG / Decor (1.2.14). -
setuptrusts a recreated local CA (it compares fingerprints with the trust store), andrun/launchwarn when the CA is not trusted (stage 1.4.9).
Removed
- Docs:
PROJECT_MAP.md,SUPPORT.md,SECRETS.md(merged intoGOVERNANCE.md),TASKS.md...