Skip to content

paulortiz199928/c2pa-wiki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

35 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

C2PA Wiki

Deploy to GitHub Pages

๐ŸŒ Live Site: https://paulortiz199928.github.io/c2pa-wiki/

Comprehensive documentation website for C2PA (Coalition for Content Provenance and Authenticity), built with Astro Starlight.

๐ŸŒŸ Features

  • Multi-language Support: English and Simplified Chinese (more coming)
  • Fast Search: Powered by Pagefind
  • Dark Mode: Built-in theme switcher
  • Responsive Design: Mobile-first approach
  • Automated Sync: Content automatically synced from awesome-c2pa
  • Multi-language Specifications: C2PA spec in 5 languages (EN, CN, JP, DE, FR)

๐Ÿš€ Quick Start

Prerequisites

  • Node.js 18+ (LTS)
  • npm or pnpm

Local Development

# Clone the repository
git clone https://github.com/paulortiz199928/c2pa-wiki.git
cd c2pa-wiki

# Install dependencies
npm install

# Start development server
npm run dev
# โ†’ Opens at http://localhost:4321/c2pa-wiki/

# Build for production
npm run build

# Preview production build
npm run preview

๐Ÿ“ Project Structure

c2pa-wiki/
โ”œโ”€โ”€ .github/
โ”‚   โ””โ”€โ”€ workflows/
โ”‚       โ””โ”€โ”€ deploy.yml           # GitHub Pages deployment
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ content/
โ”‚   โ”‚   โ””โ”€โ”€ docs/
โ”‚   โ”‚       โ”œโ”€โ”€ en/              # English content
โ”‚   โ”‚       โ”‚   โ”œโ”€โ”€ index.md
โ”‚   โ”‚       โ”‚   โ”œโ”€โ”€ getting-started/
โ”‚   โ”‚       โ”‚   โ”œโ”€โ”€ specifications/
โ”‚   โ”‚       โ”‚   โ”œโ”€โ”€ tools/
โ”‚   โ”‚       โ”‚   โ””โ”€โ”€ community/
โ”‚   โ”‚       โ””โ”€โ”€ zh/              # Chinese content
โ”‚   โ”‚           โ””โ”€โ”€ ...
โ”‚   โ”œโ”€โ”€ components/              # Custom Astro components
โ”‚   โ””โ”€โ”€ styles/
โ”‚       โ””โ”€โ”€ custom.css           # Custom styles
โ”œโ”€โ”€ public/
โ”‚   โ””โ”€โ”€ specifications/          # PDF specification files
โ”‚       โ”œโ”€โ”€ C2PA_Specification.pdf
โ”‚       โ”œโ”€โ”€ C2PA_Specification_zh-Hans.pdf
โ”‚       โ”œโ”€โ”€ C2PA_Specification_ja.pdf
โ”‚       โ”œโ”€โ”€ C2PA_Specification_de.pdf
โ”‚       โ””โ”€โ”€ C2PA_Specification_fr.pdf
โ”œโ”€โ”€ astro.config.mjs             # Astro configuration
โ”œโ”€โ”€ package.json
โ””โ”€โ”€ README.md

๐Ÿ“– Content Management

Important: Content Sync

This wiki's content is automatically synced from the awesome-c2pa repository.

DO NOT edit content files directly in this repository - they will be overwritten during sync.

To update content:

  1. Edit content in awesome-c2pa
  2. Content will be automatically synced to this wiki

For Infrastructure Changes

You CAN directly edit:

  • UI components in src/components/
  • Styles in src/styles/
  • Configuration in astro.config.mjs
  • GitHub Actions workflows

๐Ÿ› ๏ธ Development

Available Scripts

npm run dev      # Start development server
npm run build    # Build for production
npm run preview  # Preview production build
npm run astro    # Run Astro CLI commands

Technology Stack

  • Framework: Astro v5.16+
  • Theme: Starlight v0.36+
  • Search: Pagefind (built-in)
  • Styling: Custom CSS + Starlight theming
  • Hosting: GitHub Pages
  • CI/CD: GitHub Actions

๐ŸŒ Multi-language Support

Available Languages

  • ๐Ÿ‡ฌ๐Ÿ‡ง English (/en/)
  • ๐Ÿ‡จ๐Ÿ‡ณ ็ฎ€ไฝ“ไธญๆ–‡ (/zh/)

Adding New Languages

See the Translation Guide for details on:

  • Setting up new language directories
  • Translating content
  • Updating configuration

๐Ÿšข Deployment

Automatic Deployment

Manual Deployment

# Build the site
npm run build

# The output will be in ./dist/
# Deploy the contents of dist/ to your hosting provider

๐Ÿค Contributing

We welcome contributions! Please see our Contributing Guide for:

  • How to report issues
  • How to suggest improvements
  • Development workflow
  • Code of conduct

Quick Contribution Guidelines

  1. For content: Edit in awesome-c2pa
  2. For infrastructure: Fork this repo and submit a PR
  3. For translations: See Translation Guide

๐Ÿ“ License

This project inherits the license from awesome-c2pa.

Content is sourced from the awesome-c2pa repository and community contributions.

๐Ÿ”— Related Projects

๐Ÿ“Š Project Status

  • โœ… Phase 1: Foundation - Complete
  • ๐Ÿšง Phase 2: Content Migration - In Progress
  • โณ Phase 3: Automation - Planned
  • โณ Phase 4: Enhancements - Planned

See PRD.md for detailed project roadmap.

๐Ÿ’ฌ Support & Community

๐Ÿ™ Acknowledgments


Built with โค๏ธ by the C2PA community

Last Updated: November 2025

About

c2pa.wiki

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •