Sno Station
Sno Station is your agents' workstation: open-source software that turns the AI agents you already run into one squad on your own machine. Two heads are better than one, and they get better with every
翻訳待ち
No updates detected yet. GitHub releases will appear here.
画面上の日本語をねこ語に変換するブラウザ拡張機能
Loading the full README.
Read the full README ↗「にゃんとぴあ」は、画面上の日本語をねこ語に変換するブラウザ拡張機能です。どんなにきつい言葉もねこ語に変換して、世界をちょっとやさしくします。
about:config の dom.webgpu.enabled を確認してください。WebGPU が使えない場合も「かんたん変換」は動きますcontent.js (各ページ) → background.js (常駐バックグラウンドページ、WebLLM + WebGPU)
テキストノード収集 メッセージの処理
置換 / 復元 llm-jp-3-150m で語尾変換、結果の後処理
#タグ)だけの文字列は変換せず、文末に並ぶハッシュタグは「にゃ」と絵文字の後ろに残します。lib/ に置いてあり、npm run build 時に scripts/fetch-wasm.mjs が public/wasm/ にダウンロードします。モデルの重みだけを実行時に Hugging Face から取得します。dist/wasm/ へ切り出しています(addons.mozilla.org は 5MB を超える JavaScript ファイルを受け付けないため)。maxStorageBuffersPerShaderStage を固定で 10 要求しますが、Firefox の上限は 9 なので、ビルド時にブラウザの上限に合わせるよう書き換えています。ねこ語モデルは 9 で動くことを確認しています。npm install # package-lock.json のとおりに依存関係を入れる
npm run build # dist/ に出力
Firefox で about:debugging#/runtime/this-firefox を開き、「一時的なアドオンを読み込む」から dist/manifest.json を選ぶと試せます。
The extension is bundled with esbuild. To reproduce the distributed package from this source:
npm install, then npm run package. The output web-ext-artifacts/nyantopia-firefox-<version>.zip is the submitted packagepublic/wasm/nyantopia-llm-jp-3-150m-q4f16_1_cs1k-webgpu.wasm is the model runtime (the TVM/WebGPU kernels for this model),
compiled from the unmodified mlc-llm sources (commit 8978ea9, TVM 201fa00 = web-runtime 0.28.0-dev0, the version WebLLM 0.2.86
bundles) with mlc_llm compile --device webgpu (LLVM 23.1, Emscripten 4.0.23). It is published next to the weights at
https://huggingface.co/jasmray/nyantopia-llm-jp-3-150m-q4f16_1-MLC/tree/main/lib together with BUILD-INFO.json.
scripts/fetch-wasm.mjs downloads it only when the file is missingdist/wasm/xgrammar.wasm and dist/wasm/web-tokenizers.wasm are extracted at build time from the base64 data URIs embedded in
node_modules/@mlc-ai/web-llm/lib/index.js (see build.mjs), without modificationbuild.mjs applies one change to the WebLLM library while bundling: the requested WebGPU limit
maxStorageBuffersPerShaderStage is lowered to the adapter's limit (Firefox exposes 9, WebLLM asks for 10)にゃんとぴあのコードは MIT ライセンス です。
利用している外部のライブラリ、モデル、素材のライセンスは THIRD_PARTY_NOTICES.md にまとめています。