Repository navigation
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 (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.1.9: the Phoenix reconnaissance report is complete.
docs/research/phoenix-recon.mdgets a section on the loading path (2.1.7, launcher injection) and a part 3: what stage 2.1 found, the decisions for 2.2–2.4 and what changed from the plan (launcher instead of sideload, a gateway registry built per instance instead of static tables, Sentry going around the proxy), the open questions by task and the risks. Lines the later findings had made stale are fixed.docs/ARCHITECTURE.mddescribes the in-process transport with launcher injection and the proposed UI hook points. -
2.2.5 (part 2): typed locators for the in-process transport's hook targets, each a masked AOB anchor from the private
phoecord-reconnotes, checked against Phoenix0.1.0.2208only.phoecord_loader::locators::http_transport::findlocatesReqwestTransport::send's entry (the inline hook targethooks::foundalready asks for) and carries its struct size/alignment.locators::allocator::findlocates__rust_allocand__rust_dealloctogether — both or neither, since a body freed through the wrong shim corrupts the host's allocation counter.locators::gateway::findlocates the registry's builder/query function; the registry itself has no fixed table address (2.1.6), so this is what a 2.2.3 detour would hook.http_poll(the.rdatavtable slot of the response future'spoll) stays open: the recon notes give the function's own address but not a.textsite that refers to the slot, and this framework does not guess one. New:Pe::image_baseandImage::find_ptr(an.rdatapointer scan, for when that anchor is found). Cross-build verification is task 2.2.9. -
2.2.10 (first part):
phoecord signatures install <file or folder>checks signature tables and puts them where the Windows loader reads them at the next client start, without a new DLL;phoecord signatures listshows them. Where real tables are published, and downloading them, are still open. -
1.2.15:
gif_provider_switcher(off by default): Tenor (default) or Giphy answer the GIF picker's search, suggestions, categories and trending calls instead of Discord's Klipy, with the keys Vencord ships;provider = "klipy"leaves the picker alone. If the provider fails, the call goes to Discord. -
2.4.3: the Plugin API v1 is frozen (
API_VERSION = 1): from now on only additive changes. New in it: UI events for the Phoenix hooks,Event::Ui(UiEvent::MenuAction { entry, channel_id, message_id })(a click on one of the plugin's message context menu entries, declared inManifest.menuor[[menu]]inplugin.toml; WASM: one genericui(ui-event { name, payload })case,events = ["ui:menu_action"]), the dispatch nameLOCAL_DELETE_EVENT(PHOECORD_LOCAL_DELETE) for the client's optimistic delete,Event::kind(),UiEvent::{name, to_val, from_val},Chain::ui/ui_to.Event,EventKind,UiEvent,Verdict,Layer,Manifest,MenuEntryandHostResponseare#[non_exhaustive]; build the structs withManifest::new,MenuEntry::newandHostResponse::new.begin_pluginandset_fetch_hostsmoved fromHostto the host-onlyChainHost, which the chain takes. A host without a newer method now always answersHost::<name> is not supported by this host.wit/frozen/holds the frozen WIT, and the runtime tests fail whenwit/phoecord.witwould break plugins already built. Breaking for WASM packages built for 0.5 or earlier: the WIT gained theuicase, so they must be rebuilt with the current SDK (the runtime now says so instead of only reporting the type mismatch). -
1.2.14 / 1.2.15 (decisions, no code): USRBG and Decor wait for a Phase 2 UI hook; GifProviderSwitcher waits for the query string in plugin routes and may use the Tenor and Giphy keys Vencord ships.
-
1.2.15 (API):
Host::request_query()(WASMrequest-query, always allowed) gives a plugin the raw query string of the REST call it is handling, so it can readGET /gifs/search?q=…;Eventroutes stay the path alone, sowantsmatching is unchanged.phoecord_core::route::split_queryandquery_pairs(form decoding) help read it. Wired in the proxy and in the loader's REST bridge. Additive, Plugin API stays v1: plugins built before it load and run unchanged. -
2.2.6 (first part):
phoecord check <exe> [--signatures <dir>]reads a client executable without running it, picks the signature table of its build and prints each signature as found, missed or ambiguous with its RVA; the exit code is 1 unless every one is found. Typed locators and the CI job on private dumps are still open. -
2.1.7:
phoecord dev inject <exe> [--dll <path>] [-- args...], a developer tool that starts a process suspended and loads a DLL into it before it runs any of its own code (phoecord_loader::inject:CreateProcesssuspended +QueueUserAPC+LoadLibraryW+ResumeThread) — how Phoenix is reached, since it imports no DLL this loader could sideload. Live-confirmed with PhoeCord's own loader on a real Phoenix process:DllMainand the worker ran, detected the build and degraded cleanly (no signature table for it yet, UI layer off), no crash. A third-party tool already on the owner's machine had shown the same method working first, in 858 ms. Wiring this intophoecord launch's normal path is 2.1.1/2.2.8. -
2.2.11: the loader checked against Discord Canary 1.0.1364 — one worker per start, hash matches,
loader connectedlogged, clean uninstall; detection measured at ~130 ms, over the 20 ms target. -
2.1.1:
phoecord launch --channel phoenixstarts Desktop Phoenix (Windows) through the PhoeCord proxy with--proxy-server, andphoecord pathsshows its install folder and build (Phoenix …\DiscordPhoenix\app (0.1.0.2208), or "not found" in English and Russian). Discovery finds%LOCALAPPDATA%\DiscordPhoenix\app\Discord.exeand reads the build from the executable's version resource without loading it (Phoenix has noapp-x.y.zfolder). Phoenix is started only when named: a barephoecord launchandsetupdo not count it, so a machine that gets Phoenix behaves as before. Plain launch only, no injection (that is 2.1.7); the installer window now lists a Phoenix client too. Linux and macOS locations are not known and not searched. The update scheme (in-place replacement ofapp\, inferred from the setup log and the installer, no update observed yet) is written up indocs/research/phoenix-recon.md. 2.1.1 moves from buslan to Nanda. -
2.1.7: Phoenix is reached by launcher injection (
CreateProcesssuspended +QueueUserAPC+LoadLibrary), not passiveversion.dllsideload; live-observed (via a third-party tool, not yet PhoeCord's own loader) hooking a real Phoenix process in 858 ms, before the client reports ready, with no crash and normal account traffic afterward. Ruling anddocs/ARCHITECTURE.mdupdated; PhoeCord's own loader on this path is still to build. -
2.1.5, 2.1.6 (static analysis only, Phoenix not run): the HTTP transport's
send, its vtable, the request layout and the allocator shims were located; an outgoing Gateway send path andREADY's special handling in the connection loop were found; the event registry turned out to have no fixed address — it's a per-instance tree-shaped structure built at runtime. Addresses, byte signatures and structure offsets are kept in the team's private recon notes, not in this repo; open for 2.2.2: the response layout. 2.2.2 and 2.2.3 are reassigned from Nanda to ken, who already owns 2.2.7 (which calls them); 2.2.1 now has 10 named hook targets in the Ghidra project. -
2.2.7 (second part): the in-process transport in the loader.
phoecord_loader::transportruns an entry point only when the degradation plan says so (a response hook without a request hook stays with the proxy), queues what plugins send to the client until the dispatch hook takes it, counts and logs what cannot be delivered, and fires plugin timers on its own thread. No detour calls it yet. -
2.2.2, 2.2.3 (loader, structure only): typed
Found<T>locators for the HTTP transportsend/polland the Gateway registry, a panic-guardedHookRuntimethat bridges hook entries toEngine::on_request,on_responseandon_dispatch, and per-hook degradation when a signature is missing or invalid. The detours themselves follow the 2.1.5-2.1.7 findings. -
2.1.2 (tool):
phoecord dev inspect-pe <exe>reads a PE executable without loading it and prints the imported and delay-loaded DLLs (sideload candidates such asversion.dllandwinhttp.dllmarked),DllCharacteristics, the Load ConfigurationDependentLoadFlags, TLS callbacks, whether CLR metadata is present, and each section's virtual address and raw offset for AOB scans;--functionslists imported function names. Uses theobjectcrate (already in the tree). The findings still go intodocs/research/phoenix-recon.md. -
2.1.3 / 2.1.4 / 2.3.7 (method, and Windows results on Phoenix 0.1.0.2208:
--proxy-serverand the system proxy are honoured,HTTPS_PROXYis not, a PhoeCord CA in the system store is accepted, the gateway is JSON with zstd-stream):docs/research/phoenix-recon.mdwith the steps for proxy behavior (HTTPS_PROXY, system proxy, system CA store, root set or pin), the gateway capture (a mitmproxy addon that saves server frames only) and the degradation scenarios. -
2.2.7 / 2.3.7 (preparation): the degradation plan.
phoecord_loader::plantakes the locator results for a client build and decides whichEngineentry points run in-process and which stay with the proxy, and which UI features are on, with the reason for each; an unknown build is proxy only without UI. Tested with fake locator results on every OS; not wired to hooks yet. -
2.3.1 (first part): the theme file format.
phoecord_loader::themereadstheme.toml(nameand a flat[colors]table of palette field name → colour;#rgb,#rgba,#rrggbb,#rrggbbaa,rgb()/rgba(),hsl()/hsla()) into GPUI-styleHslavalues, skipping and reporting bad entries, andThemeWatcherreloads the file when it changes (2 s poll) or reports it removed. Nothing is applied to Discord yet: the palette hook and a default theme need the Phoenix reconnaissance (stage 2.1). -
2.2.5 (first part): the typed locator framework in
phoecord_loader::locators. A locator returnsFound<T>(the value and how it was found) or aLocatorError(Missing,Ambiguous { count },Bad): exactly one match or nothing, never a guess.Imagereads.text,.rdataand the.pdatafunction table of a loaded image;CallIndex, built once and shared, recordscall rel32targets and RIP-relativelea/movloads;exactly_one,winner(the best must beat the runner-up by a factor) and string anchors build locators from them. The locators for the hook targets need the stage 2.1 findings and come in part 2. -
1.3.9:
phoecord dev consoleattaches to the running proxy and shows, live, every plugin'sloglines and every event a plugin ran (REST and Gateway) with the plugin's verdict and time taken;--filter TEXTkeeps events whose name or route contains the text,--plugin IDone plugin. Commands:plugins,toggle,reload(a WASM package from its folder, the old version keeps running if the new one is broken),settings,kv,events,replay <event> <plugin>(the last such event into one plugin, a dry run: what it queues is not delivered),filter,plugin. The endpoint is/__phoecord/devon the proxy's own listener, for loopback peers with the per-start token indev-tokenin the data folder (Unix: owner-only). Nothing is copied while no console is attached. Plugin API unchanged. -
1.3.10: fast hot reload. A changed, added or removed
plugin.wasm,plugin.tomlori18n/*.ftlinplugins/is picked up at once through file-system notifications (50 ms debounce) instead of the 2 s scan; if notifications fail, the 2 s scan is back.phoecord dev watch <plugin source folder>builds the plugin forwasm32-wasip2, installs it intoplugins/<id>/and rebuilds on every source change (--plugins-dir,--once). Replacingplugin.wasmofexamples/plugins/clear_urlsis live in the proxy in 117–154 ms (Windows, release). -
1.3.11: the plugin catalog.
catalog/plugins.json(checked bycatalog/plugins.schema.jsonand a CI test; entries are added by reviewed pull request, seecatalog/README.md) lists community WASM plugins with download link, SHA-256 and rights.phoecord install <id|https link|path>,phoecord update [id],phoecord remove <id>andphoecord catalog(--yesskips the rights question;uninstallstays the undo ofsetup), and a Catalog list in the installer window's Plugins tab, install and update through the same staging and rights dialog. A download whose hash is not the listed one, or a package whose id, version or rights differ from its entry, is refused before anything is installed. Updates are offered only for packages installed from the catalog; the index is read from themainbranch on GitHub (PHOECORD_CATALOG_URLoverrides it). The package code moved from the installer window into the newphoecord-catalogcrate. The index ships empty: no community plugin has a published, hashed download yet. -
1.3.6: the plugin SDK.
phoecord-plugin-sdkre-exports the guest bindings and adds aPlugintrait, the#[phoecord::plugin]attribute andTree/Outcomehelpers;examples/hello-pluginlogs everyMESSAGE_CREATEand has its own CI job. -
1.3.7: a TypeScript plugin template,
examples/hello-plugin-ts: the same plugin as the Rust example, built withcomponentize-js(types fromjco guest-types, esbuild bundle, WASI features off so the component imports onlyhost), withsrc/tree.tshelpers for the value tree; loaded and checked by an ignored runtime test that the newtypescript-templateCI job runs. A JavaScript component is about 12 MB and is compiled on every load (about 17 s in release on a desktop PC), so it starts much slower than a Rust plugin. -
1.2.15:
dearrow(calmer YouTube embed titles from DeArrow; its thumbnails withreplaceElements = 0) andfix_images_quality(original image attachments withoriginalImagesInChat), both off by default. GifProviderSwitcher is blocked on query strings in plugin routes. -
1.2.14 (first half):
no_profile_themesandfake_profile_themes, off by default. The first removes other people's Nitro profile theme colours; the second reads colours hidden in a bio as invisible text and applies them (marking the profile as Nitro, as Vencord does; settingnitroFirst). USRBG and Decor (banner and decoration images on Discord's CDN) are not done yet. -
1.5.5: the loader reports to the proxy.
phoecord run/launchopen a per-user Windows named pipe (\\.\pipe\phoecord-<SID>, only your Windows user may connect, no remote clients) and log one line per loader that connects:loader connected: build …, hash …, UI layer off (no signatures). The loader (version.dll) sends its version, the client build and.texthash and whether the UI layer is on, retries five times in the background and gives up quietly when no proxy runs (one line inloader.log). The protocol (JSON lines, 64 KiB cap) also carries settings for the loader (the[loader]table ofconfig.toml) and UI events, for Phase 2. No effect on macOS and Linux. -
Plugin timers:
Host::schedule(after_ms, tag)andHost::cancel_schedule(tag)(also WASM importsschedule/cancel-schedule); a due timer is aPHOECORD_TIMERdispatch to the scheduling plugin only. Additive, Plugin API stays v1. Needed by the 1.2.19 userplugins with delayed loops. -
Host::fetch_with(method, url, headers, body)(WASMfetch-with, samefetchright):fetchwith the plugin's own headers, credential and hop-by-hop names refused;fetchhost entries may be*.example.com(exactly one extra label). Additive, Plugin API stays v1. -
1.2.19: network parts of the owner's userplugins FakeDeafen (
/phoecord fakedeafen), FollowUser (/phoecord follow,unfollow), FakeDeafenDetector (/phoecord flagged; detection needs a voiceSPEAKINGfeed the proxy does not see yet), AntiRickroll (/phoecord rickrolls), localDevBadges (badges on your own profile, local only), VoiceChatUtilities (/phoecord vcu), rmcord (/phoecord rmcord), SilentDelete (/phoecord silentdelete,silentpurge) and QuestMaster (/phoecord quests; game and stream paths emulated on the wire, ACHIEVEMENT bypass through*.discordsays.com), ported 1:1 from the owner's scripts, all off by default. -
1.7.4:
Host::t(key, args), a plugin's own strings in the user's language (additive, Plugin API stays v1; a host without bundles returns the key). Lookup: the plugin's bundle in the language of--lang, then configlanguage, then the OS, then its English bundle, then the key. WASM packages shipi18n/<lang>.ftlnext toplugin.toml(loaded with the package and on hot reload; WIThost.t, no right needed); built-in plugins shipcrates/phoecord-plugins/i18n/{en,ru}/<plugin id>.ftl. The notifications of RelationshipNotifier, BetterSessions and VcNarrator and the/phoecordanswers (plugins,toggle,sessions, "plugin is off") now appear in Russian withlanguage = "ru".check_i18n.pyalso checks that every plugin bundle has itsrutwin and is registered. The installer window keeps a package'si18n/<lang>.ftlwhen it installs from a file, a drop or a link (at most 16 files of 256 KB each); the runtime skips a.ftlover 256 KB. The other plugins'/phoecordanswers stay English for now. -
unindentplugin: code blocks you send or edit lose the indentation shared by all their lines (stage 1.2.2). -
1.2.12: command plugins, all off by default: CustomCommands (
/phoecord tags,/phoecord tag: text snippets with{{arg=default}}arguments, sent or shown only to you), FriendInvites (/phoecord create-friend-invite,view-friend-invites,revoke-friend-invites), petpet (/phoecord petpet: a headpat GIF of an avatar or a Discord-hosted picture, uploaded to the channel), SpotifyShareCommands (/phoecord track,album,artist: the link of what you are listening to), and the data parts of ServerInfo (/phoecord serverinfo), ViewRaw (/phoecord viewraw: raw JSON of a message, channel, server, role or user) and UnsuppressEmbeds (/phoecord unsuppress). For plugin authors:commands::invocationreads a/phoecordcall with its channel, andcommands::kept_answershows the answer a plugin computed as itself; an empty answer shows nothing. The plugins crate now depends onimage(PNG, JPEG, GIF). -
1.2.13: presence plugins, all off by default, working on the presence the client sends (identify and op 3): AutoDNDWhilePlaying (shows
statusToSet, default Do Not Disturb, while a "Playing" activity is on; your status setting itself is not changed), IgnoreActivities (Vencord's filter:listMode,idsList, theignore*switches,ignoredActivities;/phoecord activities,/phoecord ignoreactivity), CustomIdle (idleTimeout0 = never idle or above 10 minutes,remainInIdlewith/phoecord exitidle), CustomRPC (Vencord's settings, images by asset name or link;/phoecord rpc) and MusicRichPresence (Last.fm or ListenBrainz now playing every 16 s). For plugin authors:presence.rsfinds the presence in identify and op 3, andOwnedadds one activity of a plugin's own without stacking copies. -
1.2.17: data parts, all off by default: Translate (
/phoecord translatefor a text or a message,autoTranslate//phoecord autotranslatefor what you send; Google, as in Vencord; DeepL and Kagi fall back to Google because they needAuthorization/Cookieheaders), ReviewDB (/phoecord reviewsreads a user's reviews; writing needs the ReviewDB token header) and VoiceMessages (/phoecord voicemessagesends an Ogg Opus file from Discord's CDN as a voice message with duration and waveform). XSOverlay is not ported: it needs a local UDP or WebSocket right the Plugin API does not have, and none is planned.
Changed
- 2.4.5:
TERMS.md§4 and §6 (andTERMS.ru.md) now describe the automatic updates (daily check of GitHub, signedSHA256SUMS, install at next start, how to turn off) and how to verify a hand-downloaded file withminisign. - 2.4.5: Windows has one installer, the setup
.exe; the.msiis no longer built (a setup run over a 0.5.msiinstall offers to remove it). Releases are published only after every file is uploaded. - macOS: the minimum is now macOS 13 (Ventura), because the client is started with
open --env, which macOS 13 added. Macs on macOS 11 and 12 cannot install 0.5.1. Host::emit_sendfrom a REST event (for example a/phoecordcommand) or a timer goes to the live gateway connection at once instead of being lost; every plugin-queued send passes the Send chain once.- The per-plugin
Host::restlimit allows bursts: 5 calls per 5 s (was 1 per second); a refusal saysretry in X s. The 5/s overall cap and Discord's buckets are unchanged. - 1.5.8: the loader (
version.dll) is cheap: Electron child processes (--type=on the command line) get export forwarding only, no worker, and the main process identifies the client build from the exe already mapped in memory instead of reading the whole file (about 140 ms and 224 MB per process before); the log lineclient build: …now ends with the detection time in ms. The.texthash is unchanged, so existingsignatures/*.tomlkeep matching.
Fixed
/phoecord petpet,serverinfo,viewraw, the Spotify share commands andtags/tagalways answered "did not run": PetPet, ServerInfo, ViewRaw, SpotifyShareCommands and CustomCommands were built but never put in the plugin chain, where their answers are computed. A test now checks every plugin behind akept_answercommand.- Twelve data parts from 1.2.16 (MemberCount, MessageLinkEmbeds, ReadAllNotificationsButton, PauseInvitesForever, PlatformIndicators, UserVoiceShow, TypingIndicator, VcNarrator, NewGuildSettings, ValidReply, ValidUser, OverrideForumDefaults) read gateway dispatches as bare data while the proxy hands plugins the whole
{op, t, d}frame, so they saw nothing in a real session; they now readdthroughstate::dispatch_data, with a real-frame test each. - macOS: Discord started by PhoeCord could not read its own data ("Operation not permitted",
installer.dbcould not be opened, the updater showed "Installation paused"), because as a child of PhoeCord.app it was treated as PhoeCord.app reaching into another app's data. A.appclient is now started through LaunchServices (open -n -a <Discord>.app --env ... --args --proxy-server=...), so it is its own process. Windows and Linux are unchanged. - macOS: the downloaded
PhoeCord.appsaid "damaged and can't be opened". The app is now ad-hoc signed after packaging and the.dmgis refreshed with the signed copy (scripts/package/sign-macos.sh); the installers job checks the signature withcodesign --verify. macOS now shows the ordinary "unidentified developer" prompt with Open Anyway. - Release notes start with "Which file do I download?" and the macOS note has the
xattr -dr com.apple.quarantinefallback. phoecordwith no command no longer silently starts the proxy: it prints what PhoeCord is and the main commands (English and Russian) and exits. Autostart (launchd, systemd, Run key), shortcuts and the installer window already passrunorlaunch, so entries written by 0.5.0 keep working without a rewrite.
Security
- 2.4.6, audit finding A1: automatic updates need the owner's signature. A release's
SHA256SUMSis signed with an offline minisign key (SHA256SUMS.minisig, trusted commentphoecord <version>), the public key is built into PhoeCord, and an update whose list is unsigned, signed with another key or signed for another version is refused. CI leaves releases as drafts; the owner publishes them after signing (scripts/sign-release.ps1; the key is made once withscripts/new-update-key.ps1). The public key (IDCC88851881F300F5) is incrates/phoecord-installer/update-key.pub. - 2.4.6 audit:
ca.keyanddev-tokenare set owner-only on every write on Unix, not only when created;Host::restrefuses dot segments written with%2ein any mix. Findings and what stays open:SECURITY.md, "Audit".
Which file do I download?
- Windows:
PhoeCord_<version>_x64-setup.exe. - Mac with Apple Silicon (M1 and newer):
PhoeCord_<version>_aarch64.dmg. - Intel Mac:
PhoeCord_<version>_x64.dmg. - Debian, Ubuntu, Mint:
PhoeCord_<version>_amd64.deb(sudo apt install ./PhoeCord_<version>_amd64.deb). - Fedora, openSUSE:
PhoeCord_<version>_x86_64.rpm(sudo dnf install ./PhoeCord_<version>_x86_64.rpm). phoecord-*archives: the command-line tool, for advanced users and other Linux distributions. Most people want the installer above.
Updating
An installed PhoeCord checks for a new release once a day, downloads it, checks it against SHA256SUMS and the owner's signature SHA256SUMS.minisig, and installs it the next time the PhoeCord window or its background proxy starts (on Linux, the window asks for your password). Turn this off in the window's Settings, or with [update] auto = false in config.toml. To update by hand, install the new file over the old one; the command-line archives are never updated automatically.
Before you install
These builds have no publisher certificate (the Mac app is only ad-hoc signed). Check them against SHA256SUMS before you run them. SHA256SUMS itself is signed with the owner's minisign key: with minisign installed, minisign -Vm SHA256SUMS -p update-key.pub (the key is crates/phoecord-installer/update-key.pub in the repository) must print "Signature and comment signature verified" and phoecord <version>.
- Windows: SmartScreen shows "Windows protected your PC". Click More info, then Run anyway. Verify a file with
Get-FileHash .\<file> -Algorithm SHA256and compare it with the line inSHA256SUMS. - macOS: Gatekeeper blocks the app on first start. Right-click it, choose Open, then Open again. If macOS still refuses, open System Settings, Privacy and Security, scroll to the message about PhoeCord and choose Open Anyway. As a last resort, run
xattr -dr com.apple.quarantine /Applications/PhoeCord.appin Terminal. - Linux and anything else: put the files and
SHA256SUMSin one folder and runsha256sum -c SHA256SUMS --ignore-missing.