From dd4299a4de8a31802a4551d631c67836484d9699 Mon Sep 17 00:00:00 2001 From: omagdy7 Date: Fri, 3 Nov 2023 17:57:35 +0200 Subject: Moved to react instead of vanilla js and added the basic skeleton of the plgin --- README.md | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index c7bb20d..67ca89a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,18 @@ -## ollama-logseq +# Logseq Plugin Template React 🚀 -A plugin to utilize LLMS provided by [ollama](https://github.com/jmorganca/ollama) in logseq +## Features +- Plug-and-play boilerplate with properly defined GitHub action defaults +- Develop with HMR, empowered by lightning-fast Vite ⚡ with [vite-logseq-plugin](https://github.com/pengx17/vite-plugin-logseq) +- TailwindCSS for styling +- Pnpm + +## How to get started +1. Clone the repository or use the button "Use this template" on GitHub to create your own version of the repository 🔨 +2. Make sure you have pnpm installed, [install](https://pnpm.io/installation) if necessary 🛠 +3. Execute `pnpm install` 📦 +4. Change the plugin-name in `package.json` to your liking. Adapt both the package-name and the plugin-id at the bottom of the `package.json`. Make sure that they are not conflicting with plugins you already installed. 📝 +5. Execute `pnpm build` to build the plugin 🚧 +6. Enable developer-mode in Logseq, go to plugins, select "Load unpacked plugin" 🔌 +7. Select the directory of your plugin (not the `/dist`-directory, but the directory which includes your package.json) 📂 +8. Enjoy! 🎉 -- cgit v1.2.3