{"id":19082158,"url":"https://github.com/sergei-mironov/litrepl","last_synced_at":"2025-09-03T13:17:45.750Z","repository":{"id":57767318,"uuid":"524521858","full_name":"sergei-mironov/litrepl","owner":"sergei-mironov","description":"Litrepl is a command-line tool and Vim plugin for evaluating code sections within Markdown or LaTeX documents.","archived":false,"fork":false,"pushed_at":"2025-08-19T19:36:21.000Z","size":4600,"stargazers_count":3,"open_issues_count":19,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-08-19T21:24:10.099Z","etag":null,"topics":["latex","linux","literate-programming","markdown","python","repl","vim","vim-plugin"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sergei-mironov.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2022-08-13T22:33:25.000Z","updated_at":"2025-08-19T19:36:24.000Z","dependencies_parsed_at":"2023-02-18T17:46:08.868Z","dependency_job_id":"a58f3f8d-58da-4145-86b0-813f2f4253f0","html_url":"https://github.com/sergei-mironov/litrepl","commit_stats":null,"previous_names":["sergei-mironov/litrepl.vim","grwlf/litrepl.vim"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/sergei-mironov/litrepl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergei-mironov%2Flitrepl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergei-mironov%2Flitrepl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergei-mironov%2Flitrepl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergei-mironov%2Flitrepl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sergei-mironov","download_url":"https://codeload.github.com/sergei-mironov/litrepl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergei-mironov%2Flitrepl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273448736,"owners_count":25107630,"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","status":"online","status_checked_at":"2025-09-03T02:00:09.631Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["latex","linux","literate-programming","markdown","python","repl","vim","vim-plugin"],"created_at":"2024-11-09T02:41:56.523Z","updated_at":"2025-09-03T13:17:45.740Z","avatar_url":"https://github.com/sergei-mironov.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003ch1\u003e\n⌨️ LitRepl ⌨️\n\u003c/h1\u003e\n\n[Changelog](./CHANGELOG.md) | [Installation](https://sergei-mironov.github.io/litrepl/installation) | [Usage](https://sergei-mironov.github.io/litrepl/usage/general-concepts/) | [Gallery](#-gallery)\n\n[![](./img/coverage.svg)](./docs/coverage.md)\n\u003c/div\u003e\n\n\u003c!--\n``` python\n!echo -n Litrepl is a\n!cat docs/static/description.md | sed '/^\\#/d;/^$/d'\n```\n--\u003e\n\u003c!--result--\u003e\nLitrepl is acommand-line processor for *Markdown* or *LaTeX* documents with\n**literate programming** code sections. Instructed by its arguments, it\nevaluates and updates sections via background interpreters. Interpreters can\nstay active for a **read-eval-paste-loop** style.\n\u003c!--noresult--\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n![Peek 2024-07-18 20-50-2](https://github.com/user-attachments/assets/8e2b2c8c-3412-4bf6-b75d-d5bd1adaf7ea)\n\n\u003c/div\u003e\n\n\n_Notes:_\n* _[literate programming](https://en.wikipedia.org/wiki/Literate_programming)_\n* _[read-eval-print-loop coding](https://en.wikipedia.org/wiki/Read%E2%80%93eval%E2%80%93print_loop)_\n\n\n\u003ctable border=\"0\"\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\n      \u003ca href=\"https://arxiv.org/abs/2501.10738\"\u003e\n        \u003cimg src=\"img/adobe_pdf.png\" alt=\"PDF Icon\"\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd\u003e\n      Preprint: \u003ci\u003e(2025, Sergei Mironov)\u003c/i\u003e\n      \u003cins\u003eLitrepl: Literate Paper Processor Promoting Transparency More Than Reproducibility\u003c/ins\u003e\n      \u003ca href=\"https://arxiv.org/abs/2501.10738\"\u003earXiv:2501.10738\u003c/a\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\nFeatures\n--------\n\n* **Document formats** \u003cbr/\u003e\n  Markdown _(Example [[MD]](./docs/examples/example.md))_ **|**\n  [LaTeX](https://www.latex-project.org/)\n  _(Examples [[TEX]](./docs/examples/example.tex)[[PDF]](./docs/examples/example.pdf))_\n* **Interpreters** \u003cbr/\u003e\n  [Sh](https://en.wikipedia.org/wiki/Bourne_shell) **|**\n  [Bash](https://www.gnu.org/software/bash/) **|**\n  [Python](https://www.python.org/) **|**\n  [IPython](https://ipython.org/) **|**\n  [Aicli](https://github.com/sergei-mironov/aicli)\n* **Editor integration** \u003cbr/\u003e\n  [Vim](https://www.vim.org/scripts/script.php?script_id=6117) _(plugin source included)_\n\nRequirements\n------------\n\n* **POSIX-compatible OS**, typically a Linux. The tool relies on POSIX\n  operations, notably pipes, and depends on certain Shell commands.\n* **lark-parser** and **psutil** Python packages.\n* **[Socat](http://www.dest-unreach.org/socat/)** (Optional) Needed for\n  `litrepl repl` and Vim's `LTerm` commands to work.\n\nDocumentation\n-------------\n\n* [Installation](https://sergei-mironov.github.io/litrepl/installation/)\n* [Basic usage](https://sergei-mironov.github.io/litrepl/usage/general-concepts/)\n* [Formatting documents](https://sergei-mironov.github.io/litrepl/usage/formatting/)\n\n\nFor full documentation, check out the project's [GitHub Pages\nsite](https://sergei-mironov.github.io/litrepl/).\n\nGallery\n-------\n\n\u003cdetails\u003e\n\u003csummary\u003eBasic usage (Show GIF)\u003c/summary\u003e\n\n![Peek 2024-07-18 20-50-2](https://github.com/user-attachments/assets/8e2b2c8c-3412-4bf6-b75d-d5bd1adaf7ea)\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eAI capabilities (Show GIF)\u003c/summary\u003e\n\n![Peek 2024-11-28 20-48](https://github.com/user-attachments/assets/c91e6ac5-4230-47ad-b1bd-12b3d4d5f7f6)\n\n\u003c/details\u003e\n\n\n\u003cdetails\u003e\n\u003csummary\u003eVimtex integration (Show Video)\u003c/summary\u003e\n\nWe utilize LitRepl alongside the [Vimtex](https://github.com/lervag/vimtex) plugin to edit and\npreview LaTeX documents instantly.\n\n\u003cvideo controls src=\"https://user-images.githubusercontent.com/4477729/187065835-3302e93e-6fec-48a0-841d-97986636a347.mp4\" muted=\"true\"\u003e\u003c/video\u003e\n\n\u003c/details\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsergei-mironov%2Flitrepl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsergei-mironov%2Flitrepl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsergei-mironov%2Flitrepl/lists"}