# osowoso/void_community_repository architecture

> Architecture diagram of the GitHub repository osowoso/void_community_repository, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-09). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/osowoso/void_community_repository
- Repository: https://github.com/osowoso/void_community_repository

## Overview

oco is an unofficial Void Linux community package repository: contributors maintain package templates, which can be built locally or obtained as prebuilt binaries from the repository service. The graph also captures the documented package-update feed and repository-index utilities, plus the website’s navigation and gallery behavior. Source excerpts are limited to selected scripts; other links are included only where the README or an excerpt explicitly documents them.

Main entry points: [`srcpkgs`](https://github.com/osowoso/void_community_repository/tree/OCO/srcpkgs) (Package Templates), [`src`](https://github.com/osowoso/void_community_repository/tree/OCO/src) (Site Templates), [`ocoman`](https://github.com/osowoso/void_community_repository/blob/OCO/ocoman) (Repository Manager), [`src/gen-feed.py`](https://github.com/osowoso/void_community_repository/blob/OCO/src/gen-feed.py) (RSS Generator)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_packages["Package Repository"]
  node_package_templates["Package Templates"]
  node_repository_manager["Repository Manager"]
  node_binary_repository[("Binary Repository")]
end

subgraph group_site["Repository Website"]
  node_site_templates["Site Templates"]
  node_site_navigation["Site Navigation<br/>[main.js]"]
  node_image_gallery["Image Gallery<br/>[gallery.js]"]
end

subgraph group_metadata["Repository Metadata"]
  node_build_results["Build Results"]
  node_rss_generator["RSS Generator<br/>[gen-feed.py]"]
  node_repodata_dumper["Index Dumper<br/>[repodata-dump.py]"]
  node_repodata_lister["Package Lister<br/>[repodata-list.py]"]
  node_repodata_stripper["Index Stripper<br/>[repodata-strip.py]"]
  node_repo_comparison["Repository Comparison"]
  node_update_issues["Update Issue Closer"]
end

node_contributor(("Contributor"))

node_contributor -->|"manages clones"| node_repository_manager
node_contributor -->|"contributes templates"| node_package_templates
node_repository_manager -->|"updates template list"| node_package_templates
node_package_templates -->|"builds packages for"| node_binary_repository
node_binary_repository -->|"provides binaries"| node_contributor
node_site_templates -.->|"supports navigation"| node_site_navigation
node_site_templates -.->|"hosts gallery"| node_image_gallery
node_build_results -->|"supplies results"| node_rss_generator
node_rss_generator -->|"publishes build feed"| node_binary_repository
node_repo_comparison -->|"uses dumper"| node_repodata_dumper
node_repodata_lister -.->|"reads package index"| node_binary_repository
node_repodata_stripper -.->|"edits package index"| node_binary_repository
node_build_results -->|"supplies build status"| node_update_issues

click node_package_templates "https://github.com/osowoso/void_community_repository/tree/OCO/srcpkgs"
click node_repository_manager "https://github.com/osowoso/void_community_repository/blob/OCO/ocoman"
click node_site_templates "https://github.com/osowoso/void_community_repository/tree/OCO/src"
click node_site_navigation "https://github.com/osowoso/void_community_repository/blob/OCO/src/main.js"
click node_image_gallery "https://github.com/osowoso/void_community_repository/blob/OCO/src/gallery.js"
click node_rss_generator "https://github.com/osowoso/void_community_repository/blob/OCO/src/gen-feed.py"
click node_repodata_dumper "https://github.com/osowoso/void_community_repository/blob/OCO/src/repodata-dump.py"
click node_repodata_lister "https://github.com/osowoso/void_community_repository/blob/OCO/src/repodata-list.py"
click node_repodata_stripper "https://github.com/osowoso/void_community_repository/blob/OCO/src/repodata-strip.py"
click node_repo_comparison "https://github.com/osowoso/void_community_repository/blob/OCO/src/compare-community.sh"
click node_update_issues "https://github.com/osowoso/void_community_repository/blob/OCO/src/close-update-issues.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_package_templates,node_repository_manager,node_binary_repository toneBlue
class node_site_templates,node_site_navigation,node_image_gallery toneAmber
class node_build_results,node_rss_generator,node_repodata_dumper,node_repodata_lister,node_repodata_stripper,node_repo_comparison,node_update_issues toneMint
class node_contributor toneIndigo
```

## Components

### Package Repository

- [Package Templates](https://github.com/osowoso/void_community_repository/tree/OCO/srcpkgs): `srcpkgs`
- [Repository Manager](https://github.com/osowoso/void_community_repository/blob/OCO/ocoman): `ocoman`
- **Binary Repository**

### Repository Website

- [Site Templates](https://github.com/osowoso/void_community_repository/tree/OCO/src): `src`
- [Site Navigation](https://github.com/osowoso/void_community_repository/blob/OCO/src/main.js): `src/main.js`
- [Image Gallery](https://github.com/osowoso/void_community_repository/blob/OCO/src/gallery.js): `src/gallery.js`

### Repository Metadata

- **Build Results**
- [RSS Generator](https://github.com/osowoso/void_community_repository/blob/OCO/src/gen-feed.py): `src/gen-feed.py`
- [Index Dumper](https://github.com/osowoso/void_community_repository/blob/OCO/src/repodata-dump.py): `src/repodata-dump.py`
- [Package Lister](https://github.com/osowoso/void_community_repository/blob/OCO/src/repodata-list.py): `src/repodata-list.py`
- [Index Stripper](https://github.com/osowoso/void_community_repository/blob/OCO/src/repodata-strip.py): `src/repodata-strip.py`
- [Repository Comparison](https://github.com/osowoso/void_community_repository/blob/OCO/src/compare-community.sh): `src/compare-community.sh`
- [Update Issue Closer](https://github.com/osowoso/void_community_repository/blob/OCO/src/close-update-issues.py): `src/close-update-issues.py`

### Other components

- **Contributor**

## Connections

- Contributor → Repository Manager: manages clones (evidence: `README.md`)
- Contributor → Package Templates: contributes templates (evidence: `README.md`)
- Repository Manager → Package Templates: updates template list (evidence: `README.md`)
- Package Templates → Binary Repository: builds packages for (evidence: `README.md`)
- Binary Repository → Contributor: provides binaries (evidence: `README.md`)
- Site Templates → Site Navigation: supports navigation
- Site Templates → Image Gallery: hosts gallery
- Build Results → RSS Generator: supplies results (evidence: `src/gen-feed.py`)
- RSS Generator → Binary Repository: publishes build feed (evidence: `README.md`)
- Repository Comparison → Index Dumper: uses dumper (evidence: `src/repodata-dump.py`)
- Package Lister → Binary Repository: reads package index
- Index Stripper → Binary Repository: edits package index
- Build Results → Update Issue Closer: supplies build status (evidence: `src/close-update-issues.py`)
