Skip to content

automic-vault/website

Repository files navigation

Automic Vault Website

Static website repository for https://www.automicvault.com/.

The product repository still owns release artifacts and scanner publishing. ~/src/av.db owns package database generation and /db.json export artifacts. This repo owns static pages, assets, static localization, S3/CloudFront configuration, and the Atlas av-web package-origin service.

Inputs

Deploy-time product values are generated by this repo from the main Automic Vault checkout and the package database checkout. Set AUTOMIC_VAULT_REPO_PATH to override the default ../automic-vault checkout, and AV_DB_ROOT to override the default ../av.db checkout.

python3 scripts/export-website-inputs.py

The JSON uses schema version 1 and provides the product version and scanned Homebrew package count used while preparing the site. It is streamed into deploy commands and should not be committed.

Checks

python3 scripts/generate-www-i18n.py --check
node scripts/generate-llms-full.mjs www /tmp/llms-full.txt
scripts/deploy-www.sh --prepare-only

Deploy

scripts/deploy-www.sh

Use --static-only to skip CloudFront and certificate configuration. The deploy script excludes package-origin routes and product-owned release artifacts.

Package Origin

Build the private package SQLite artifact in av.db:

python3 ../av.db/scripts/hourly-maintenance.py --no-commit

Deploy the Atlas package origin from this repo:

scripts/deploy-pkg-origin.sh --skip-refresh --skip-sqlite

AV_WEB_SQLITE_PATH defaults to ../av.db/cache/pkg.sqlite. The refresh path also builds ../av.db/cache/cratesio/index.json for Cargo package pages; those crates.io records stay out of the exported db.json.

Package Traffic Loop

Use the ops repo Search Console credentials to refresh /pkg/ opportunities:

scripts/pkg-traffic-loop.mjs --days 90 --row-limit 25000

The script writes ignored artifacts to cache/pkg-traffic-loop.json and cache/pkg-traffic-loop.md. Use the report to pick a high-impression package query, improve the package renderer or metadata, verify with cargo test, and commit the focused change before the next loop pass.

About

Static website for Automic Vault

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors