{"id":20084167,"url":"https://github.com/mnaoumov/obsidian-codescript-toolkit","last_synced_at":"2026-06-12T05:00:49.983Z","repository":{"id":216403619,"uuid":"741198066","full_name":"mnaoumov/obsidian-codescript-toolkit","owner":"mnaoumov","description":"Plugin for Obsidian that allows to do a lot of things with JavaScript/TypeScript scripts from inside the Obsidian itself","archived":false,"fork":false,"pushed_at":"2026-05-04T22:07:23.000Z","size":3975,"stargazers_count":131,"open_issues_count":1,"forks_count":9,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-05-05T00:12:48.055Z","etag":null,"topics":["javascript","obsidian","obsidian-md","obsidian-plugin","plugin","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/mnaoumov.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"buy_me_a_coffee":"mnaoumov"}},"created_at":"2024-01-09T22:36:53.000Z","updated_at":"2026-05-04T22:07:38.000Z","dependencies_parsed_at":"2024-05-19T16:48:56.305Z","dependency_job_id":"d2eb5748-f758-4173-b025-e2eb1d5d2604","html_url":"https://github.com/mnaoumov/obsidian-codescript-toolkit","commit_stats":null,"previous_names":["mnaoumov/obsidian-fix-require-modules","mnaoumov/obsidian-codescript-toolkit"],"tags_count":156,"template":false,"template_full_name":null,"purl":"pkg:github/mnaoumov/obsidian-codescript-toolkit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnaoumov%2Fobsidian-codescript-toolkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnaoumov%2Fobsidian-codescript-toolkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnaoumov%2Fobsidian-codescript-toolkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnaoumov%2Fobsidian-codescript-toolkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mnaoumov","download_url":"https://codeload.github.com/mnaoumov/obsidian-codescript-toolkit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnaoumov%2Fobsidian-codescript-toolkit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34229624,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-12T02:00:06.859Z","response_time":109,"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":["javascript","obsidian","obsidian-md","obsidian-plugin","plugin","typescript"],"created_at":"2024-11-13T15:50:58.118Z","updated_at":"2026-06-12T05:00:49.970Z","avatar_url":"https://github.com/mnaoumov.png","language":"TypeScript","funding_links":["https://buymeacoffee.com/mnaoumov","https://www.buymeacoffee.com/mnaoumov"],"categories":["TypeScript"],"sub_categories":[],"readme":"# CodeScript Toolkit\n\n\u003e formerly known as `Fix Require Modules`, see [Rebranding](#rebranding) section for more details\n\n[![Buy Me a Coffee](https://img.shields.io/badge/Buy%20Me%20a%20Coffee-ffdd00?logo=buy-me-a-coffee\u0026logoColor=black)](https://www.buymeacoffee.com/mnaoumov)\n[![GitHub release](https://img.shields.io/github/v/release/mnaoumov/obsidian-codescript-toolkit)](https://github.com/mnaoumov/obsidian-codescript-toolkit/releases)\n[![GitHub downloads](https://img.shields.io/github/downloads/mnaoumov/obsidian-codescript-toolkit/total)](https://github.com/mnaoumov/obsidian-codescript-toolkit/releases)\n[![Coverage: 100%](https://img.shields.io/badge/coverage-100%25-brightgreen)](https://github.com/mnaoumov/obsidian-codescript-toolkit)\n\nThis is a plugin for [`Obsidian`][Obsidian] that allows to do a lot of things with [`JavaScript`][JavaScript]/[`TypeScript`][TypeScript] scripts from inside the [`Obsidian`][Obsidian] itself.\n\n## Who is this plugin for?\n\nThis plugin is for you if you want to:\n\n- Write in any flavor of [`JavaScript`][JavaScript]/[`TypeScript`][TypeScript] in:\n  - [`DevTools Console`](https://developer.chrome.com/docs/devtools/console) within [`Obsidian`][Obsidian];\n  - [`CustomJS`](https://github.com/saml-dev/obsidian-custom-js) scripts;\n  - [`datacorejs` / `datacorejsx` / `datacorets` / `datacoretsx`](https://blacksmithgu.github.io/datacore/code-views) scripts;\n  - [`dataviewjs`](https://blacksmithgu.github.io/obsidian-dataview/api/intro/) scripts;\n  - [`JS Engine`](https://www.moritzjung.dev/obsidian-js-engine-plugin-docs/) scripts;\n  - [`Modules`](https://github.com/polyipseity/obsidian-modules) scripts;\n  - [`QuickAdd`](https://quickadd.obsidian.guide/) scripts;\n  - [`Templater`](https://silentvoid13.github.io/Templater/) scripts;\n  - etc.\n- Write modular scripts using modern [`JavaScript`][JavaScript]/[`TypeScript`][TypeScript] syntax and patterns.\n- Prototype [`Obsidian`][Obsidian] plugins.\n- Explore [`Obsidian`][Obsidian] API (public and internal) in runtime easier.\n- Invoke any [`JavaScript`][JavaScript]/[`TypeScript`][TypeScript] script via command or hotkey.\n\n## Why this plugin?\n\nThere are several very good plugins that allow to write [`JavaScript`][JavaScript]/[`TypeScript`][TypeScript] scripts for [`Obsidian`][Obsidian], but they all have their own limitations and quirks.\n\nMost of those plugins support writing scripts in [`CommonJS` (`cjs`)](https://nodejs.org/api/modules.html#modules-commonjs-modules) only, which is not so used nowadays.\n\nNone of those plugins provide you the developer experience as you would have in any other modern [`JavaScript`][JavaScript]/[`TypeScript`][TypeScript] development environment.\n\nThis plugin aims to erase the line between the [`Obsidian`][Obsidian] world and the [`JavaScript`][JavaScript]/[`TypeScript`][TypeScript] development world.\n\n## Usage\n\nSee [docs](./docs/usage.md).\n\nYou can download [demo vault](https://github.com/mnaoumov/obsidian-codescript-toolkit-demo-vault/) to see usage examples.\n\n## Installation\n\nThe plugin is available in [the official Community Plugins repository](https://community.obsidian.md/plugins/fix-require-modules).\n\n### Beta versions\n\nTo install the latest beta release of this plugin (regardless if it is available in [the official Community Plugins repository](https://community.obsidian.md) or not), follow these steps:\n\n1. Ensure you have the [BRAT plugin](https://community.obsidian.md/plugins/obsidian42-brat) installed and enabled.\n2. Click [Install via BRAT](https://intradeus.github.io/http-protocol-redirector?r=obsidian://brat?plugin=https://github.com/mnaoumov/obsidian-codescript-toolkit).\n3. An Obsidian pop-up window should appear. In the window, click the `Add plugin` button once and wait a few seconds for the plugin to install.\n\n## Debugging\n\nBy default, debug messages for this plugin are hidden.\n\nTo show them, run the following command:\n\n```js\nwindow.DEBUG.enable('fix-require-modules');\n```\n\nFor more details, refer to the [documentation](https://github.com/mnaoumov/obsidian-dev-utils/blob/main/docs/debugging.md).\n\n## Rebranding\n\nThis plugin was formerly known as `Fix Require Modules`.\n\nThe plugin quickly overgrew its original purpose and got way more features than just fixing [`require()`](https://nodejs.org/api/modules.html#requireid) calls. That's why it got a new name.\n\nHowever, for the backward compatibility, the previous id `fix-require-modules` is still used internally and you might find it\n\n- in plugin folder name;\n- in plugin URL;\n- in [Debugging](#debugging) section;\n\n## Support\n\n\u003c!-- markdownlint-disable MD033 --\u003e\n\n\u003ca href=\"https://www.buymeacoffee.com/mnaoumov\" target=\"_blank\"\u003e\u003cimg src=\"https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png\" alt=\"Buy Me A Coffee\" height=\"60\" width=\"217\"\u003e\u003c/a\u003e\n\n\u003c!-- markdownlint-enable MD033 --\u003e\n\n## My other Obsidian resources\n\n[See my other Obsidian resources](https://github.com/mnaoumov/obsidian-resources).\n\n## License\n\n© [Michael Naumov](https://github.com/mnaoumov/)\n\n[JavaScript]: https://developer.mozilla.org/en-US/docs/Web/JavaScript\n[Obsidian]: https://obsidian.md/\n[TypeScript]: https://www.typescriptlang.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmnaoumov%2Fobsidian-codescript-toolkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmnaoumov%2Fobsidian-codescript-toolkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmnaoumov%2Fobsidian-codescript-toolkit/lists"}