{"id":14070479,"url":"https://github.com/linjunpop/obsidian-gist","last_synced_at":"2025-04-27T03:33:00.378Z","repository":{"id":45141040,"uuid":"371904244","full_name":"linjunpop/obsidian-gist","owner":"linjunpop","description":"📒 Gist View for Obsidian(https://obsidian.md)","archived":false,"fork":false,"pushed_at":"2024-01-24T11:53:35.000Z","size":58,"stargazers_count":83,"open_issues_count":2,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-04T21:11:11.727Z","etag":null,"topics":["gist","github-gist","obsidian-md","obsidian-plugin"],"latest_commit_sha":null,"homepage":"","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/linjunpop.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-05-29T07:03:46.000Z","updated_at":"2025-03-31T14:32:14.000Z","dependencies_parsed_at":"2024-08-13T07:17:19.383Z","dependency_job_id":"7c035529-8792-4c9d-bfc7-e18607b25330","html_url":"https://github.com/linjunpop/obsidian-gist","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":"obsidianmd/obsidian-sample-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linjunpop%2Fobsidian-gist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linjunpop%2Fobsidian-gist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linjunpop%2Fobsidian-gist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linjunpop%2Fobsidian-gist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/linjunpop","download_url":"https://codeload.github.com/linjunpop/obsidian-gist/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251085144,"owners_count":21533821,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["gist","github-gist","obsidian-md","obsidian-plugin"],"created_at":"2024-08-13T07:07:47.735Z","updated_at":"2025-04-27T03:32:57.364Z","avatar_url":"https://github.com/linjunpop.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# Obsidian GitHub Gist Plugin\r\n\r\n![GitHub release badge](https://badgen.net/github/release/linjunpop/obsidian-gist)\r\n\r\nThis is a plugin to render the [GitHub Gist](https://gist.github.com) in [Obsidian](https://obsidian.md).\r\n\r\n## Example\r\n\r\nThe `gist` fenced code blocks will be rendered as a embed Gist view.\r\n\r\n1. With only the Gist ID:\r\n\r\n````\r\n```gist\r\n30efbfd874fb1a16176d3f638a1e712a\r\n```\r\n````\r\n\r\n2. With the username and Gist ID:\r\n\r\n````\r\n```gist\r\nlinjunpop/30efbfd874fb1a16176d3f638a1e712a\r\n```\r\n````\r\n\r\n3. Specify to only show a single file in the Gist:\r\n\r\n````\r\n```gist\r\nlinjunpop/30efbfd874fb1a16176d3f638a1e712a#math.ex\r\n30efbfd874fb1a16176d3f638a1e712a#concat.ex\r\n```\r\n````\r\n\r\n![Example Image](https://user-images.githubusercontent.com/214616/120093926-f90eb580-c14f-11eb-94e3-a414c7528aef.png)\r\n\r\n## Installation\r\n\r\n### Installing from the Obsidian App\r\n\r\nSearch \"Gist\" in __Settings__ -\u003e __Community plugins__, you can find and install this plugin.\r\n\r\nYou can check https://help.obsidian.md/Advanced+topics/Third-party+plugins#Discover+and+install+community+plugins for an official guide.\r\n\r\n### Manually installing the plugin\r\n\r\nFind the latest release: https://github.com/linjunpop/obsidian-gist/releases, then copy over `main.js`, `manifest.json`, `styles.css` to your vault's `.obsidian/plugins/obsidian-gist` directory (ex. `VaultFolder/.obsidian/plugins/obsidian-gist/`).\r\n\r\n## Development\r\n\r\n### Develop the plugin locally\r\n\r\n- Clone this repo to a local development folder. For convenience, you can place this folder in your `.obsidian/plugins/obsidian-gist` 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 the `manifest.json` with a new version number, such as `1.0.1`, and the minimum Obsidian version required for your latest release.\r\n- Update the `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`.\r\n- Upload the files `manifest.json`, `main.js`, `styles.css` as binary attachments.\r\n- Publish the release.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinjunpop%2Fobsidian-gist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinjunpop%2Fobsidian-gist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinjunpop%2Fobsidian-gist/lists"}