{"id":41739990,"url":"https://github.com/codeacula/codeaculas-obsidian-plugin","last_synced_at":"2026-01-25T00:12:06.430Z","repository":{"id":317831826,"uuid":"1069012575","full_name":"codeacula/codeaculas-obsidian-plugin","owner":"codeacula","description":null,"archived":false,"fork":false,"pushed_at":"2025-10-03T11:28:43.000Z","size":34,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-03T11:30:27.992Z","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":"0bsd","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codeacula.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-10-03T09:08:10.000Z","updated_at":"2025-10-03T10:30:18.000Z","dependencies_parsed_at":"2025-10-08T20:17:46.871Z","dependency_job_id":null,"html_url":"https://github.com/codeacula/codeaculas-obsidian-plugin","commit_stats":null,"previous_names":["codeacula/codeaculas-obsidian-plugin"],"tags_count":null,"template":false,"template_full_name":"obsidianmd/obsidian-sample-plugin","purl":"pkg:github/codeacula/codeaculas-obsidian-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeacula%2Fcodeaculas-obsidian-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeacula%2Fcodeaculas-obsidian-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeacula%2Fcodeaculas-obsidian-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeacula%2Fcodeaculas-obsidian-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeacula","download_url":"https://codeload.github.com/codeacula/codeaculas-obsidian-plugin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeacula%2Fcodeaculas-obsidian-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28739395,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T22:12:27.248Z","status":"ssl_error","status_checked_at":"2026-01-24T22:12:10.529Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-01-25T00:12:05.745Z","updated_at":"2026-01-25T00:12:06.425Z","avatar_url":"https://github.com/codeacula.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\nThis plugin demonstrates some of the basic functionality the plugin API can do.\n- Process notes with automatic frontmatter and file organization\n- AI Personality system with OpenAI and Gemini support\n- AI-powered text generation with customizable personalities\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 the [plugin guidelines](https://docs.obsidian.md/Plugins/Releasing/Plugin+guidelines).\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## AI Personality Feature\n\nThis plugin includes an AI Personality system that allows you to create reusable AI personalities with custom prompts and settings.\n\n### Setup\n\n1. Enable network requests in plugin settings (**Settings → Codeacula's Obsidian Plugin → Allow network requests**)\n2. Add your API keys:\n   - **OpenAI API key** for GPT models (e.g., gpt-4, gpt-3.5-turbo)\n   - **Gemini API key** for Google Gemini models (e.g., gemini-1.5-pro)\n\n### Creating an AI Personality Note\n\nCreate a new note with the following frontmatter structure:\n\n```yaml\n---\nnote-type: ai-personality\nprovider: gemini\nmodel: gemini-1.5-pro\ntemperature: 0.7\nmaxTokens: 1024\nstream: true\noutput:\n  target: insert\ngemini:\n  sensitivity:\n    harassment: medium\n    hate: medium\n    sexual: medium\n    dangerous: medium\n---\n\nYou are a helpful writing assistant. Help the user improve their text while maintaining their original voice and intent.\n```\n\n### Frontmatter Schema\n\n- **note-type** (required): Must be `ai-personality`\n- **provider** (required): Either `openai` or `gemini`\n- **model** (required): Model name (e.g., `gpt-4`, `gemini-1.5-pro`)\n- **temperature** (optional): Creativity level, 0.0-1.0, default: 0.7\n- **maxTokens** (optional): Maximum response length, default: 1024\n- **stream** (optional): Enable streaming output, default: true\n- **output.target** (optional): Output location, currently only `insert` supported\n- **gemini.sensitivity** (optional): Gemini-specific content filtering settings\n  - **harassment**: `none`, `low`, `medium`, `high`\n  - **hate**: `none`, `low`, `medium`, `high`\n  - **sexual**: `none`, `low`, `medium`, `high`\n  - **dangerous**: `none`, `low`, `medium`, `high`\n\n### Example: OpenAI Personality\n\n```yaml\n---\nnote-type: ai-personality\nprovider: openai\nmodel: gpt-4\ntemperature: 0.8\nmaxTokens: 2000\nstream: true\n---\n\nYou are a creative writer. Help users craft engaging narratives with vivid descriptions and compelling characters.\n```\n\n### Usage\n\n1. **Run AI with Personality…**: Opens a modal to select a personality note. Select text in your current note first.\n2. **Re-run last Personality**: Quickly re-runs the last used personality.\n3. **Use personality referenced by current note**: If your current note has `personality: path/to/persona.md` in its frontmatter, this command will use that personality.\n\nThe AI response will be inserted below your cursor (or below your selection) in the active note.\n\n### Privacy and Network Usage\n\n- Network calls are only made when explicitly enabled in settings\n- API keys are stored locally in Obsidian's plugin data\n- No data is sent to AI providers unless you explicitly run an AI command\n- You control what text is sent by selecting it before running a command\n\n## API Documentation\n\nSee https://github.com/obsidianmd/obsidian-api\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeacula%2Fcodeaculas-obsidian-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeacula%2Fcodeaculas-obsidian-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeacula%2Fcodeaculas-obsidian-plugin/lists"}