Skip to content
ruezoPublic

About

A Chromium extension that turns Linux DO into a VS Code workbench. | 像读源码一样逛 LINUX DO。

Resources

Stars

14 stars

Watchers

0 watching

Forks

Repository files navigation

DOCode

DOCode

Your forum, now with a minimap.

A Chromium and Firefox extension that renders community as a VS Code workbench.

MIT License Manifest V3 Firefox TypeScript Release

English · 简体中文


Open the forum. See source code.

import LinuxDo.Community;

public class LinuxDo {

    private final Community community = new Community();

    private void @neo() {
        // /t/topic/2723223/9527 · pinned
        community.post("社区贴子标题")
            .at("1 hour")
            .comments(567)
            .views(20,018);
    }
}

Demo

demo.mp4

Features

  • The full workbench — Activity Bar, Explorer, editor tabs, breadcrumbs, minimap, Outline, status bar, and a bottom panel, faithful to Dark Modern down to the pixel.
  • Instant exit — one click restores the original Linux DO. Disabling removes every listener, observer, and style DOCode owns.

Install

Download latest release

Grab the file for your browser from the latest release — or build both yourself:

npm ci
npm run package:extension

Chrome / Edge / Brave — docode-x.y.z-chrome.zip

  1. Unzip it, open chrome://extensions, and enable Developer mode.
  2. Load unpacked → select the unzipped folder (or .output/chrome-mv3).
  3. Visit linux.do.

Firefox 128+ — docode-x.y.z-firefox.xpi

The add-on is unsigned, so Firefox Release and Beta refuse to install it permanently. Either load it for the session, or use a build that allows unsigned add-ons:

  1. Any Firefox, until restart: open about:debugging#/runtime/this-firefox → Load Temporary Add-on… → pick the .xpi (or .output/firefox-mv3/manifest.json).
  2. Developer Edition, Nightly, or ESR, permanently: set xpinstall.signatures.required to false in about:config, then open the .xpi with about:addons → gear → Install Add-on From File….
  3. Visit linux.do.

Building from source requires Node.js 22+. The .xpi and docode-x.y.z-firefox.zip are the same archive under two names — Firefox wants the .xpi extension, add-on stores want the .zip.

Privacy

One storage permission. One content script, matched to https://linux.do/* only. No telemetry, no cloud, no credential access, no remote code. Requests never leave the Linux DO origin.

Development

npm run dev              # WXT dev build (Chrome)
npm run dev -- -b firefox --mv3   # WXT dev build (Firefox)
npm run check            # format + lint + typecheck + tests + both builds + security audits
npm run verify:extension # full Playwright acceptance suite
npm run verify:package           # Chrome archive integrity + install/uninstall lifecycle
npm run verify:package:firefox   # Firefox archive integrity + add-on manifest
npx web-ext lint --source-dir .output/firefox-mv3   # optional Mozilla add-on linter

License

MIT © 2026 ruez

Not affiliated with Microsoft, Visual Studio Code, or LINUX DO.

Friendship Links

LINUX DO

About

A Chromium extension that turns Linux DO into a VS Code workbench. | 像读源码一样逛 LINUX DO。

Resources

Stars

14 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages