{"id":49792521,"url":"https://github.com/sakots/bullneo","last_synced_at":"2026-05-12T06:06:54.693Z","repository":{"id":352216586,"uuid":"1214297661","full_name":"sakots/bullneo","owner":"sakots","description":"ふたばにNEOでレスする","archived":false,"fork":false,"pushed_at":"2026-05-09T05:45:09.000Z","size":184,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-09T07:31:54.771Z","etag":null,"topics":["futaba","paint-application"],"latest_commit_sha":null,"homepage":"https://neo.sakots.net/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sakots.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-18T11:34:04.000Z","updated_at":"2026-05-09T05:45:13.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/sakots/bullneo","commit_stats":null,"previous_names":["sakots/bullneo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sakots/bullneo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sakots%2Fbullneo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sakots%2Fbullneo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sakots%2Fbullneo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sakots%2Fbullneo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sakots","download_url":"https://codeload.github.com/sakots/bullneo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sakots%2Fbullneo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32926049,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-11T17:09:15.040Z","status":"online","status_checked_at":"2026-05-12T02:00:06.338Z","response_time":102,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["futaba","paint-application"],"created_at":"2026-05-12T06:06:49.909Z","updated_at":"2026-05-12T06:06:54.686Z","avatar_url":"https://github.com/sakots.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BULLNEO \u0026 APPNEO\n\nBULLNEO（ぶるねお）は、ふたばちゃんねるの投稿フォームに `neo/dist/neo.js` を後付けで読み込み、描いた内容を PNG として添付欄へ戻すためのスクリプトです。\n\nAPPNEO（あぷねお）は、ふたばちゃんねるで最新のNEO+αを使うためのスクリプトです。\n\n## 使い方\n\nブックマークレットとして使うことができます。\nchromeなら、ブックマークバーに「ページを追加」で、URLを以下のjavascriptにしてください。\n\nお絵かきレス画面を表示してブックマークレットを起動してください\n\n```javascript\njavascript:(function(){var d=document,s=d.createElement('script');s.charset='UTF-8';s.src='https://neo.sakots.net/bullneo.js?bullneo_debug=1\u0026v='+Date.now();(d.head||d.documentElement).appendChild(s)})()\n```\n\n## 開発\n\n`bullneo.js` を HTTP(S) で置いて、`can.php` と同じ流儀のブックマークレットから読み込みます。`example.com` は実際に配置したホスト名へ置き換えてください。\n\n```javascript\njavascript:(function(){var d=document,s=d.createElement('script');s.charset='UTF-8';s.src='https://example.com/bullneo.js?bullneo_debug=1\u0026v='+Date.now();(d.head||d.documentElement).appendChild(s)})()\n```\n\n`bullneo.js` は同じ場所から相対パスで `neo/dist/neo.js` と `neo/dist/neo.css` を読むので、次のように配置してください。\n\n```text\n/\n  bullneo.js\n  neo/\n    dist/\n      neo.js\n      neo.css\n```\n\nブックマークレットを実行すると、そのまま NEO の編集画面を開きつつ、投稿フォームの近くに `手書き(NEO)` リンクも追加します。`画像に反映` を押すと描いた絵が PNG になって添付ファイル欄へ入るので、そのまま通常どおり投稿できます。\n\n`https://jun.2chan.net/oe/futaba.htm` のようにフォームが後から差し替わる板でも、添付欄つきフォームを監視して `手書き(NEO)` を再設置します。\n\n編集画面では、キャンバスサイズに加えて `手ブレ補正` のオン・オフと強さ `0` から `5` も `bullneo` 側で切り替えられます。\n\n## 外部パレット\n\n外部テキストのパレットマトリクスを読み込む場合は、ブックマークレットの `bullneo.js` の URL に `bullneo_palette` を追加してください。省略した場合は、`bullneo.js` 内蔵のデフォルトパレットを使います。\n\n```javascript\njavascript:(function(){var d=document,s=d.createElement('script');s.charset='UTF-8';s.src='https://example.com/bullneo.js?bullneo_palette=palette.txt\u0026v='+Date.now();(d.head||d.documentElement).appendChild(s)})()\n```\n\n`palette.txt` は `bullneo.js` からの相対パス、または絶対 URL を指定できます。\n独自パレットを外部テキストとして読む場合は、配信元が CORS で取得を許可している必要があります。\n（ふたばでは使えません）\n\nパレットテキストは次の形式です。1パレットにつき14色を指定してください。\n\n```text\n!Palette\n#000000\n#ffffff\n#b47575\n#888888\n#fa9696\n#c096c0\n#ffb6ff\n#8080ff\n#25c7c9\n#e7e58d\n#e7962d\n#99cb7b\n#fcece2\n#f9ddcf\n!Matrix\n```\n\n## 更新履歴\n\n### 2026/05/09 v0.1.3\n\n- 手ブレ補正機能の誤字対応\n\n### 2026/04/29 v0.1.2\n\n- ブックマークレット実行時に `手書き(NEO)` を押さなくても、そのままお絵描きフォームを開くようにした\n\n### 2026/04/28 v0.1.1\n\n- 手ブレ補正を `bullneo` 側から操作できるようにした\n- 動作確認用ファイル追加\n\n### 2026/04/21 v0.1.0\n\n- バージョン番号をかけるようにした\n- キャンバスの背景色を手書きのに寄せた\n- 描画処理の改善\n\n### 2026/04/19\n\n- パレットの指定をできるようにした\n\n### 2026/04/18\n\n- 生やした\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsakots%2Fbullneo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsakots%2Fbullneo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsakots%2Fbullneo/lists"}