# f4bio/sn1ppets architecture

> Architecture diagram of the GitHub repository f4bio/sn1ppets, 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/f4bio/sn1ppets
- Repository: https://github.com/f4bio/sn1ppets

## Overview

sn1ppets is a collection of independently invoked shell utilities, not a single application pipeline. The documented user workflow is to select a task and run its script, often by streaming it from GitHub; the README lists system maintenance, project setup, tool-version management, image processing, GitHub workflow cleanup, UFW profile retrieval, and video highlight extraction. Source excerpts were unavailable, so the graph shows only these documented launch relationships and does not infer script internals or shared utility usage.

Main entry points: [`debian_package_upgrade.sh`](https://github.com/f4bio/sn1ppets/blob/main/debian_package_upgrade.sh) (Upgrade packages), [`debian_base-packages_install.sh`](https://github.com/f4bio/sn1ppets/blob/main/debian_base-packages_install.sh) (Install base packages), [`fix_permissions.sh`](https://github.com/f4bio/sn1ppets/blob/main/fix_permissions.sh) (Fix permissions), [`ufw_fetch_application-profiles.sh`](https://github.com/f4bio/sn1ppets/blob/main/ufw_fetch_application-profiles.sh) (Fetch UFW profiles)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_system["System administration"]
  node_debian_upgrade["Upgrade packages"]
  node_debian_base["Install base packages"]
  node_fix_permissions["Fix permissions<br/>[fix_permissions.sh]"]
  node_ufw_profiles["Fetch UFW profiles"]
end

subgraph group_development["Development setup"]
  node_init_project["Initialize project<br/>[init_project.sh]"]
  node_asdf_install["Install latest tools"]
  node_asdf_global["Set global tools"]
end

subgraph group_media_ops["Media and operations"]
  node_blur_image["Blur and expand image"]
  node_github_runs["Delete workflow runs"]
  node_extract_highlights["Extract highlights"]
end

node_user(("User"))

node_user -->|"runs"| node_debian_upgrade
node_user -->|"runs"| node_debian_base
node_user -->|"runs"| node_fix_permissions
node_user -->|"runs"| node_ufw_profiles
node_user -->|"runs"| node_init_project
node_user -->|"runs"| node_asdf_install
node_user -->|"runs"| node_asdf_global
node_user -->|"runs"| node_blur_image
node_user -->|"runs"| node_github_runs
node_user -->|"runs"| node_extract_highlights

click node_debian_upgrade "https://github.com/f4bio/sn1ppets/blob/main/debian_package_upgrade.sh"
click node_debian_base "https://github.com/f4bio/sn1ppets/blob/main/debian_base-packages_install.sh"
click node_fix_permissions "https://github.com/f4bio/sn1ppets/blob/main/fix_permissions.sh"
click node_ufw_profiles "https://github.com/f4bio/sn1ppets/blob/main/ufw_fetch_application-profiles.sh"
click node_init_project "https://github.com/f4bio/sn1ppets/blob/main/init_project.sh"
click node_asdf_install "https://github.com/f4bio/sn1ppets/blob/main/asdf_install_all_latest.sh"
click node_asdf_global "https://github.com/f4bio/sn1ppets/blob/main/asdf_global_all_latest.sh"
click node_blur_image "https://github.com/f4bio/sn1ppets/blob/main/blur_expand_image.sh"
click node_github_runs "https://github.com/f4bio/sn1ppets/blob/main/github_delete_workflow_runs.sh"
click node_extract_highlights "https://github.com/f4bio/sn1ppets/blob/main/extract_highlights.sh"

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_debian_upgrade,node_debian_base,node_fix_permissions,node_ufw_profiles,node_user toneBlue
class node_init_project,node_asdf_install,node_asdf_global toneAmber
class node_blur_image,node_github_runs,node_extract_highlights toneMint
```

## Components

### System administration

- [Upgrade packages](https://github.com/f4bio/sn1ppets/blob/main/debian_package_upgrade.sh): `debian_package_upgrade.sh`
- [Install base packages](https://github.com/f4bio/sn1ppets/blob/main/debian_base-packages_install.sh): `debian_base-packages_install.sh`
- [Fix permissions](https://github.com/f4bio/sn1ppets/blob/main/fix_permissions.sh): `fix_permissions.sh`
- [Fetch UFW profiles](https://github.com/f4bio/sn1ppets/blob/main/ufw_fetch_application-profiles.sh): `ufw_fetch_application-profiles.sh`

### Development setup

- [Initialize project](https://github.com/f4bio/sn1ppets/blob/main/init_project.sh): `init_project.sh`
- [Install latest tools](https://github.com/f4bio/sn1ppets/blob/main/asdf_install_all_latest.sh): `asdf_install_all_latest.sh`
- [Set global tools](https://github.com/f4bio/sn1ppets/blob/main/asdf_global_all_latest.sh): `asdf_global_all_latest.sh`

### Media and operations

- [Blur and expand image](https://github.com/f4bio/sn1ppets/blob/main/blur_expand_image.sh): `blur_expand_image.sh`
- [Delete workflow runs](https://github.com/f4bio/sn1ppets/blob/main/github_delete_workflow_runs.sh): `github_delete_workflow_runs.sh`
- [Extract highlights](https://github.com/f4bio/sn1ppets/blob/main/extract_highlights.sh): `extract_highlights.sh`

### Other components

- **User**

## Connections

- User → Upgrade packages: runs (evidence: `README.md`)
- User → Install base packages: runs (evidence: `README.md`)
- User → Fix permissions: runs (evidence: `README.md`)
- User → Fetch UFW profiles: runs (evidence: `README.md`)
- User → Initialize project: runs (evidence: `README.md`)
- User → Install latest tools: runs (evidence: `README.md`)
- User → Set global tools: runs (evidence: `README.md`)
- User → Blur and expand image: runs (evidence: `README.md`)
- User → Delete workflow runs: runs (evidence: `README.md`)
- User → Extract highlights: runs (evidence: `README.md`)
