feat: Rename to Toju and add translation
Some checks failed
Deploy Web Apps / deploy (push) Successful in 5m52s
Build Android APK / build-android-apk (push) Failing after 23m15s
Queue Release Build / prepare (push) Successful in 1m42s
Queue Release Build / build-linux (push) Failing after 9m33s
Queue Release Build / build-windows (push) Successful in 26m5s
Queue Release Build / finalize (push) Has been skipped
Some checks failed
Deploy Web Apps / deploy (push) Successful in 5m52s
Build Android APK / build-android-apk (push) Failing after 23m15s
Queue Release Build / prepare (push) Successful in 1m42s
Queue Release Build / build-linux (push) Failing after 9m33s
Queue Release Build / build-windows (push) Successful in 26m5s
Queue Release Build / finalize (push) Has been skipped
This commit is contained in:
@@ -4,7 +4,7 @@ sidebar_position: 1
|
||||
|
||||
# Contributing
|
||||
|
||||
MetoYou is an npm-managed monorepo.
|
||||
Toju is an npm-managed monorepo.
|
||||
|
||||
## Packages
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@ sidebar_position: 5
|
||||
|
||||
# LLM Plugin Builder Guide
|
||||
|
||||
Copy this page into an LLM prompt when you want it to build a MetoYou plugin. It is intentionally explicit about the app, communication model, visual structure, manifest format, runtime rules, API types, and examples so the model has fewer gaps to invent around.
|
||||
Copy this page into an LLM prompt when you want it to build a Toju plugin. It is intentionally explicit about the app, communication model, visual structure, manifest format, runtime rules, API types, and examples so the model has fewer gaps to invent around.
|
||||
|
||||
## Task For The LLM
|
||||
|
||||
Build a MetoYou client plugin: a browser-safe JavaScript ES module with a `toju-plugin.json` manifest, loaded by the Angular renderer, running inside the user's local MetoYou app, using only browser APIs and the provided `TojuClientPluginApi`.
|
||||
Build a Toju client plugin: a browser-safe JavaScript ES module with a `toju-plugin.json` manifest, loaded by the Angular renderer, running inside the user's local Toju app, using only browser APIs and the provided `TojuClientPluginApi`.
|
||||
|
||||
Return a plugin folder like this:
|
||||
|
||||
@@ -22,7 +22,7 @@ my-plugin/
|
||||
|
||||
## Hard Rules
|
||||
|
||||
- Do not modify MetoYou core unless the user explicitly asks for a core code change.
|
||||
- Do not modify Toju core unless the user explicitly asks for a core code change.
|
||||
- Use plain browser ESM in `main.js`. Do not use Node APIs, `require`, `fs`, `path`, `child_process`, or build tooling unless explicitly requested.
|
||||
- Use `toju-plugin.json` as the manifest name.
|
||||
- Put every disposable returned by plugin APIs in `context.subscriptions`.
|
||||
@@ -35,9 +35,9 @@ my-plugin/
|
||||
- Server-installed plugins are requirement metadata plus local client downloads. The signaling server never executes plugin entrypoints.
|
||||
- Every event used with `api.events.*` must be declared in the manifest `events` array.
|
||||
|
||||
## What MetoYou Is
|
||||
## What Toju Is
|
||||
|
||||
MetoYou is a Discord-like chat and voice app:
|
||||
Toju is a Discord-like chat and voice app:
|
||||
|
||||
- `toju-app/`: Angular renderer and plugin runtime.
|
||||
- `electron/`: Electron desktop shell, preload bridge, local database, local REST API, local docs host.
|
||||
@@ -178,7 +178,7 @@ Minimal manifest:
|
||||
"schemaVersion": 1,
|
||||
"id": "example.my-plugin",
|
||||
"title": "My Plugin",
|
||||
"description": "Adds a focused MetoYou feature.",
|
||||
"description": "Adds a focused Toju feature.",
|
||||
"version": "1.0.0",
|
||||
"kind": "client",
|
||||
"scope": "client",
|
||||
@@ -855,7 +855,7 @@ const currentUser = api.profile.getCurrent();
|
||||
|
||||
api.profile.update({
|
||||
displayName: 'Ludde the Builder',
|
||||
description: 'Building plugins for MetoYou.'
|
||||
description: 'Building plugins for Toju.'
|
||||
});
|
||||
|
||||
api.profile.updateAvatar({
|
||||
|
||||
@@ -4,7 +4,7 @@ sidebar_position: 4
|
||||
|
||||
# Local REST API
|
||||
|
||||
The MetoYou desktop app exposes an optional local HTTP API for scripts and tools. It is implemented in Electron and reads local desktop data.
|
||||
The Toju desktop app exposes an optional local HTTP API for scripts and tools. It is implemented in Electron and reads local desktop data.
|
||||
|
||||
## Enable the API
|
||||
|
||||
|
||||
Reference in New Issue
Block a user