{"id":15457679,"url":"https://github.com/neysofu/en2tex","last_synced_at":"2025-11-17T09:01:24.693Z","repository":{"id":65692833,"uuid":"597505430","full_name":"neysofu/en2tex","owner":"neysofu","description":"A CLI utility to generate LaTeX mathematical expressions, powered by OpenAI APIs","archived":false,"fork":false,"pushed_at":"2023-02-05T13:56:01.000Z","size":82,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-12T14:06:31.236Z","etag":null,"topics":["cli","gpt-3","latex","openai"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/neysofu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2023-02-04T18:55:40.000Z","updated_at":"2024-04-17T11:15:29.000Z","dependencies_parsed_at":"2023-02-19T00:01:18.982Z","dependency_job_id":null,"html_url":"https://github.com/neysofu/en2tex","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neysofu%2Fen2tex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neysofu%2Fen2tex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neysofu%2Fen2tex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neysofu%2Fen2tex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neysofu","download_url":"https://codeload.github.com/neysofu/en2tex/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231391193,"owners_count":18369722,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["cli","gpt-3","latex","openai"],"created_at":"2024-10-01T22:49:36.979Z","updated_at":"2025-10-26T23:44:33.478Z","avatar_url":"https://github.com/neysofu.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `en2tex`\n\nA CLI utility to generate LaTeX mathematical expressions, powered by OpenAI APIs.\n\n![demo](resources/demo.gif)\n\n## Installation\n\n```\ncargo install en2tex\n```\n\nYou may need to close and reopen your terminal after installation.\n\n## Usage\n\n`en2tex` uses [GPT-3](https://beta.openai.com/). To use it, you'll need to grab an API key from [your dashboard](https://beta.openai.com/), and save it to `OPENAI_API_KEY` environment variable as follows (I suggest saving it in your shell's profile for persistance between sessions):\n\n```bash\nexport OPENAI_API_KEY='sk-XXXXXXXX'\n```\n\nOnce you have configured your environment, run `en2tex` followed by whatever mathematical expression that you want.\n\nTo get a full overview of all available options, run `en2tex --help`\n\n```\nA CLI utility to generate LaTeX mathematical expressions, powered by OpenAI APIs\n\nUsage: en2tex [OPTIONS] [PROMPT]...\n\nArguments:\n  [PROMPT]...  Description of the desired LaTeX output. You can use English words, abbreviations, or any notation resembling LaTeX commands and AsciiMath\n\nOptions:\n  -m, --model \u003cMODEL\u003e  Which OpenAI model to use [default: text-davinci-003]\n  -c, --copy           Copy the generated LaTeX without asking for confirmation first\n  -h, --help           Print help information\n  -V, --version        Print version information\n```\n\n## Acknowledgements \n\nThis repository is a fork of https://github.com/m1guelpf/plz-cli, which inspired `en2tex`. The original code was simple enough for me to seamlessly adapt it to LaTeX. Thank you to the original authors!\n\n## License\n\nThis project is open-sourced under the MIT license. See [the License file](LICENSE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneysofu%2Fen2tex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneysofu%2Fen2tex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneysofu%2Fen2tex/lists"}