Open-source and local-first Slack and Notion alternative that puts you in control of your data
TypeScript chatchat-applicationcrdteditorelectronknowledge-baselocal-firstnotionnotion-alternativerealtime-collaborationself-hostedslacksqliteteam-collaborationwikiyjs
Update some readme files
Hakan Shehu881f62280483
diff --git a/README.md b/README.mdindex 51dcfe82..7d2e4435 100644--- a/README.md+++ b/README.md@@ -1,61 +1,54 @@<p align="center">- <img alt="Colanode cover" src="apps/desktop/assets/colanode_cover_black.png">+ <img alt="Colanode cover" src="apps/desktop/assets/colanode_cover_black.png"></p># Colanode-**An all-in-one, open-source, and self-hosted collaboration platform that puts you in control of your data.**+### Open-source & local-first collaboration workspace that you can self-host-Colanode is a local-first, open-source platform for seamless collaboration. It combines the flexibility of online teamwork with the privacy and security of self-hosted data. Whether you’re chatting with teammates, documenting projects, managing databases, or organizing files, Colanode provides an integrated experience that works both online and offline.+Colanode is an all-in-one platform for easy collaboration, built to prioritize your data privacy and control. Designed with a **local-first** approach, it helps teams communicate, organize, and manage projects—whether online or offline. With Colanode, you get the flexibility of modern collaboration tools, plus the peace of mind that comes from owning your data.-- **Chat:** Communicate in real-time through direct messages or group chats.-- **Pages:** Create and edit rich-content documents, wikis, and notes using a Notion-style editor.-- **Databases:** Structure and query your content using customizable fields and views.-- **Files & Folders:** Manage and share files through attachments or dedicated folders.+### What can you do with Colanode?-## How It Works+- **Real-Time Chat:** Stay connected with instant messaging for teams and individuals.+- **Rich Text Pages:** Create documents, wikis, and notes using an intuitive editor, similar to Notion.+- **Customizable Databases:** Organize information with structured data, custom fields and dynamic views (table, kanban, calendar).+- **File Management:** Store, share, and manage files effortlessly within secure workspaces.-At the core of Colanode is a powerful local-first architecture designed for speed, reliability, and privacy:+Built for both individuals and teams, Colanode adapts to your needs, whether you're running a small project, managing a team, or collaborating across an entire organization. With its self-hosted model, you retain full control over your data while enjoying a polished, feature-rich experience.-1. **Local Data Model:**- Everything in Colanode is stored as a “node.” This includes messages, pages, databases, records, folders, files, users, and more. All nodes are initially saved in a local SQLite database within the desktop app.+## How it works-2. **Transactions & Offline Support:**- Changes—such as sending a message or updating a page—are recorded as transactions in the local database. Because all reads occur locally, the platform remains fast and fully functional even without an internet connection.+Colanode includes a desktop app and a self-hosted server. You can connect to multiple servers with a single app, each containing one or more **workspaces** for different teams or projects. After logging in, you pick a workspace to start collaborating—sending messages, editing pages, or updating database records.-3. **Synchronization with a Central Server:**- A background service automatically syncs all local transactions to a server using CRDT (Conflict-Free Replicated Data Types). This ensures that edits and updates made from multiple devices remain consistent. Only data to which a user has permission is synced to their device, ensuring privacy and reducing unnecessary data transfer.+### Local-first workflow-4. **Local-First Collaboration:**- With Colanode, you can connect to multiple servers from a single desktop client. Host the server anywhere you choose and maintain full control over your data. This flexible, decentralized approach empowers teams to securely collaborate across various environments.+All changes you make are saved to a local SQLite database first and then synced to the server. A background process handles this synchronization so you can keep working even if your computer or the server goes offline. Data reads also happen locally, ensuring immediate access to any content you have permissions to view.-## Why Colanode?+### Concurrent edits-- **Open Source:** Colanode’s code is fully open source, ensuring transparency and the ability to audit or customize the platform to your needs.-- **Local-First & Offline-Ready:** Don’t let internet outages slow you down. Work offline, and let Colanode handle synchronization behind the scenes when you’re back online.-- **Scalable & Modular:** Easily adapt Colanode for small teams or large organizations. Its modular architecture and extensible design allow it to grow with you.-- **Privacy & Security:** Self-hosting gives you ultimate control over your data. Keep your information private, secure, and governed by your own policies.+Colanode relies on **Conflict-free Replicated Data Types (CRDTs)** - powered by [Yjs](https://docs.yjs.dev/) - to allow real-time collaboration on entries like pages or database records. This means multiple people can edit at the same time, and the system gracefully merges everyone’s updates. Deletions are also tracked as specialized transactions. Messages and file operations don’t support concurrent edits and use simpler database tables.-## Getting started+## Get started for free-The easiest way to try Colanode is to [download the desktop app](https://colanode.com/downloads) from the official website and sign in to one of Colanode’s provided cloud servers. Enjoy a generous free tier for personal use, and explore the platform’s features without any upfront commitment.+To begin using Colanode, **download the official desktop app** from the [website](https://colanode.com/downloads). Once installed, you can connect to any Colanode server—including our free beta cloud servers:-## Tech Stack+- **Colanode Cloud (EU)** – hosted in Europe.+- **Colanode Cloud (US)** – hosted in the United States.-- **Desktop App:**+Both cloud servers are currently in beta and free to use; pricing will be announced soon.- - [Electron](https://www.electronjs.org/)- - [Vite](https://vitejs.dev/)- - [React](https://reactjs.org/)- - [TypeScript](https://www.typescriptlang.org/)+### Self-host with Docker-- **Server:**+If you prefer to host your own Colanode server, simply use the Docker Compose file in the root of this repository. In the near future, we’ll provide more detailed instructions for other environments, including Kubernetes. For now, here’s what you need to run Colanode yourself:- - [Node.js](https://nodejs.org/)- - [Express](https://expressjs.com/)- - [TypeScript](https://www.typescriptlang.org/)+- **Postgres** with the **pgvector** extension.+- **Redis** (any Redis-compatible service will work, e.g., Valkey).+- **S3-compatible storage** (supporting basic file operations and presigned URLs).+- **Colanode server API**, provided as a Docker image.-- **Database & Storage:**- - [PostgreSQL](https://www.postgresql.org/) for structured data- - [Redis](https://redis.io/) for caching and message queues- - S3-compatible storage (e.g., [MinIO](https://min.io/)) for files+All required environment variables for the Colanode server can be found in the docker-compose file.++## License++Colanode is released under the [Apache 2.0 License](LICENSE).diff --git a/docker-compose.yaml b/docker-compose.yamlindex 1a293ab6..053eaaa2 100644--- a/docker-compose.yaml+++ b/docker-compose.yaml@@ -12,7 +12,7 @@ services:volumes:- postgres_data:/var/lib/postgresql/dataports:- - "5432:5432"+ - '5432:5432'networks:- colanode_network@@ -20,11 +20,11 @@ services:image: redis:7container_name: colanode_redisrestart: always- command: ["redis-server", "--requirepass", "strongredispassword"]+ command: ['redis-server', '--requirepass', 'strongredispassword']volumes:- redis_data:/dataports:- - "6379:6379"+ - '6379:6379'networks:- colanode_network@@ -38,14 +38,14 @@ services:volumes:- minio_data:/dataports:- - "9000:9000"+ - '9000:9000'command: server /datanetworks:- colanode_networkserver:build:- context: .+ context: .dockerfile: apps/server/Dockerfileimage: colanode_servercontainer_name: colanode_server@@ -55,43 +55,91 @@ services:- redis- minioenvironment:- # Server Configuration+ # ───────────────────────────────────────────────────────────────+ # General Node/Server Config+ # ───────────────────────────────────────────────────────────────NODE_ENV: productionPORT: 3000- # Database Configuration- DATABASE_URL: postgres://colanode_user:strongpassword@postgres:5432/colanode_db+ # The server requires a name and avatar URL which will be displayed in the desktop app login screen.+ SERVER_NAME: 'Colanode'+ SERVER_AVATAR: ''+ # ───────────────────────────────────────────────────────────────+ # Account Configuration+ # ───────────────────────────────────────────────────────────────+ # Possible values for ACCOUNT_VERIFICATION_TYPE: 'automatic', 'manual', 'email'+ ACCOUNT_VERIFICATION_TYPE: 'manual'+ ACCOUNT_OTP_TIMEOUT: '600' # in seconds+ ACCOUNT_ALLOW_GOOGLE_LOGIN: 'false'++ # ───────────────────────────────────────────────────────────────+ # PostgreSQL Configuration+ # ───────────────────────────────────────────────────────────────+ # The server expects a PostgreSQL database with the pgvector extension installed.+ POSTGRES_URL: 'postgres://colanode_user:strongpassword@postgres:5432/colanode_db'++ # ───────────────────────────────────────────────────────────────# Redis Configuration- REDIS_URL: redis://:strongredispassword@redis:6379/0- REDIS_HOST: redis- REDIS_PASSWORD: strongredispassword- REDIS_PORT: 6379- REDIS_DB: 0-- # Redis Channel Configuration (updated)- REDIS_CHANGES_CHANNEL_NAME: colanode_changes-- # MinIO (S3-Compatible Storage) Configuration- AVATARS_STORAGE_ENDPOINT: http://minio:9000- AVATARS_STORAGE_BUCKET_NAME: colanode-avatars- AVATARS_STORAGE_REGION: us-east-1- AVATARS_STORAGE_ACCESS_KEY: minioadmin- AVATARS_STORAGE_SECRET_KEY: minioadminpassword-- FILES_STORAGE_ENDPOINT: http://minio:9000- FILES_STORAGE_BUCKET_NAME: colanode-files- FILES_STORAGE_REGION: us-east-1- FILES_STORAGE_ACCESS_KEY: minioadmin- FILES_STORAGE_SECRET_KEY: minioadminpassword-- SMTP_HOST: smtp.example.com- SMTP_PORT: 587- SMTP_USER: [email protected]- SMTP_PASS: passsword- EMAIL_FROM: [email protected]+ # ───────────────────────────────────────────────────────────────+ REDIS_URL: 'redis://:strongredispassword@redis:6379/0'+ REDIS_HOST: 'redis'+ REDIS_PORT: '6379'+ REDIS_PASSWORD: 'strongredispassword'+ REDIS_DB: '0'+ # Optional variables:+ REDIS_JOBS_QUEUE_NAME: 'jobs'+ REDIS_EVENTS_CHANNEL: 'events'++ # ───────────────────────────────────────────────────────────────+ # S3 Configuration for Avatars+ # ───────────────────────────────────────────────────────────────+ S3_AVATARS_ENDPOINT: 'http://minio:9000'+ S3_AVATARS_ACCESS_KEY: 'minioadmin'+ S3_AVATARS_SECRET_KEY: 'minioadminpassword'+ S3_AVATARS_BUCKET_NAME: 'colanode-avatars'+ S3_AVATARS_REGION: 'us-east-1'++ # ───────────────────────────────────────────────────────────────+ # S3 Configuration for Files+ # ───────────────────────────────────────────────────────────────+ S3_FILES_ENDPOINT: 'http://minio:9000'+ S3_FILES_ACCESS_KEY: 'minioadmin'+ S3_FILES_SECRET_KEY: 'minioadminpassword'+ S3_FILES_BUCKET_NAME: 'colanode-files'+ S3_FILES_REGION: 'us-east-1'++ # ───────────────────────────────────────────────────────────────+ # SMTP Configuration+ # ───────────────────────────────────────────────────────────────+ SMTP_HOST: 'smtp.example.com'+ SMTP_PORT: '587'+ SMTP_USER: '[email protected]'+ SMTP_PASSWORD: 'passsword'+ # configuration.ts requires SMTP_EMAIL_FROM and SMTP_EMAIL_FROM_NAME+ SMTP_EMAIL_FROM: '[email protected]'+ SMTP_EMAIL_FROM_NAME: 'ColaNode'++ # ───────────────────────────────────────────────────────────────+ # AI Configuration+ # ───────────────────────────────────────────────────────────────+ AI_ENABLED: 'false'+ AI_ENTRY_EMBED_DELAY: '60000'++ OPENAI_API_KEY: ''+ OPENAI_EMBEDDING_MODEL: 'text-embedding-ada-002'+ OPENAI_EMBEDDING_DIMENSIONS: '2000'+ OPENAI_EMBEDDING_BATCH_SIZE: '50'++ CHUNK_DEFAULT_CHUNK_SIZE: '1000'+ CHUNK_DEFAULT_OVERLAP: '200'+ CHUNK_ENHANCE_WITH_CONTEXT: 'false'+ CHUNK_CONTEXT_ENHANCER_MODEL: 'gpt-4o-mini'+ CHUNK_CONTEXT_ENHANCER_TEMPERATURE: '0.3'+ # ───────────────────────────────────────────────────────────────+ports:- - "3000:3000"+ - '3000:3000'networks:- colanode_network@@ -102,4 +150,4 @@ volumes:networks:colanode_network:- driver: bridge\ No newline at end of file+ driver: bridgediff --git a/scripts/README.md b/scripts/README.mdnew file mode 100644index 00000000..996fca05--- /dev/null+++ b/scripts/README.md@@ -0,0 +1,40 @@+# Colanode scripts++This folder contains a collection of one-time or utility scripts that support the Colanode application. These scripts are not part of the main application runtime; rather, they are used to generate assets, seed data, or perform other setup tasks.++## Overview++- **Emoji Generator (`/src/emojis`)** - Generates emoji files and metadata used in Colanode app.++- **Icons Generator (`/src/icons`)** - Generates icon files and metadata used in Colanode app.++- **Seed Script (`/src/seed`)** - Automatically creates dummy data for testing or local development. This includes:++ - Creating user accounts+ - Generating sample workspaces+ - Populating these workspaces with example content like pages, databases, and messages++- **Postinstall Script (`/src/postinstall`)** - a script that runs immediately after you install dependencies (via `npm install`).++## Usage++Each script can be run independently by calling the corresponding npm script in the root of `scripts` directory (as defined in the `package.json`):++- **Generate Emojis:**+ ```bash+ npm run generate:emojis+ ```+- **Generate Icons:**+ ```bash+ npm run generate:icons+ ```+- **Seed Data:**+ ```bash+ npm run seed+ ```++The `postinstall` script typically runs automatically after each `npm install`, but you can also manually run it if needed:++```bash+node --no-warnings --loader ts-node/esm scripts/src/postinstall/index.ts+```diff --git a/scripts/src/emojis/README.md b/scripts/src/emojis/README.mdindex 1d31862f..07fb2003 100644--- a/scripts/src/emojis/README.md+++ b/scripts/src/emojis/README.md@@ -1,3 +1,55 @@-# Emoji generator+# Colanode emoji generator script-This script generates emoji metadata and SVG files used in emoji avatar picker in desktop.+This directory contains a script that automatically downloads, processes, and packages emoji metadata and SVG files for **Colanode**. These emojis can then be used across the Colanode platform in two primary ways:++1. **Reactions to Messages** – Users can react to messages in chats or channels with these emojis.+2. **Icons** – Users can assign emojis as icons for their entries: channels, pages, databases, records, folders etc.++By consolidating emojis from [Emoji Mart](https://github.com/missive/emoji-mart) and [Twemoji](https://github.com/twitter/twemoji) (in our case, a forked [jdecked/twemoji](https://github.com/jdecked/twemoji)), we ensure broad coverage of Unicode emojis with consistent SVG assets for an optimal user experience.++## How It Works++1. **Download Required Repositories**++ - **Emoji Mart** (from GitHub tag `v5.6.0`): Provides emoji metadata (names, keywords, categories, etc.).+ - **Twemoji** (from GitHub tag `v15.1.0`): Provides SVG files for each emoji in the set.++2. **Extract & Organize Files**+ The script:++ - Unzips the downloaded archives into a temporary working directory (`src/emojis/temp`).+ - Reads the **Emoji Mart** metadata (from `en.json` and `twitter.json`).+ - Reads the **Twemoji** SVG assets from the `assets/svg` directory.++3. **Process & Generate**++ - Creates or updates an `emojis.json` file containing all emojis with their respective metadata and unique IDs.+ - Merges any existing metadata from a previous run so as not to overwrite or lose previously assigned IDs. This way, emojis already in use retain consistent IDs in the Colanode app.+ - Renames and copies each Twemoji SVG file into `src/emojis/temp/emojis/` using the uniquely generated ID as the new filename (e.g., `01je8kh1h7zw2e14tqzkmwparcem.svg`).++4. **Zip the Results**+ - Combines all SVG files into a single `emojis.zip` for convenient distribution or reference in other parts of the monorepo.+ - Cleans up the temporary files/directories once everything is packaged.++## Usage++1. **Install Dependencies** (from the root of the monorepo):++ ```bash+ npm install+ ```++2. **Generate Emojis** (from the `scripts` directory):++ ```bash+ npm run generate:emojis+ ```++Once the script completes, you’ll have a fresh set of SVG emojis files and an updated `emojis.json` with all relevant metadata (IDs, categories, tags, etc.).++## Notes on Licensing++While **Colanode** is open source under its own [license terms](../../../LICENSE) (in the root of the monorepo), the emojis retrieved from **Emoji Mart** and **Twemoji** are subject to their respective licenses. Please review their repositories for details:++- [missive/emoji-mart](https://github.com/missive/emoji-mart)+- [jdecked/twemoji (originally Twitter’s Twemoji)](https://github.com/jdecked/twemoji)diff --git a/scripts/src/icons/README.md b/scripts/src/icons/README.mdindex a703eb1c..880c1a46 100644--- a/scripts/src/icons/README.md+++ b/scripts/src/icons/README.md@@ -1,3 +1,53 @@-# Icons generator+# Colanode icon generator script-This script generates icons metadata and SVG files used in icon avatar picker in desktop.+This directory contains a script that automatically downloads, processes, and packages various icon sets for **Colanode**. These icons are used across the Colanode platform where users assign them as icons for their entries: channels, pages, databases, records, folders etc.++By consolidating icons from [Remix Icon](https://github.com/Remix-Design/RemixIcon) and [Simple Icons](https://github.com/simple-icons/simple-icons), we provide a robust collection of icons—both general-purpose (Remix Icon) and brand-specific (Simple Icons)—for an optimal user experience.++## How It Works++1. **Download Required Repositories**++ - **Remix Icon** (from GitHub tag `v4.5.0`): Provides an extensive set of general-purpose icons, each organized into categories (e.g., “System,” “User Interface,” etc.).+ - **Simple Icons** (from GitHub tag `13.16.0`): Provides icons for popular brands, making it easy to visually represent external services or technologies.++2. **Extract & Organize Files**+ The script:++ - Unzips the downloaded archives into a temporary working directory (`src/icons/temp`).+ - For **Remix Icon**, it reads a `tags.json` file (inside the unzipped folder) to identify additional icon tags and categories.+ - For **Simple Icons**, it reads a `_data/simple-icons.json` file to gather icon metadata (such as official title and slug).++3. **Generate or Update Metadata**++ - Creates or updates an `icons.json` file containing all icons with their respective metadata and unique IDs.+ - Merges any existing metadata from a previous run so as not to overwrite or lose previously assigned IDs. This way, icons already in use retain consistent IDs in the Colanode app.+ - Organizes icons into categories (for example, “System” categories from Remix Icon and a “Logos” category for all Simple Icons).+ - Renames and copies each SVG file (whether from **Remix Icon** or **Simple Icons**) into `src/icons/temp/icons` using the uniquely generated ID as the new filename (e.g., `01je8kh1h7zw2e14tqzkmwparcic.svg`).++4. **Zip the Results**+ - Packs all SVG files into a single `icons.zip` for convenient distribution or use elsewhere in the monorepo.+ - Cleans up temporary files and directories once everything is packaged.++## Usage++1. **Install Dependencies** (from the root of the monorepo):++ ```bash+ npm install+ ```++2. **Generate Icons** (from the `scripts` directory):++ ```bash+ npm run generate:icons+ ```++Once the script completes, you’ll have a fresh set of SVG icon files and an updated `icons.json` with all relevant metadata (IDs, categories, tags, etc.).++## Notes on Licensing++While **Colanode** is open source under its own [license terms](../../../LICENSE) in the root of the monorepo, the icons downloaded from **Remix Icon** and **Simple Icons** are subject to their respective licenses. Please review their repositories for details:++- [Remix Icon](https://github.com/Remix-Design/RemixIcon)+- [Simple Icons](https://github.com/simple-icons/simple-icons)diff --git a/scripts/src/postinstall/README.md b/scripts/src/postinstall/README.mdnew file mode 100644index 00000000..ebfb4eaa--- /dev/null+++ b/scripts/src/postinstall/README.md@@ -0,0 +1,32 @@+# Colanode postinstall script++This directory contains the **postinstall script** that automatically extracts and updates emoji and icon assets within the **Colanode** desktop application after each dependency installation. By checking for changes in the existing metadata files, this script ensures that the latest emojis and icons are always present in the `apps/desktop/assets` folder without requiring manual intervention.++The primary purpose of this script is to maintain updated emojis and icons in the desktop application (and potentially other future apps) without committing thousands of individual files to version control. Given that there are roughly 3,500 emoji files and 4,800 icon files, storing them directly in the app’s repository would significantly bloat the codebase and produce large diffs whenever assets are updated or reorganized. Instead, these assets are packaged as ZIP files in the `scripts` directory and automatically extracted into the desktop app’s `assets` folder during dependency installation. This ensures that all necessary emojis and icons are available for both development and production builds, while also preventing the repository from becoming unwieldy. The `apps/desktop/assets/emojis` and `apps/desktop/assets/icons` directories are therefore ignored by Git.++For more information about how these emojis or icons are generated and zipped, check:++- [Emoji generation script](../emojis)+- [Icon generation script](../icons)++## How It Works++1. **Compare Metadata Files**+ The script checks whether the current metadata files in `apps/desktop/assets/emojis/` and `apps/desktop/assets/icons/` match those in the `scripts/src/emojis` and `scripts/src/icons` directories. If no changes are detected, it does nothing—this saves time during routine installs.++2. **Copy & Extract Assets**+ If there are updates:++ - **Emojis**: Copies the `emojis.json` file to the desktop app’s `assets/emojis/` folder and extracts all SVG files from `emojis.zip` into that same folder.+ - **Icons**: Copies the `icons.json` file to `assets/icons/` and extracts all SVG files from `icons.zip`.++3. **Automatic Execution**+ This script typically runs right after every `npm install` within the monorepo, so you rarely need to run it manually. It serves as a final step in aligning local assets with the latest changes from the `scripts` directory.++## Usage++While it’s normally triggered by the monorepo’s `postinstall` hook, you can manually invoke it if you’d like:++```bash+node --no-warnings --loader ts-node/esm scripts/src/postinstall/index.ts+```diff --git a/scripts/src/seed/README.md b/scripts/src/seed/README.mdnew file mode 100644index 00000000..ac787dc0--- /dev/null+++ b/scripts/src/seed/README.md@@ -0,0 +1,50 @@+# Colanode seed script++This directory contains a script that automatically creates a set of **dummy data** for **Colanode**, which can be used for testing, demos, or local development. Specifically, it provisions multiple user accounts, a primary workspace, and a variety of example content including pages, databases, channels, chats, and messages, all in a few automated steps.++## How It Works++1. **Load Accounts**+ The script reads `accounts.json` for a list of sample accounts, each with a name, email, password, and avatar. It then:++ - Creates the **main** account (first in the JSON list).+ - Sets up a new workspace named “Colanode” for this main account.+ - Uploads a workspace avatar image and assigns it to the workspace.++2. **Invite & Create Additional Accounts**+ The remaining accounts in `accounts.json` (beyond the first) are each registered, and then automatically invited to the newly created workspace.+ _Example:_ It might create accounts for “Daniel Sykes,” “Mark Lynch,” etc., all while assigning them consistent user IDs.++3. **Populate the Workspace**+ Once the main and secondary accounts exist:++ - A **Node Generator** (`node-generator.ts`) script runs to create spaces, pages, channels, and databases within the main workspace.+ - **Messages, Records, and Content**: The script inserts example text (using [faker](https://fakerjs.dev/)) into pages, channels, and direct chats, generating thousands of random message items for realistic scenario testing.++4. **Batch Mutations**+ The script organizes database or chat updates into **mutations**. These mutations are then sent in batches (to the server’s REST API) to avoid large single-payload operations. This approach simulates real-world usage where multiple items might be created sequentially or in small chunks.++5. **Local vs. Remote**+ By default, it points at a **development server** on `http://localhost:3000` to register users and send data. If you need to seed another environment, adjust the `SERVER_DOMAIN` constant in `index.ts`.++**The account information in `accounts.json` is entirely fictional and generated using GPT-4. Any resemblance to real individuals is purely coincidental. The account avatars were created using OpenAI's DALL-E.**++## Usage++1. **Install Dependencies** (from the monorepo root):++ ```bash+ npm install+ ```++2. **Run the Seed Script** (within the `scripts` directory):+ ```bash+ npm run seed+ ```+ This command reads `accounts.json`, creates each account, sets up the workspace, and populates it with sample data. Once complete, you’ll have a fully seeded development instance of **Colanode** to explore.++## Notes++- **Performance**: By default, the script creates several thousand messages, records, and pages. If you find performance is an issue, you can reduce the numbers (e.g., number of messages per channel, or records per database) in `node-generator.ts`.+- **Avatars**: The `avatars/` folder (referenced in `index.ts`) contains sample `.webp` images for users. These are automatically uploaded to the server, and each user’s `avatar` field is updated accordingly.+- **Data Cleanup**: The script does not automatically purge any existing data. If you run it repeatedly against the same server or workspace, it will fail because of duplicate account emails used before.