{"id":21833342,"url":"https://github.com/bencodezen/lab-obsidian-template","last_synced_at":"2026-05-01T21:35:11.164Z","repository":{"id":83449269,"uuid":"351538843","full_name":"bencodezen/lab-obsidian-template","owner":"bencodezen","description":null,"archived":false,"fork":false,"pushed_at":"2021-03-25T18:35:29.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-11T15:41:51.033Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bencodezen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2021-03-25T18:35:05.000Z","updated_at":"2025-05-18T02:20:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"34bb30ab-329b-45bc-a8fa-3bf2bb9b66f9","html_url":"https://github.com/bencodezen/lab-obsidian-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"obsidianmd/obsidian-sample-plugin","purl":"pkg:github/bencodezen/lab-obsidian-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bencodezen%2Flab-obsidian-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bencodezen%2Flab-obsidian-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bencodezen%2Flab-obsidian-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bencodezen%2Flab-obsidian-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bencodezen","download_url":"https://codeload.github.com/bencodezen/lab-obsidian-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bencodezen%2Flab-obsidian-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32513843,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":[],"created_at":"2024-11-27T19:30:17.499Z","updated_at":"2026-05-01T21:35:11.129Z","avatar_url":"https://github.com/bencodezen.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Obsidian Sample Plugin\r\n\r\nThis is a sample plugin for Obsidian (https://obsidian.md).\r\n\r\nThis project uses Typescript to provide type checking and documentation.\r\nThe repo depends on the latest plugin API (obsidian.d.ts) in Typescript Definition format, which contains TSDoc comments describing what it does.\r\n\r\n**Note:** The Obsidian API is still in early alpha and is subject to change at any time!\r\n\r\nThis sample plugin demonstrates some of the basic functionality the plugin API can do.\r\n- Changes the default font color to red using `styles.css`.\r\n- Adds a ribbon icon, which shows a Notice when clicked.\r\n- Adds a command \"Open Sample Modal\" which opens a Modal.\r\n- Adds a plugin setting tab to the settings page.\r\n- Registers a global click event and output 'click' to the console.\r\n- Registers a global interval which logs 'setInterval' to the console.\r\n\r\n### First time developing plugins?\r\n\r\nQuick starting guide for new plugin devs:\r\n\r\n- Make a copy of this repo as a template with the \"Use this template\" button (login to GitHub if you don't see it).\r\n- Clone your repo to a local development folder. For convenience, you can place this folder in your `.obsidian/plugins/your-plugin-name` folder.\r\n- Install NodeJS, then run `npm i` in the command line under your repo folder.\r\n- Run `npm run dev` to compile your plugin from `main.ts` to `main.js`.\r\n- Make changes to `main.ts` (or create new `.ts` files). Those changes should be automatically compiled into `main.js`.\r\n- Reload Obsidian to load the new version of your plugin.\r\n- Enable plugin in settings window.\r\n\r\n### Releasing new releases\r\n\r\n- Update your `manifest.json` with your new version number, such as `1.0.1`, and the minimum Obsidian version required for your latest release.\r\n- Update your `versions.json` file with `\"new-plugin-version\": \"minimum-obsidian-version\"` so older versions of Obsidian can download an older version of your plugin that's compatible.\r\n- Create new GitHub release using your new version number as the \"Tag version\". Use the exact version number, don't include a prefix `v`. See here for an example: https://github.com/obsidianmd/obsidian-sample-plugin/releases\r\n- Upload the files `manifest.json`, `main.js`, `styles.css` as binary attachments.\r\n- Publish the release.\r\n\r\n### Adding your plugin to the community plugin list\r\n\r\n- Publish an initial version.\r\n- Make sure you have a `README.md` file in the root of your repo.\r\n- Make a pull request at https://github.com/obsidianmd/obsidian-releases to add your plugin.\r\n\r\n### How to use\r\n\r\n- Clone this repo.\r\n- `npm i` or `yarn` to install dependencies\r\n- `npm run dev` to start compilation in watch mode.\r\n\r\n### Manually installing the plugin\r\n\r\n- Copy over `main.js`, `styles.css`, `manifest.json` to your vault `VaultFolder/.obsidian/plugins/your-plugin-id/`.\r\n\r\n### API Documentation\r\n\r\nSee https://github.com/obsidianmd/obsidian-api\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbencodezen%2Flab-obsidian-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbencodezen%2Flab-obsidian-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbencodezen%2Flab-obsidian-template/lists"}