Skip to content

geolonia/geonicdb-docs

GeonicDB Documentation

🇯🇵 日本語版はこちら

Overview

This repository hosts the official documentation for GeonicDB, a serverless FIWARE Orion-compatible Context Broker. The documentation site is built with VitePress and provides comprehensive guides, API references, and integration examples.

GeonicDB is a next-generation Context Broker that brings FIWARE standards to the serverless world:

  • AI-Native: Built-in MCP server, llms.txt, tools.json, and OpenAPI 3.0 for seamless AI agent integration
  • Serverless: Runs on AWS Lambda with auto-scaling and pay-per-use pricing
  • Dual API Support: Both NGSIv2 and NGSI-LD on a single instance
  • Japan Standards Ready: CADDE compatible with provenance tracking

🌐 Live Documentation: https://docs.geonicdb.org/

Tech Stack

  • VitePress 1.6.x - Static site generator for documentation
  • TypeScript - Type-safe development
  • i18n - English and Japanese language support
  • yuuhitsu - AI-powered translation CLI

Getting Started

Prerequisites

  • Node.js 20.x or higher
  • pnpm 10.29.2 or higher

Installation

# Clone the repository
git clone https://github.com/geolonia/geonicdb-docs.git
cd geonicdb-docs

# Install dependencies
pnpm install

Development

Start the development server:

pnpm docs:dev

The site will be available at http://localhost:5173

Build

Build the static site for production:

pnpm docs:build

Preview the production build:

pnpm docs:preview

Testing

Unit Tests

Run unit tests with Vitest:

pnpm test          # Run all unit tests
pnpm test:unit     # Run unit tests only

E2E Tests

Run end-to-end tests with Playwright:

pnpm test:e2e      # Run E2E tests

All Tests

Run all tests (unit + E2E):

pnpm test:all

Translation

The documentation is available in both English and Japanese. The yuuhitsu AI-powered translation CLI is integrated as a dev dependency for maintaining translation consistency.

To translate documents:

# Set up your API key in .env
ANTHROPIC_API_KEY=your_api_key_here

# Translate a specific English file to Japanese
pnpm translate:ja -- docs/en/path/to/file.md

# Translate a specific Japanese file to English
pnpm translate:en -- docs/ja/path/to/file.md

Project Structure

docs/
├── en/                         # English documentation
│   ├── introduction/          # Getting started guides
│   ├── core-concepts/         # Core concepts
│   ├── features/              # Feature guides
│   ├── api-reference/         # API documentation
│   ├── ai-integration/        # AI integration guides
│   ├── security/              # Security & authentication
│   ├── japan-standards/       # Japan standards (CADDE, etc.)
│   ├── migration/             # Migration guides
│   └── index.md               # English homepage
├── ja/                         # Japanese documentation
│   └── (same structure as en/)
└── .vitepress/
    ├── config/                 # VitePress configuration
    └── theme/                  # Custom theme

Contributing

We welcome contributions! Please follow these guidelines:

  1. Create a branch for your changes:

    git checkout -b feat/your-feature
  2. Never push directly to main - Always create a pull request

  3. Run tests before submitting:

    pnpm test:all
  4. CodeRabbit review - Address all Actionable or higher issues from CodeRabbit

  5. Submit a PR with a clear description of your changes

Workflow

  • All PRs must pass CI checks (unit tests + E2E tests)
  • CodeRabbit will automatically review your PR
  • At least one maintainer approval is required for merge

Scripts

Command Description
pnpm docs:dev Start development server
pnpm docs:build Build for production
pnpm docs:preview Preview production build
pnpm test Run unit tests
pnpm test:unit Run unit tests only
pnpm test:e2e Run E2E tests
pnpm test:all Run all tests
pnpm sync-docs Sync documentation from external sources
pnpm check-links Check for broken links
pnpm translate Translate markdown files
pnpm translate:ja Translate English docs to Japanese
pnpm translate:en Translate Japanese docs to English

Learn More

License

MIT License

Copyright (c) 2026 Geolonia Inc.

See LICENSE for details.

About

Vela のドキュメントサイト

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •