{"id":49940191,"url":"https://github.com/arcanistzed/acelib","last_synced_at":"2026-05-17T10:14:23.362Z","repository":{"id":38305424,"uuid":"371158271","full_name":"arcanistzed/acelib","owner":"arcanistzed","description":"A library module for using the Ace code editor in Foundry VTT.","archived":false,"fork":false,"pushed_at":"2022-09-02T20:53:25.000Z","size":5211,"stargazers_count":5,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-02T05:04:45.252Z","etag":null,"topics":["ace-editor","foundry-vtt"],"latest_commit_sha":null,"homepage":"https://arcanist.me","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/arcanistzed.png","metadata":{"funding":{"patreon":"arcanistzed","github":"arcanistzed"},"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-05-26T20:15:08.000Z","updated_at":"2022-10-28T18:29:59.000Z","dependencies_parsed_at":"2022-09-01T15:40:54.675Z","dependency_job_id":null,"html_url":"https://github.com/arcanistzed/acelib","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":"League-of-Foundry-Developers/FoundryVTT-Module-Template","purl":"pkg:github/arcanistzed/acelib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arcanistzed%2Facelib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arcanistzed%2Facelib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arcanistzed%2Facelib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arcanistzed%2Facelib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arcanistzed","download_url":"https://codeload.github.com/arcanistzed/acelib/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arcanistzed%2Facelib/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33134533,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T09:28:26.183Z","status":"ssl_error","status_checked_at":"2026-05-17T09:27:52.702Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["ace-editor","foundry-vtt"],"created_at":"2026-05-17T10:14:22.574Z","updated_at":"2026-05-17T10:14:23.354Z","avatar_url":"https://github.com/arcanistzed.png","language":"JavaScript","funding_links":["https://patreon.com/arcanistzed","https://github.com/sponsors/arcanistzed","https://www.patreon.com/bePatron?u=15896855"],"categories":[],"sub_categories":[],"readme":"# Ace Library\n\n![Version](https://img.shields.io/github/v/tag/arcanistzed/acelib) ![Latest Release Download Count](https://img.shields.io/github/downloads/arcanistzed/acelib/latest/module.zip?label=Downloads\u0026style=flat-square\u0026color=9b43a8) ![Supported Foundry Versions](https://img.shields.io/endpoint?url=https://foundryshields.com/version?url=https://raw.githubusercontent.com/arcanistzed/acelib/main/module.json\u0026style=flat-square\u0026color=ff6400) [![Discord Server](https://img.shields.io/badge/-Discord-%232c2f33?style=flat-square\u0026logo=discord)](https://discord.gg/AAkZWWqVav) [![Patreon](https://img.shields.io/badge/-Patreon-%23141518?style=flat-square\u0026logo=patreon)](https://www.patreon.com/bePatron?u=15896855)\n\nA library module for using the [Ace editor](https://ace.c9.io/) in Foundry VTT.\n\nThis library is currently being used by\n\n- [Journal Code Editor](https://foundryvtt.com/packages/jce)\n- [Export Sheet to PDF](https://foundryvtt.com/packages/pdf-sheet)\n- [Macro Editor](https://foundryvtt.com/packages/macroeditor)\n- [Not Enough NPCs: A 5e NPC Generator](https://foundryvtt.com/packages/npcgen)\n- [Stream Utils](https://foundryvtt.com/packages/0streamutils)\n- [DF Flag Editor](https://foundryvtt.com/packages/df-flag-edit)\n\nLet me know and I will add your module to the list.\n\n## Installation\n\nIn the setup screen, use the URL `https://github.com/arcanistzed/acelib/releases/latest/download/module.json` to install the module.\n\n## Usage\n\nTo easily add an Ace editor, you can create a `\u003cdiv\u003e` and use `ace.edit` to initialize. You can create multiple editors at once with this method.\n\n```js\nlet editor = ace.edit(\"the-id-of-the-div\");\n```\n\nThis will set the Ace options to the ones that the user has configured in module settings.\n\n```js\neditor.setOptions(ace.userSettings);\n```\n\nSet the editor's contents\n\n```js\neditor.setValue(\"initial value\");\n```\n\nGet the editor's contents\n\n```js\neditor.getValue();\n```\n\nInstructions for customizing each editor individually are available on [the official guide](https://ace.c9.io/#nav=howto) which has examples of how to set various options. This is useful when you need an editor to work a certain way (e.g. force the use of JSON), but should be used sparingly since it robs the user of their choice. These will override the user's choices. Different editors can use different options even if they are open simultaneously.\n\n### Using Ace\n\nPress Ctrl+Alt+h or Cmd+Alt+h to view a list of all the keyboard shortcuts available. You can access the command palette by pressing F1 while focusing on the editor.\n\n## Support\n\nPlease consider supporting me on [my Patreon](https://patreon.com/arcanistzed) if you like my work. You can see a list of all my projects on [my website](https://arcanist.me).\n\n## Bugs\n\nYou can submit bugs via [Github Issues](https://github.com/arcanistzed/acelib/issues/new/choose) or on [my Discord server](https://discord.gg/AAkZWWqVav).\n\n## Contact me\n\nCome hang out on my [my Discord server](https://discord.gg/AAkZWWqVav) or [click here to send me an email](mailto:arcanistzed@gmail.com?subject=Ace%20Library%20module).\n\n## License\n\nCopyright © 2021 arcanist\n\nThis package is under an [MIT license](LICENSE) and the [Foundry Virtual Tabletop Limited License Agreement for module development](https://foundryvtt.com/article/license/) while Ace Editor is under a [BSD license](https://github.com/ajaxorg/ace/blob/master/LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farcanistzed%2Facelib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farcanistzed%2Facelib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farcanistzed%2Facelib/lists"}