joplin-plugin-genmagic 0.0.0-stage → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +27 -2
- package/package.json +35 -3
- package/publish/co.genmagic.joplin.jpl +0 -0
- package/publish/co.genmagic.joplin.json +33 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 GenMagic
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,28 @@
|
|
|
1
|
-
#
|
|
1
|
+
# GenMagic for Joplin
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Put AI images and read-aloud audio into your Joplin notes with [GenMagic](https://genmagic.co/?utm_source=joplin&utm_medium=readme): 60+ image models (Nano Banana, GPT Image, FLUX, Seedream, Recraft and more), each with its price shown before you generate, and natural voices.
|
|
4
|
+
|
|
5
|
+
## What it adds (Joplin desktop)
|
|
6
|
+
|
|
7
|
+
- **Generate image with GenMagic** (Tools menu and an editor toolbar button): write a prompt (the selected text starts it), pick a model and a shape, and the image is attached to the note at the cursor.
|
|
8
|
+
- **Read aloud with GenMagic** (Tools menu): the selection, or the whole note without its front matter, code and image links, read by the voice you choose (Options, GenMagic) and attached as audio, which Joplin plays inline.
|
|
9
|
+
- **Sign in with GenMagic** (Tools menu): opens genmagic.co in your browser; Joplin picks up the sign-in by itself.
|
|
10
|
+
|
|
11
|
+
## Account and cost
|
|
12
|
+
|
|
13
|
+
**This plugin needs a GenMagic account, and generating costs money.** You can create a free account during sign-in (new verified accounts get a small starter credit), or paste an API key in Options, GenMagic. After the starter credit you pay per result from your GenMagic balance, with no subscription. Every model's price is listed in the plugin and at [genmagic.co/models](https://genmagic.co/models). The plugin itself is free (MIT).
|
|
14
|
+
|
|
15
|
+
## Privacy and network use
|
|
16
|
+
|
|
17
|
+
- The plugin talks only to `https://genmagic.co` (the API, the model list and sign-in) and downloads the file GenMagic returns from GenMagic's media storage.
|
|
18
|
+
- It sends the prompt you write, or the text you choose to have read aloud, and nothing else from your notes. The result is saved as a Joplin attachment.
|
|
19
|
+
- Signing in creates a key named "Joplin connector" on your GenMagic account, which you can revoke there at any time; Joplin keeps it in its secure settings. No telemetry is collected.
|
|
20
|
+
- Privacy policy: https://genmagic.co/legal/privacy. Terms: https://genmagic.co/legal/terms.
|
|
21
|
+
|
|
22
|
+
## Support
|
|
23
|
+
|
|
24
|
+
hello@genmagic.co
|
|
25
|
+
|
|
26
|
+
## Build
|
|
27
|
+
|
|
28
|
+
`npm install`, then `npm run dist` (Joplin's plugin template: webpack builds `publish/co.genmagic.joplin.jpl` and its `.json`). Joplin's plugin repository lists npm packages named `joplin-plugin-*` with the keyword `joplin-plugin`. API calls declare `X-GenMagic-Client: joplin-plugin/1.0.0`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,38 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "joplin-plugin-genmagic",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"scripts": {
|
|
5
|
+
"dist": "webpack --env joplin-plugin-config=buildMain && webpack --env joplin-plugin-config=buildExtraScripts && webpack --env joplin-plugin-config=createArchive",
|
|
6
|
+
"prepare": "npm run dist",
|
|
7
|
+
"updateVersion": "webpack --env joplin-plugin-config=updateVersion",
|
|
8
|
+
"update": "npm install -g generator-joplin && yo joplin --node-package-manager npm --update --force"
|
|
9
|
+
},
|
|
10
|
+
"license": "MIT",
|
|
11
|
+
"keywords": [
|
|
12
|
+
"joplin-plugin",
|
|
13
|
+
"genmagic",
|
|
14
|
+
"ai",
|
|
15
|
+
"image-generation",
|
|
16
|
+
"text-to-speech"
|
|
17
|
+
],
|
|
18
|
+
"files": [
|
|
19
|
+
"publish",
|
|
20
|
+
"README.md",
|
|
21
|
+
"LICENSE"
|
|
22
|
+
],
|
|
23
|
+
"devDependencies": {
|
|
24
|
+
"@types/node": "^18.7.13",
|
|
25
|
+
"chalk": "^4.1.0",
|
|
26
|
+
"copy-webpack-plugin": "^11.0.0",
|
|
27
|
+
"fs-extra": "^10.1.0",
|
|
28
|
+
"glob": "^8.0.3",
|
|
29
|
+
"tar": "^6.1.11",
|
|
30
|
+
"ts-loader": "^9.3.1",
|
|
31
|
+
"typescript": "^4.8.2",
|
|
32
|
+
"webpack": "^5.74.0",
|
|
33
|
+
"webpack-cli": "^4.10.0"
|
|
34
|
+
},
|
|
35
|
+
"description": "GenMagic for Joplin: AI images and read-aloud audio in your notes, with 60+ image models and natural voices, pay per use.",
|
|
36
|
+
"homepage": "https://genmagic.co/?utm_source=joplin&utm_medium=plugin",
|
|
37
|
+
"author": "GenMagic <hello@genmagic.co>"
|
|
6
38
|
}
|
|
Binary file
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"manifest_version": 1,
|
|
3
|
+
"id": "co.genmagic.joplin",
|
|
4
|
+
"app_min_version": "3.0",
|
|
5
|
+
"platforms": [
|
|
6
|
+
"desktop"
|
|
7
|
+
],
|
|
8
|
+
"version": "1.0.0",
|
|
9
|
+
"name": "GenMagic",
|
|
10
|
+
"description": "Generate an image from a prompt or read a note aloud, saved as an attachment in the note. 60+ AI image models with each price shown first, and natural voices. Pay per use with a GenMagic account.",
|
|
11
|
+
"author": "GenMagic",
|
|
12
|
+
"homepage_url": "https://genmagic.co/?utm_source=joplin&utm_medium=plugin",
|
|
13
|
+
"repository_url": "https://www.npmjs.com/package/joplin-plugin-genmagic",
|
|
14
|
+
"keywords": [
|
|
15
|
+
"ai",
|
|
16
|
+
"image generation",
|
|
17
|
+
"text to speech",
|
|
18
|
+
"images",
|
|
19
|
+
"audio"
|
|
20
|
+
],
|
|
21
|
+
"categories": [
|
|
22
|
+
"editor",
|
|
23
|
+
"integrations"
|
|
24
|
+
],
|
|
25
|
+
"screenshots": [],
|
|
26
|
+
"icons": {
|
|
27
|
+
"48": "icons/icon48.png",
|
|
28
|
+
"128": "icons/icon128.png"
|
|
29
|
+
},
|
|
30
|
+
"promo_tile": {},
|
|
31
|
+
"_publish_hash": "sha256:3ab3f8c9113be2442ca4c01d0efbb9dfb2c1e5eb4db629e5255e129580d5ea74",
|
|
32
|
+
"_publish_commit": "main:74cff255c1d3d7d3613e1026ec118415a1013c2a"
|
|
33
|
+
}
|