{"id":29418394,"url":"https://github.com/neoapps-dev/architect","last_synced_at":"2025-10-17T00:50:15.852Z","repository":{"id":301723548,"uuid":"1010124232","full_name":"neoapps-dev/architect","owner":"neoapps-dev","description":"A Nix-like configuration manager for Arch GNU/Linux's pacman","archived":false,"fork":false,"pushed_at":"2025-06-28T11:55:10.000Z","size":0,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-28T12:41:52.524Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/neoapps-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-28T11:54:17.000Z","updated_at":"2025-06-28T11:55:25.000Z","dependencies_parsed_at":"2025-06-28T12:41:53.836Z","dependency_job_id":"5de4b86a-10b2-4f73-a4b5-8e5b488650f6","html_url":"https://github.com/neoapps-dev/architect","commit_stats":null,"previous_names":["neoapps-dev/architect"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/neoapps-dev/architect","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neoapps-dev%2Farchitect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neoapps-dev%2Farchitect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neoapps-dev%2Farchitect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neoapps-dev%2Farchitect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neoapps-dev","download_url":"https://codeload.github.com/neoapps-dev/architect/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neoapps-dev%2Farchitect/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264910722,"owners_count":23682123,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-07-11T23:04:14.967Z","updated_at":"2025-10-17T00:50:10.830Z","avatar_url":"https://github.com/neoapps-dev.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Architect\n\nArchitect is a Nix-like configuration manager for Arch GNU/Linux’s pacman, designed to handle system packages, package snapshots, AUR builds, dotfiles, and more.\n\n## Features\n\n- Define package groups and manage them declaratively\n- Automatic snapshots with rollback, diff, and apply-diff\n- AUR support without heavy helpers, including `--install-aur-only`\n- Dotfiles syncing, status, and editing\n- Dry-run support for safe testing\n- Snapshots management: list, purge, rollback\n- Configurable via a single bash config file\n- Modular codebase for easy maintenance and extension\n- And more! :3\n\n## Installation\n\n```bash\ngit clone https://github.com/neoapps-dev/architect.git\ncd architect\nmake\nsudo make install\n```\n\n## Usage\n\nBasic commands:\n\n```bash\narchitect --help\narchitect --list-snapshots\narchitect --take-snapshot-now\narchitect --install-aur-only\narchitect --rollback\narchitect --dotfiles-sync\n```\n\nYou can define your package sets in the config file, for example:\n\n```bash\npackages_by_set=(\n  [base]=\"bash coreutils linux linux-firmware\"\n  [dev]=\"git gcc make gdb\"\n  [media]=\"mpv ffmpeg vlc\"\n)\n\nsystem_packages=(\n  base\n  dev\n  media\n)\n```\n\n## Configuration\n\nEdit `/etc/architect.sh` or set `ARCHITECT_CONFIG` environment variable to point to your custom config.\n\n## Development\n\nArchitect is modularized under `src/` with:\n\n* `install.sh` — package resolution and installation\n* `snapshots.sh` — snapshot management\n* `validate.sh` — validate config file logic\n* `dotfiles.sh` — dotfiles management\n* `z.sh` — command-line parsing (must be last)\n* `misc.sh` — helper functions\n* `test.sh` — self-test functions\n* `main.sh` — environment setup and config sourcing\n* `pacstrap.sh` — pacstrap pacman wrapper support\n* `diff.sh` — shows diff between config and current env, and apply diff function\n\nThe [Makefile](Makefile) builds a standalone executable by concatenating all source files.\n\n## Contributing\n\nFeel free to open issues, submit PRs, or suggest features!\n\n## License\n\nGPLv3 License — see [LICENSE](LICENSE) file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneoapps-dev%2Farchitect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneoapps-dev%2Farchitect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneoapps-dev%2Farchitect/lists"}