neuron-explorer
Qwen3.5‑4B 전용 조향형 뉴런 탐색기, 모든 MLP 뉴런을 밀어 결과를 보관·탐색
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기Chrome Plugin to syntax highlight Spice on GitHub
저장소 README에서 가져옴
README 전체를 불러오는 중입니다.
README 전문 보기 ↗A Chrome extension that brings the Spice programming language to GitHub until GitHub Linguist supports it natively:
*.spice files```spice in READMEs, issues, comments, etc.The highlighting uses GitHub's own syntax theme colors, so it matches the selected light/dark theme.
chrome://extensions, enable Developer mode (top right).extension directory.Click the extension icon to open the options: toggle the features, choose the Spice color for the language bar and optionally set a GitHub token.
The language statistics are computed with the GitHub REST API. Without a token, GitHub allows 60 requests per hour
and only public repositories can be analyzed. Responses are cached and revalidated with conditional requests, which
do not count against the limit, so this is usually enough for browsing. For private repositories or heavy use, create
a fine-grained personal access token with read-only
Contents permission. The token is stored locally (chrome.storage.local) and only sent to api.github.com.
extension/shared/tokenizer.js is a lossless tokenizer following the lexer rules of the Spice compiler
(src-host/Spice.g4). The content script finds Spice code in the page and wraps the tokens in place by splitting text
nodes, so GitHub's own markup (word-level diff markers, code navigation) stays intact. Block comments and attribute
lists spanning multiple lines are handled via the lexer state: in file views it is computed from the full file
source, in diffs it is tracked separately for the old and new version of the file. Since GitHub renders lazily and
navigates without page reloads, a MutationObserver re-runs the (idempotent) highlighting whenever the page changes.
The background service worker fetches GET /repos/{owner}/{repo}/languages (the bytes per language GitHub knows) and
the recursive git tree of the default branch, which contains the size of every file. The Spice bytes are computed
like Linguist would:
*.spice files are counted, symlinks and submodules are notnode_modules/, third_party/) and documentation paths (e.g. docs/, examples/) are
excluded, using Linguist's own vendor.yml and documentation.yml patterns.gitattributes is respected: linguist-vendored, linguist-documentation, linguist-generated,
linguist-detectable and linguist-language.spice files mapped to another language via linguist-language (a common workaround to get highlighting) are
moved from that language to Spice, so they are not counted twiceThe languages GitHub displayed by name stay visible, the rest is grouped into "Other", like on GitHub.
Limitations compared to Linguist: content-based detection of generated files is not possible without downloading
every file, nested .gitattributes files are ignored, and for very large repositories the GitHub API truncates the
tree (the Spice entry's tooltip notes this).
npm install # installs jsdom for the DOM tests
npm test # runs the tests (the tokenizer is also checked against ../spice if present, or $SPICE_REPO)
npm run update-linguist # regenerates extension/shared/linguist-data.js from upstream Linguist
The extension has no build step: the files in extension/ are loaded as they are. After a change, click the reload
button of the extension in chrome://extensions and reload the GitHub tab.
Project layout:
| Path | Purpose |
|---|---|
extension/manifest.json | Manifest V3 |
extension/background.js | GitHub API access and caching |
extension/content/highlight.js | Syntax highlighting of files, diffs, snippets and Markdown |
extension/content/languages.js | Language bar in the repository sidebar |
extension/content/main.js | Content script entry point, settings and change observation |
extension/shared/tokenizer.js | Spice tokenizer |
extension/shared/linguist.js | Linguist-like file classification, .gitattributes and merging |
extension/shared/linguist-data.js | Generated: language colors, aliases, vendor/documentation paths |
extension/options/ | Options page |
MIT, see LICENSE.