# itorr/nbnhhsh

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/itorr-nbnhhsh).**

6,259 stars · 241 forks · JavaScript · Apache-2.0

## Links

- GitHub: https://github.com/itorr/nbnhhsh
- Homepage: https://lab.magiconch.com/nbnhhsh/
- awesome-repositories: https://awesome-repositories.com/repository/itorr-nbnhhsh.md

## Topics

`javascript` `userscript`

## Description

nbnhhsh is a browser extension that translates Chinese pinyin acronyms and internet slang into their full phrases. It operates entirely on the client side, using a precompiled dictionary bundled with the extension to perform lookups without server round-trips after the initial load.

The project distinguishes itself through a community-driven dictionary that accepts user-submitted definitions through a review queue before merging them into the main dataset. It provides text selection lookup on any webpage, allowing users to highlight pinyin initialisms and see their expanded meanings, and can be embedded into any site via a simple code snippet.

The tool covers pinyin acronym decoding, Chinese internet slang translation, and slang definition submission, all within a browser-based text translation workflow. The dictionary is maintained as a static JSON bundle, with a moderation queue managing pending user contributions before publication.

## Tags

### Web Development

- [Slang Translation Extensions](https://awesome-repositories.com/f/web-development/browser-extensions/ai-translation-extensions/slang-translation-extensions.md) — Adds pinyin acronym translation to any webpage via a code snippet or browser integration.
- [Browser Extension Overlays](https://awesome-repositories.com/f/web-development/custom-page-frameworks/page-content-injections/browser-extension-overlays.md) — Injects a translation overlay into any webpage by appending a script tag that intercepts text selection events.
- [Translation Widgets](https://awesome-repositories.com/f/web-development/web-based-terminal-emulators/embeddable-terminal-widgets/translation-widgets.md) — Adding pinyin acronym translation functionality to any webpage via a simple code snippet.

### Artificial Intelligence & ML

- [Pinyin Acronym Decoders](https://awesome-repositories.com/f/artificial-intelligence-ml/chinese-natural-language-generation/chinese-phrasing-naturalization/pinyin-acronym-decoders.md) — Translates common pinyin abbreviations used in Chinese online communities into readable phrases.
- [Selected Text Translation Popups](https://awesome-repositories.com/f/artificial-intelligence-ml/text-translation-services/selected-text-translation-popups.md) — Translates selected Chinese pinyin acronyms on websites into their full meanings with a single action.

### Data & Databases

- [Acronym Decoders](https://awesome-repositories.com/f/data-databases/pinyin-transliterations/acronym-decoders.md) — Decoding pinyin initialisms commonly used in Chinese online communication into their expanded forms.
- [Pinyin Initialism Matchers](https://awesome-repositories.com/f/data-databases/pinyin-transliterations/pinyin-dictionary-imports/pinyin-initialism-matchers.md) — Matches user-selected text against a dictionary of Chinese pinyin acronyms using exact prefix lookup.
- [Pinyin Acronym Decoders](https://awesome-repositories.com/f/data-databases/pinyin-transliterations/pinyin-to-text-converters/pinyin-acronym-decoders.md) — Converts pinyin acronyms and abbreviations into their full Chinese phrases to clarify online slang. ([source](https://lab.magiconch.com/nbnhhsh/))
- [Pinyin Acronym Expanders](https://awesome-repositories.com/f/data-databases/pinyin-transliterations/pinyin-to-text-converters/pinyin-acronym-expanders.md) — Converts Chinese pinyin initialisms into their full phrases for understanding internet slang.
- [Crowdsourced Dictionary Backends](https://awesome-repositories.com/f/data-databases/input-method-dictionaries/morpheme-segmentation-dictionaries/dictionary-constraints/dynamic-user-dictionaries/crowdsourced-dictionary-backends.md) — Accepts user-submitted translations through a review queue before merging them into the main dictionary.

### Development Tools & Productivity

- [Client-Side Conversion Engines](https://awesome-repositories.com/f/development-tools-productivity/client-side-conversion-engines.md) — Performs all translation lookups entirely in the browser without server round-trips after the dictionary is loaded.

### Education & Learning Resources

- [Chinese Internet Slang Dictionaries](https://awesome-repositories.com/f/education-learning-resources/slang-and-idiom-lexicons/chinese-internet-slang-dictionaries.md) — Building and maintaining a community-driven dictionary of Chinese internet slang with user-submitted definitions.
- [Chinese Internet Slang Lexicons](https://awesome-repositories.com/f/education-learning-resources/slang-and-idiom-lexicons/chinese-internet-slang-lexicons.md) — Translating Chinese pinyin acronyms and internet slang into full phrases for better understanding.

### Programming Languages & Runtimes

- [Precompiled Acronym Dictionaries](https://awesome-repositories.com/f/programming-languages-runtimes/static-dictionary-lookups/precompiled-acronym-dictionaries.md) — Ships the entire acronym dictionary as a precompiled JSON file embedded in the extension or snippet.

### Content Management & Publishing

- [Definition Moderation Queues](https://awesome-repositories.com/f/content-management-publishing/comment-moderation-filters/user-comment-moderation/definition-moderation-queues.md) — Manages a pending queue of user-submitted definitions that require manual approval before publication.
- [Slang Definition Submissions](https://awesome-repositories.com/f/content-management-publishing/community-content-submissions/slang-definition-submissions.md) — Submit new acronym translations through a button on each entry, which are reviewed before being added to the dictionary. ([source](https://cdn.jsdelivr.net/gh/itorr/nbnhhsh@master/README.md))
