{"id":50135102,"url":"https://github.com/aloglu/smart-typography","last_synced_at":"2026-05-23T21:05:59.775Z","repository":{"id":351872125,"uuid":"1109445357","full_name":"aloglu/smart-typography","owner":"aloglu","description":"Smart Typography is a Firefox extension that helps turn punctuation marks into proper ones","archived":false,"fork":false,"pushed_at":"2026-04-16T20:29:06.000Z","size":23,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-16T22:15:11.535Z","etag":null,"topics":["browser-extension","firefox","firefox-addon","firefox-extension","typography"],"latest_commit_sha":null,"homepage":"","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/aloglu.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":"2025-12-03T20:17:07.000Z","updated_at":"2026-04-16T20:29:11.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/aloglu/smart-typography","commit_stats":null,"previous_names":["aloglu/smart-typography"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/aloglu/smart-typography","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aloglu%2Fsmart-typography","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aloglu%2Fsmart-typography/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aloglu%2Fsmart-typography/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aloglu%2Fsmart-typography/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aloglu","download_url":"https://codeload.github.com/aloglu/smart-typography/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aloglu%2Fsmart-typography/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33412109,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-23T18:09:33.147Z","status":"ssl_error","status_checked_at":"2026-05-23T18:09:31.380Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["browser-extension","firefox","firefox-addon","firefox-extension","typography"],"created_at":"2026-05-23T21:05:59.171Z","updated_at":"2026-05-23T21:05:59.766Z","avatar_url":"https://github.com/aloglu.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Smart Typography\n\nSmart Typography is a Firefox extension that quietly upgrades every text field with professional punctuation. It turns straight quotes into curly ones as you type, swaps ASCII shortcuts (like `-\u003e` or `...`) for their typographic counterparts, and even formats fractions with true glyphs or stacked numerators/denominators. A toolbar popup lets you pause the extension globally or toggle it per-site in one click.\n\n## Features\n- Replaces straight quotation marks with smart single (`‘ ’`) and double (`“ ”`) quotes in real time, including nested contexts.\n- Converts common punctuation shortcuts into typographically correct characters without touching existing text.\n- Detects typed fractions (e.g., `3/4`, `11/16`) and replaces them with dedicated Unicode glyphs or a superscript/subscript stack.\n- Provides a popup UI with global and per-site switches plus live status labels for the active tab.\n- Offers an escape hatch: prefix a quote with `\\` to insert the literal straight character.\n- Draws a colored line on the extension icon so you can see whether Smart Typography is active on the current tab.\n\n## Automatic replacements\n\n| Typed sequence | Replacement | Notes |\n| --- | --- | --- |\n| `'` | `‘` or `’` | Chooses opening/closing form based on context. |\n| `\"` | `“` or `”` | Tracks nested double quotes to decide when to close. |\n| `...` | `…` | Ellipsis, inserted after you finish typing the dots. |\n| `--` | `—` | Em dash. |\n| `\u003c-` | `←` | Left arrow. |\n| `-\u003e` | `→` | Right arrow. |\n| `\u003c=` | `≤` | Less-than or equal. |\n| `\u003e=` | `≥` | Greater-than or equal. |\n| `/=` | `≠` | Not equal. |\n| `\u003c\u003c` | `«` | Left angle quotes / guillemets. |\n| `\u003e\u003e` | `»` | Right angle quotes / guillemets. |\n\n## Fraction support\n\nThe content script watches for `number/number` patterns immediately before the caret:\n\n- Built-in glyphs: `1/2 → ½`, `1/3 → ⅓`, `2/3 → ⅔`, `1/4 → ¼`, `3/4 → ¾`, `1/5 → ⅕`, `2/5 → ⅖`, `3/5 → ⅗`, `4/5 → ⅘`, `1/6 → ⅙`, `5/6 → ⅚`, `1/7 → ⅐`, `1/8 → ⅛`, `3/8 → ⅜`, `5/8 → ⅝`, `7/8 → ⅞`, `1/9 → ⅑`, `1/10 → ⅒`.\n- All other fractions fall back to stacked numerators and denominators using superscripts and subscripts, such as `11/16 → ¹¹⁄₁₆`.\n\n## Usage\n\n### Installation\nYou can install it like a regular Firefox extension by clicking [here](https://github.com/aloglu/smart-typography/releases/latest/download/Smart.Typography.xpi). The file is signed by Mozilla and should work in any modern version of Firefox without additional effort.\n\n### Popup controls\n- **Global switch** toggles Smart Typography everywhere and updates the badge/label immediately.\n- **Site switch** overrides just the active origin (handy for CMS editors or online IDEs).\n- Status text shows whether the current site is on, forced on, or disabled.\n\n## License\n\nReleased under the [MIT License](https://github.com/aloglu/smart-typography/blob/main/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faloglu%2Fsmart-typography","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faloglu%2Fsmart-typography","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faloglu%2Fsmart-typography/lists"}