{"id":50493526,"url":"https://github.com/zyeoman/obsidian-assets-toolkit","last_synced_at":"2026-06-02T05:01:12.207Z","repository":{"id":230914897,"uuid":"779300513","full_name":"zYeoman/obsidian-assets-toolkit","owner":"zYeoman","description":"目前主要做一些粘贴图片链接的任务","archived":false,"fork":false,"pushed_at":"2024-04-07T13:57:51.000Z","size":48,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-07T15:34:40.301Z","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/zYeoman.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}},"created_at":"2024-03-29T14:08:39.000Z","updated_at":"2024-04-07T15:34:40.301Z","dependencies_parsed_at":"2024-04-06T15:31:21.844Z","dependency_job_id":"bd3baaa2-7960-4f69-8235-d6c5b3f508a6","html_url":"https://github.com/zYeoman/obsidian-assets-toolkit","commit_stats":null,"previous_names":["zyeoman/obsidian-assets-toolkit"],"tags_count":5,"template":false,"template_full_name":"obsidianmd/obsidian-sample-plugin","purl":"pkg:github/zYeoman/obsidian-assets-toolkit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zYeoman%2Fobsidian-assets-toolkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zYeoman%2Fobsidian-assets-toolkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zYeoman%2Fobsidian-assets-toolkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zYeoman%2Fobsidian-assets-toolkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zYeoman","download_url":"https://codeload.github.com/zYeoman/obsidian-assets-toolkit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zYeoman%2Fobsidian-assets-toolkit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33806987,"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-02T02:00:07.132Z","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":[],"created_at":"2026-06-02T05:01:10.824Z","updated_at":"2026-06-02T05:01:12.200Z","avatar_url":"https://github.com/zYeoman.png","language":"TypeScript","funding_links":["https://buymeacoffee.com","https://github.com/sponsors","https://www.patreon.com/"],"categories":[],"sub_categories":[],"readme":"# Obsidian Sample Plugin\n\nThis is a sample plugin for Obsidian (https://obsidian.md).\n\nThis project uses Typescript to provide type checking and documentation.\nThe repo depends on the latest plugin API (obsidian.d.ts) in Typescript Definition format, which contains TSDoc comments describing what it does.\n\n**Note:** The Obsidian API is still in early alpha and is subject to change at any time!\n\nThis sample plugin demonstrates some of the basic functionality the plugin API can do.\n- Adds a ribbon icon, which shows a Notice when clicked.\n- Adds a command \"Open Sample Modal\" which opens a Modal.\n- Adds a plugin setting tab to the settings page.\n- Registers a global click event and output 'click' to the console.\n- Registers a global interval which logs 'setInterval' to the console.\n\n## First time developing plugins?\n\nQuick starting guide for new plugin devs:\n\n- Check if [someone already developed a plugin for what you want](https://obsidian.md/plugins)! There might be an existing plugin similar enough that you can partner up with.\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).\n- Clone your repo to a local development folder. For convenience, you can place this folder in your `.obsidian/plugins/your-plugin-name` folder.\n- Install NodeJS, then run `npm i` in the command line under your repo folder.\n- Run `npm run dev` to compile your plugin from `main.ts` to `main.js`.\n- Make changes to `main.ts` (or create new `.ts` files). Those changes should be automatically compiled into `main.js`.\n- Reload Obsidian to load the new version of your plugin.\n- Enable plugin in settings window.\n- For updates to the Obsidian API run `npm update` in the command line under your repo folder.\n\n## Releasing new releases\n\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.\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.\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\n- Upload the files `manifest.json`, `main.js`, `styles.css` as binary attachments. Note: The manifest.json file must be in two places, first the root path of your repository and also in the release.\n- Publish the release.\n\n\u003e You can simplify the version bump process by running `npm version patch`, `npm version minor` or `npm version major` after updating `minAppVersion` manually in `manifest.json`.\n\u003e The command will bump version in `manifest.json` and `package.json`, and add the entry for the new version to `versions.json`\n\n## Adding your plugin to the community plugin list\n\n- Check https://github.com/obsidianmd/obsidian-releases/blob/master/plugin-review.md\n- Publish an initial version.\n- Make sure you have a `README.md` file in the root of your repo.\n- Make a pull request at https://github.com/obsidianmd/obsidian-releases to add your plugin.\n\n## How to use\n\n- Clone this repo.\n- Make sure your NodeJS is at least v16 (`node --version`).\n- `npm i` or `yarn` to install dependencies.\n- `npm run dev` to start compilation in watch mode.\n\n## Manually installing the plugin\n\n- Copy over `main.js`, `styles.css`, `manifest.json` to your vault `VaultFolder/.obsidian/plugins/your-plugin-id/`.\n\n## Improve code quality with eslint (optional)\n- [ESLint](https://eslint.org/) is a tool that analyzes your code to quickly find problems. You can run ESLint against your plugin to find common bugs and ways to improve your code. \n- To use eslint with this project, make sure to install eslint from terminal:\n  - `npm install -g eslint`\n- To use eslint to analyze this project use this command:\n  - `eslint main.ts`\n  - eslint will then create a report with suggestions for code improvement by file and line number.\n- If your source code is in a folder, such as `src`, you can use eslint with this command to analyze all files in that folder:\n  - `eslint .\\src\\`\n\n## Funding URL\n\nYou can include funding URLs where people who use your plugin can financially support it.\n\nThe simple way is to set the `fundingUrl` field to your link in your `manifest.json` file:\n\n```json\n{\n    \"fundingUrl\": \"https://buymeacoffee.com\"\n}\n```\n\nIf you have multiple URLs, you can also do:\n\n```json\n{\n    \"fundingUrl\": {\n        \"Buy Me a Coffee\": \"https://buymeacoffee.com\",\n        \"GitHub Sponsor\": \"https://github.com/sponsors\",\n        \"Patreon\": \"https://www.patreon.com/\"\n    }\n}\n```\n\n## API Documentation\n\nSee https://github.com/obsidianmd/obsidian-api\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzyeoman%2Fobsidian-assets-toolkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzyeoman%2Fobsidian-assets-toolkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzyeoman%2Fobsidian-assets-toolkit/lists"}