Open source · GitHubโอเพนซอร์ส · GitHub

Code I have made publicโค้ดที่เปิดให้ใช้ฟรี

A hand-picked shelf, not a mirror of the account.ชั้นหนังสือที่เลือกมาเอง ไม่ใช่การก๊อบทุก repo มาวาง

Every repository below was put here deliberately, read through, and written up in plain language: what it actually does, how it works, how to install it, and what it will not do for you. Small tools mostly — the kind of thing I needed once, could not find, and ended up writing.ทุก repo ที่อยู่ด้านล่างนี้ผมเลือกเอามาลงเอง อ่านโค้ดจนเข้าใจแล้วเขียนอธิบายด้วยภาษาคนว่ามันทำอะไรได้จริง ทำงานยังไง ติดตั้งยังไง และมีอะไรที่มันทำให้ไม่ได้ ส่วนใหญ่เป็นเครื่องมือเล็ก ๆ ที่ผมเคยต้องใช้เอง หาไม่เจอ เลยลงมือเขียนขึ้นมา

Stars, forks and the last-push date are read live from the GitHub API when the page is built; if GitHub is unreachable or rate-limited the card shows the numbers recorded when it was written and says so.จำนวนดาว fork และวันที่แก้ล่าสุด ดึงสดจาก GitHub API ตอนสร้างหน้า ถ้าเรียก GitHub ไม่ได้หรือโดนจำกัดจำนวนครั้ง การ์ดจะแสดงตัวเลขที่บันทึกไว้ตอนเขียนแทน และจะบอกให้รู้ว่าเป็นตัวเลขเก่า

1 repositoryrepository

Disable Chrome AI Modeปิด AI Mode ของ Chrome

Uniqcret/disable-chrome-ai-mode
  • Python
  • licenceสัญญาอนุญาตMIT
  • 0starsดาว
  • 0forksfork
  • last pushแก้ล่าสุด25 Aug 2026

A small cross-platform kit that turns off Google Chrome's AI Mode in the address bar (omnibox) by setting the enterprise policy AIModeSettings=1 — the real off switch, now that the chrome://flags toggles no longer do anything. It ships a double-click .reg file and a self-elevating PowerShell script for Windows, plus bash installers for macOS and Linux, and every path has an --undo. Verification is a glance at chrome://policy, or the bundled Python checker.ชุดสคริปต์ข้ามแพลตฟอร์มขนาดเล็กสำหรับปิด AI Mode ที่ Google ใส่มาในช่อง address bar (omnibox) ของ Chrome โดยตั้งค่า enterprise policy ชื่อ AIModeSettings=1 ซึ่งเป็นสวิตช์จริงที่ยังใช้ได้ หลังจากที่ตัวเลือกใน chrome://flags ปิดไม่ได้อีกต่อไป มีทั้งไฟล์ .reg ที่ดับเบิลคลิกได้และสคริปต์ PowerShell ที่ยกสิทธิ์ admin ให้เองสำหรับ Windows พร้อมสคริปต์ bash สำหรับ macOS และ Linux ทุกวิธีมีคำสั่ง --undo ให้ย้อนกลับ ส่วนการตรวจสอบก็แค่เปิด chrome://policy ดู หรือใช้ตัวเช็กที่เขียนด้วย Python ที่แถมมาให้

What you getมีอะไรบ้าง

  • The problem: Chrome pushes AI Mode into the omnibox search box, and the chrome://flags toggles people used to turn it off no longer work.
  • The mechanism: it writes the enterprise policy AIModeSettings=1 at the mandatory (machine) level — not 2, which is what most guides online say and what makes chrome://policy show an error.
  • Install: Windows gets a double-click .reg file, a self-elevating PowerShell script and a one-line reg add; macOS and Linux get bash installers. Every path ships an --undo.
  • Verify: open chrome://policy and check that AIModeSettings reads 1 with status OK, or run verify/check_policy.py (Python, with Playwright optional).
  • Caveats: it needs admin/sudo and Chrome 138 or newer, the right-click "Always show AI Mode shortcuts" option only hides the UI, and once the policy is in place AI Mode cannot be switched back on from Chrome's own settings.
  • Ships AGENTS.md, CLAUDE.md and a Claude Code skill, so an AI coding agent can read the repo and apply the policy for you.
  • ปัญหา: Chrome ดัน AI Mode เข้ามาในช่องค้นหาบน address bar และตัวเลือกใน chrome://flags ที่เคยใช้ปิดได้ก็ใช้ไม่ได้แล้ว
  • กลไก: เขียน enterprise policy AIModeSettings=1 ในระดับเครื่อง (mandatory) — ไม่ใช่ค่า 2 อย่างที่คู่มือส่วนใหญ่ในเน็ตบอกไว้ ซึ่งจะทำให้ chrome://policy ขึ้น error
  • วิธีติดตั้ง: Windows มีทั้งไฟล์ .reg ที่ดับเบิลคลิกได้ สคริปต์ PowerShell ที่ยกสิทธิ์ admin ให้เอง และคำสั่ง reg add บรรทัดเดียว ส่วน macOS กับ Linux ใช้สคริปต์ bash ทุกวิธีมี --undo ให้ย้อนกลับ
  • วิธีตรวจสอบ: เปิด chrome://policy แล้วดูว่าแถว AIModeSettings เป็นค่า 1 และสถานะเป็น OK หรือจะรัน verify/check_policy.py (เขียนด้วย Python ใช้ Playwright ก็ได้ ไม่ใช้ก็ได้)
  • ข้อควรรู้: ต้องมีสิทธิ์ admin/sudo และ Chrome เวอร์ชัน 138 ขึ้นไป · ตัวเลือกคลิกขวาที่ช่อง address bar อย่าง "Always show AI Mode shortcuts" แค่ซ่อนปุ่มเฉย ๆ และเมื่อ policy ทำงานแล้วจะเปิด AI Mode กลับจากหน้า settings ของ Chrome ไม่ได้
  • แถม AGENTS.md, CLAUDE.md และ skill สำหรับ Claude Code มาให้ด้วย ให้ AI agent อ่าน repo แล้วตั้งค่าให้ได้เลย
address-barai-agentsai-modeaimodesettingschromechrome-policyclaude-codegoogle-chromelinuxmacosomniboxwindows

Want one added?อยากให้เพิ่ม repo ไหน

The shelf grows one repository at a time, on purpose — each one is read and written up before it appears here. Everything is public on GitHub either way; this page is just the version with an explanation attached.ชั้นนี้จะค่อย ๆ เพิ่มทีละ repo แบบตั้งใจ เพราะแต่ละตัวต้องอ่านและเขียนอธิบายก่อนถึงจะขึ้นมาอยู่ตรงนี้ ยังไงทุก repo ก็เปิดสาธารณะอยู่บน GitHub อยู่แล้ว หน้านี้เป็นแค่เวอร์ชันที่มีคำอธิบายแนบมาให้

GitHub — open-source tools by Uniqcret