mochikao 0.1.2 → 0.1.3

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/README.fr.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  [English](README.md) · **Français**
4
4
 
5
+ [Site](https://mochikao.alexvolkihar.ovh) · [npm](https://www.npmjs.com/package/mochikao) · [GitHub](https://github.com/Alexvolkihar/mochikao)
6
+
5
7
  Un visage pour chaque nom. `mochikao` transforme n'importe quelle chaîne (pseudo, e-mail, id) en un petit personnage SVG. Le même nom donne toujours le même mochikao.
6
8
 
7
9
  ![Page d'accueil de mochikao : un nom tapé, l'avatar généré et le choix d'expression](docs/home.png)
@@ -157,6 +159,8 @@ Mêmes attributs que les options ; `gaze` fait suivre le pointeur aux yeux.
157
159
  GET /api/<nom>.svg?size=&bg=&hue=&tone=&color=&expression=&animate=&family=&shape=&eyes=&mouth=&extra=
158
160
  ```
159
161
 
162
+ Instance hébergée : `https://mochikao.alexvolkihar.ovh/api/<nom>.svg`. À essayer dans l'[éditeur](https://mochikao.alexvolkihar.ovh/editor.html).
163
+
160
164
  Réponse `image/svg+xml` avec `Cache-Control: immutable` (même entrée → même sortie). Les paramètres invalides sont ignorés. Le handler (`api/handler.ts`) est une simple fonction `(req, res)` de `node:http`, à brancher où tu veux.
161
165
 
162
166
  ### CLI
package/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  **English** · [Français](README.fr.md)
4
4
 
5
+ [Website](https://mochikao.alexvolkihar.ovh) · [npm](https://www.npmjs.com/package/mochikao) · [GitHub](https://github.com/Alexvolkihar/mochikao)
6
+
5
7
  A face for every name. `mochikao` turns any string (username, email, ID) into a little SVG character. The same name always gives the same mochikao.
6
8
 
7
9
  ![mochikao home page: a typed name, the generated avatar and the expression picker](docs/home.png)
@@ -157,6 +159,8 @@ Same attributes as the options; `gaze` makes the eyes follow the pointer.
157
159
  GET /api/<name>.svg?size=&bg=&hue=&tone=&color=&expression=&animate=&family=&shape=&eyes=&mouth=&extra=
158
160
  ```
159
161
 
162
+ Hosted instance: `https://mochikao.alexvolkihar.ovh/api/<name>.svg`. Try it in the [editor](https://mochikao.alexvolkihar.ovh/editor.html).
163
+
160
164
  Responds with `image/svg+xml` and `Cache-Control: immutable` (same input → same output). Invalid parameters are ignored. The handler (`api/handler.ts`) is a plain `node:http` `(req, res)` function you can mount anywhere.
161
165
 
162
166
  ### CLI
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mochikao",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Deterministic avatars: any string becomes a cute, unique SVG character. Zero dependencies, React / Vue / Svelte / Solid / web component.",
5
5
  "keywords": [
6
6
  "avatar",
@@ -22,7 +22,7 @@
22
22
  "type": "git",
23
23
  "url": "git+https://github.com/Alexvolkihar/mochikao.git"
24
24
  },
25
- "homepage": "https://github.com/Alexvolkihar/mochikao#readme",
25
+ "homepage": "https://mochikao.alexvolkihar.ovh",
26
26
  "bugs": {
27
27
  "url": "https://github.com/Alexvolkihar/mochikao/issues"
28
28
  },