{"id":47300549,"url":"https://github.com/andredalbosco/wypst","last_synced_at":"2026-03-31T06:00:41.220Z","repository":{"id":210911171,"uuid":"727754673","full_name":"andredalbosco/wypst","owner":"andredalbosco","description":"Typst math typesetting for the web.","archived":false,"fork":false,"pushed_at":"2025-07-04T11:18:48.000Z","size":39308,"stargazers_count":90,"open_issues_count":6,"forks_count":9,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-03-02T20:45:47.001Z","etag":null,"topics":["katex","math","rust","typesetting","typst","wasm"],"latest_commit_sha":null,"homepage":"https://0xpapercut.github.io/wypst/","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/andredalbosco.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2023-12-05T14:06:13.000Z","updated_at":"2026-02-26T09:05:09.000Z","dependencies_parsed_at":"2025-05-26T19:57:08.057Z","dependency_job_id":"d929ead8-7ef2-42f7-bec4-e4f1420bf1d2","html_url":"https://github.com/andredalbosco/wypst","commit_stats":null,"previous_names":["0xpapercut/wypst","0xpcut/wypst","0xbolt/wypst"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/andredalbosco/wypst","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andredalbosco%2Fwypst","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andredalbosco%2Fwypst/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andredalbosco%2Fwypst/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andredalbosco%2Fwypst/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andredalbosco","download_url":"https://codeload.github.com/andredalbosco/wypst/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andredalbosco%2Fwypst/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31223286,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-31T04:08:55.938Z","status":"ssl_error","status_checked_at":"2026-03-31T04:08:47.883Z","response_time":111,"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":["katex","math","rust","typesetting","typst","wasm"],"created_at":"2026-03-17T01:38:19.971Z","updated_at":"2026-03-31T06:00:41.215Z","avatar_url":"https://github.com/andredalbosco.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# wypst\nTypst math typesetting for the web.\n\n## Current Project Status\nI feel like there's something like 20% of work left to get Wypst in a more stable state, but for some months now I haven't been able to allocate the necessary time to do it.\n\nThere's still no conclusive roadmap for native HTML export in Typst, and because this project gained some traction, I'll make a commitment to complete all unimplemented functionality, fix issues, and add whatever is needed to achieve equivalency of `obsidian-wypst` to `obsidian-typst`.\n\n## Usage\nYou can load this library either by using a script tag, or installing it with npm.\n\n### Script tag (simple usage)\n```html\n\u003clink rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/wypst@0.0.8/dist/wypst.min.css\" crossorigin=\"anonymous\"\u003e\n\u003cscript defer src=\"https://cdn.jsdelivr.net/npm/wypst@0.0.8/dist/wypst.min.js\" crossorigin=\"anonymous\"\u003e\u003c/script\u003e\n\n\u003cscript\u003e\n    wypst.initialize().then(() =\u003e {\n        wypst.renderToString(\"x + y\"); // Test it out!\n    })\n\u003c/script\u003e\n```\n\nKeep in mind that the javascript file is 17M, so if your internet is slow it might take some seconds to load.\n\n### npm package (advanced usage)\nIf having the wasm inlined directly is an incovenience, install the npm package\n```bash\nnpm install wypst\n```\n\nYou may then load the wasm binary\n```javascript\nimport wypst from 'wypst';\nimport wasm from 'wypst/dist/wypst.wasm';\n\nawait wypst.initialize(wasm);\nwypst.renderToString(\"x + y\"); // Test it out!\n```\n\nKeep in mind that you will probably need to tell your bundler how to load a `.wasm` file. If you have difficulties you can open an issue.\n\n### Rendering Typst Math\nTo render a Typst math expression, you can use either `render` or `renderToString`, as the example below shows:\n```javascript\nwypst.render('sum_(n \u003e= 1) 1/n^2 = pi^2/6', element); // Renders into the HTML element\nwypst.renderToString('sum_(n \u003e= 1) 1/n^2 = pi^2/6'); // Renders into an HTML string\n```\n\n## Contributing\nAll help is welcome. Please see [CONTRIBUTING](CONTRIBUTING.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandredalbosco%2Fwypst","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandredalbosco%2Fwypst","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandredalbosco%2Fwypst/lists"}