{"id":37372969,"url":"https://github.com/dxddxx/texicode","last_synced_at":"2026-01-16T05:00:59.099Z","repository":{"id":310544225,"uuid":"1040103032","full_name":"dxddxx/TeXicode","owner":"dxddxx","description":"TeXicode - TeX to Unicode, a Unicode TeX renderer that renders TeX into Unicode by rendering the TeX","archived":false,"fork":false,"pushed_at":"2026-01-13T02:10:47.000Z","size":20571,"stargazers_count":36,"open_issues_count":1,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-13T05:21:32.984Z","etag":null,"topics":["ascii-art","cli","latex","unicode"],"latest_commit_sha":null,"homepage":"","language":"Python","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/dxddxx.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-08-18T13:11:45.000Z","updated_at":"2026-01-13T02:10:50.000Z","dependencies_parsed_at":"2025-09-10T03:48:57.630Z","dependency_job_id":"9105008b-8d85-4da6-a0e0-cd27e650865c","html_url":"https://github.com/dxddxx/TeXicode","commit_stats":null,"previous_names":["dxddxx/textr","dxddxx/texicode"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/dxddxx/TeXicode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxddxx%2FTeXicode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxddxx%2FTeXicode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxddxx%2FTeXicode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxddxx%2FTeXicode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dxddxx","download_url":"https://codeload.github.com/dxddxx/TeXicode/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxddxx%2FTeXicode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28477210,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T03:13:13.607Z","status":"ssl_error","status_checked_at":"2026-01-16T03:11:47.863Z","response_time":107,"last_error":"SSL_read: 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":["ascii-art","cli","latex","unicode"],"created_at":"2026-01-16T05:00:40.089Z","updated_at":"2026-01-16T05:00:59.080Z","avatar_url":"https://github.com/dxddxx.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"TeXicode, short for TeX to Unicode, a CLI that turns TeX math expressions into Unicode art.\n\n# [Webapp](https://texicode.dx512.com)\n\nPost math in Reddit/Discord/Teams or anywhere that supports code blocks. No more LaTeX screenshots or markdown exponents that don't work. Also useful for inserting single line equations into literally any text field.\n\n\u003cdetails\u003e\n\u003csummary\u003eQuick tutorial for Reddit\u003c/summary\u003e\n1. Visit the [TeXicode website](https://texicode.dx512.com), copy output to clipboard\n1. Make a new line in Reddit text field (check line spacing, if there is no line spacing above and below the cursor, it means Reddit does not see it as a separate line)\n![Reddit1.png](images/Reddit1.png)\n1. Add code block\n![Reddit2.png](images/Reddit2.png)\n1. Paste\n![Reddit3.png](images/Reddit3.png)\nIf the output from TeXicode is a single line, can be placed inline using `Code` instead of `Code Block`\n\u003c/details\u003e\n\n\n# CLI\n\n### Install\n\n```bash\npipx install TeXicode\n```\n\n### Basic Usage\n\n- `txc '\\LaTeX'` to output Unicode art\n    - wrap TeX equation inside ***single*** quotes\n    - escape expression like `f'(x)` with `f\\'(x)`\n    - `\\[ \\]`, `\\( \\)`, `$ $`, `$$ $$`, `\\begin{...} \\end{...}` is optional\n- `-h` show help message and exit\n- `-d` enable debug\n- `-f \u003cFILE\u003e` input Markdown file, see more [below](#Rendering-Math-in-Markdown)\n- `-c` enable color (black on white)\n- `-n` use normal font instead of serif\n- unsupported commands will be rendered as `?`, or raise an error. If you see these or other rendering flaws, please post an issue, most can be easily fixed.\n\n### Rendering Math in Markdown\n\n- `txc -f filename.md` to replace TeX expressions in markdown files with Unicode art in text blocks.\n- pipe into a markdown renderer like [glow](https://github.com/charmbracelet/glow) for ultimate terminal markdown preview:\n\nHere is [example.md](example.md) rendered with `txc -f example.md -c | glow`, in the [JuliaMono](https://juliamono.netlify.app/) font.\n\n![Screenshot](images/example.png)\n\n# Features\n\n- supports most LaTeX math commands\n- uses Unicode\n    - not limited to ASCII characters\n    - Unicode italic glyphs are used to differentiate functions from letters, similar to LaTeX\n- works with any good terminal font\n    - does not use any legacy glyphs\n    - go to `src/arts.py`, comment/uncomment some parts if your font support legacy glyphs to get even better symbols (actually you can't do that no more i removed the comments...)\n\n\u003c!--\n\n# Design Principles\n\n- Use box drawing characters for drawing lines and boxes\n    - supported in almost all terminal fonts\n    - consistent spacing between lines\n    - fine tune length with half length glyphs\n- Horizon (center line)\n    - makes long concatenated expression readable\n    - vertical horizon for \u0026= aligning\n    - space saving square roots kinda goes against this, might fix later when I find a better way to draw square roots (found it!)\n- Clarity over aesthetics\n    - the square root tail is lengthened for clarity\n    - all glyphs must connect, sums, square roots, etc\n- Fully utilize Unicode features, expressions should look as good as the possibly can\n\n# TODO\n\n- toggled font/artstyle/glyph/legacy/asciimode\n- CJK\n- get vectors and matrices working\n    - better \\begin parsing logic\n- Better web input field\n    - x button\n    - code mirror\n- comment with %\n- macro expansion\n- displaystyle, small summation\n- better error, consistent with LaTeX\n- overline\n    - like sqrt, use accent if single char, box drawing if not\n- math mode in \\text\n- \\bm \\boldsymbol (easy)\n- big square root with multi line degree\n    - with concat and lower\n- delimiters\n    - tall angle brackets\n    - \\middle\n- turn it into a vim plugin\n\n--\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdxddxx%2Ftexicode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdxddxx%2Ftexicode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdxddxx%2Ftexicode/lists"}