{"id":19791678,"url":"https://github.com/santhoshtr/metapost-sandbox","last_synced_at":"2025-06-21T18:08:02.844Z","repository":{"id":170941411,"uuid":"647207067","full_name":"santhoshtr/metapost-sandbox","owner":"santhoshtr","description":"Try Metapost quickly and easily with our online sandbox application!","archived":false,"fork":false,"pushed_at":"2025-03-22T10:53:26.000Z","size":1655,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-11T10:15:11.929Z","etag":null,"topics":["metafont","metapost","online","preview-environment","previewer","sandbox","sandbox-playground"],"latest_commit_sha":null,"homepage":"https://mpost.thottingal.in/","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/santhoshtr.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}},"created_at":"2023-05-30T09:33:37.000Z","updated_at":"2025-03-22T10:53:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"a89d2a60-5656-4f1e-8467-0567294439fc","html_url":"https://github.com/santhoshtr/metapost-sandbox","commit_stats":null,"previous_names":["santhoshtr/metapost-sandbox"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/santhoshtr/metapost-sandbox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santhoshtr%2Fmetapost-sandbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santhoshtr%2Fmetapost-sandbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santhoshtr%2Fmetapost-sandbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santhoshtr%2Fmetapost-sandbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/santhoshtr","download_url":"https://codeload.github.com/santhoshtr/metapost-sandbox/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santhoshtr%2Fmetapost-sandbox/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261170423,"owners_count":23119513,"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":["metafont","metapost","online","preview-environment","previewer","sandbox","sandbox-playground"],"created_at":"2024-11-12T07:04:24.050Z","updated_at":"2025-06-21T18:07:57.720Z","avatar_url":"https://github.com/santhoshtr.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Metapost Sandbox\n\nTry [Metapost](https://tug.org/metapost.html) quickly and easily with our online sandbox application! View and preview your results in a user-friendly interface. Perfect for anyone wanting to experiment with Metapost without the hassle of setting up an environment. Start creating illustrations now!\n\n[Try now!](https://mpost.thottingal.in/)\n\n## Usage\n\n### Installation\n\nClone the repository. Install the system dependencies:\n\n```bash\nsudo apt install wget unzip build-essential cmake texlive-metapost\n```\n\nCreate a python virtual environment and install dependencies\n\n```bash\npython -m venv .venv\nsource .venv/bin/activate\npip install -r requirements.txt\n```\n\nRun it:\n\n```bash\nuvicorn app.main:app\n```\n\n## Features\n\n* Code editor with syntax highlighting for Metapost\n* Live preview of the SVG generated from the code. No need to manually run it\n* Logs of compiling the code from metapost is available for debugging.\n* (todo) Saving the code in browser indexdb to continue from where you stopped.\n\n## Familiarize with Metafont, MetaPost\n\nFamiliarizing with the concepts of MetaFont and MetaPost are essential. In this guide, we are not going to explain this, but will provide a list of good tutorials to use.\n\n* The MetaFont book by Knuth is the ultimate resource for learning MetaFont concepts. There are [ebook versions available in internet](https://www.google.com/search?q=metafont+book), but they don't have illustrations. It is recommended to have a printed copy of this book.\n* John D. Hobby. [A METAFONT-like System with PostScript Output](http://www.tug.org/TUGboat/Articles/tb10-4/tb26hobby.pdf). TUGboat, 10(4), 1989.\n* John D. Hobby. [METAPOST — A User’s Manual](http://www.tug.org/docs/metapost/mpman.pdf.), 2008.\n* [Learning METAPOST by Doing](https://staff.fnwi.uva.nl/a.j.p.heck/Courses/mptut.pdf)\n* [MetaPost for Beginners](https://meeting.contextgarden.net/2008/talks/2008-08-22-hartmut-metapost/mptut-context2008.pdf)\n\nIt is important to practice MetaPost rather than just reading the book. Use this sandbox tool for practicing.\n\n## Docker\n\n```bash\ndocker build -t mpostsandbox .\ndocker run -d --name mpostsandboxcontainer -p 80:80 mpostsandbox\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanthoshtr%2Fmetapost-sandbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsanthoshtr%2Fmetapost-sandbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanthoshtr%2Fmetapost-sandbox/lists"}