{"id":13591979,"url":"https://github.com/logseq/logseq-plugin-samples","last_synced_at":"2025-04-05T15:10:12.662Z","repository":{"id":38279864,"uuid":"359460375","full_name":"logseq/logseq-plugin-samples","owner":"logseq","description":"Logseq plugin samples for beginner 🌱","archived":false,"fork":false,"pushed_at":"2024-04-19T07:29:14.000Z","size":20063,"stargazers_count":281,"open_issues_count":7,"forks_count":80,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-05-23T01:26:42.949Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","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/logseq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2021-04-19T12:58:46.000Z","updated_at":"2024-05-28T02:37:14.634Z","dependencies_parsed_at":"2024-05-28T02:54:08.521Z","dependency_job_id":null,"html_url":"https://github.com/logseq/logseq-plugin-samples","commit_stats":{"total_commits":67,"total_committers":16,"mean_commits":4.1875,"dds":0.3731343283582089,"last_synced_commit":"461d559b03e28119994126a13fc0e910bbd21197"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logseq%2Flogseq-plugin-samples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logseq%2Flogseq-plugin-samples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logseq%2Flogseq-plugin-samples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logseq%2Flogseq-plugin-samples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/logseq","download_url":"https://codeload.github.com/logseq/logseq-plugin-samples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247289382,"owners_count":20914463,"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":[],"created_at":"2024-08-01T16:01:04.427Z","updated_at":"2025-04-05T15:10:12.638Z","avatar_url":"https://github.com/logseq.png","language":"CSS","funding_links":[],"categories":["CSS"],"sub_categories":[],"readme":"## Logseq Plugin Samples\n\nThis repository contains sample code illustrating the Logseq Plugin API. You can read, play with or adapt from these\nsamples to create your own plugins.\n\nPlugin APIs: https://plugins-doc.logseq.com\n\n### Prerequisites\n\nYou need to have [node](https://nodejs.org/) and [npm(or yarn)](https://yarnpkg.com/getting-started/install) installed\non your system to run the examples. Then install the latest Logseq Desktop App\nfrom [here](https://github.com/logseq/logseq/releases).\n\n#### Using `nvm` to install `node` and `npm`\n\nFor those who are not familiar with the installation of Node.js and NPM, a simple solution would be to install **Node\nVersion Manager (NVM)**[(link)](https://github.com/nvm-sh/nvm). The installation is straightforward: just download and\nrun the [installation bash script](https://github.com/nvm-sh/nvm/blob/v0.38.0/install.sh). You may need to give access\npermissions to the script.\n\nAfter installing `nvm`, using the command `nvm install 22`(for current) or `nvm install 20`(for LTS), you'll be able to\ninstall the current version of node and npm on your machine. Because `nvm` installs locally, there is no need\nfor the `sudo` command.\n\nFor those familiar, `nvm` acts similarly to `anaconda`: the same way you can select your version of python with\nanaconda, you can choose your version of node.js.\n\n### Usage\n\n- `git clone https://github.com/logseq/logseq-plugin-samples`\n- open Logseq Desktop client and turn on `Developer mode` in user settings panel\n- open the toolbar dot menus and navigate to plugins page\n- read the README file of the sample you want to load, then determine if it should be\n  rebuilt (`npm install \u0026\u0026 npm run build`)\n- navigate to the plugins dashboard: \u003ckbd\u003et\u003c/kbd\u003e\u003ckbd\u003ep\u003c/kbd\u003e\n- click `Load unpacked plugin` button, then select the sample directory to load it\n\n\u003e  ⚠️ To avoid loading plugin failures occasionally and for performance reasons, \n\u003e it is recommended to keep the plugin SDK [`@logseq/libs`](https://www.npmjs.com/package/@logseq/libs) as up-to-date as possible.\n\n### Getting Started\n\n- 🌱 [Slash command Sample](./logseq-slash-commands)\n- 🎨 [Custom Theme Sample](./logseq-bujo-themes)\n- 🗓 [Journals Calendar Sample](./logseq-journals-calendar)\n- 🍅 [Pomodoro Timer Sample](./logseq-pomodoro-timer)\n- 🇺🇳 [A Translator Sample](./logseq-a-translator)\n- 🛠 [Custom Editor Fonts Sample](./logseq-awesome-fonts)\n- 😀 [Emoji Picker Sample](./logseq-emoji-picker)\n- 📰 [Reddit Hot News Sample](./logseq-reddit-hot-news)\n\n### License\n\n[MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flogseq%2Flogseq-plugin-samples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flogseq%2Flogseq-plugin-samples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flogseq%2Flogseq-plugin-samples/lists"}