{"id":13799161,"url":"https://github.com/crystal-linux/amethyst","last_synced_at":"2025-05-08T09:32:22.019Z","repository":{"id":38029023,"uuid":"498336622","full_name":"crystal-linux/amethyst","owner":"crystal-linux","description":"Crystal Linux is now hosted at https://gitlab.com/crystal-linux","archived":true,"fork":false,"pushed_at":"2023-03-25T01:42:01.000Z","size":739,"stargazers_count":103,"open_issues_count":10,"forks_count":11,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-20T12:22:54.084Z","etag":null,"topics":["arch-linux","archlinux","crystal","hacktoberfest","package","package-management","package-manager"],"latest_commit_sha":null,"homepage":"https://getcryst.al","language":"Rust","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/crystal-linux.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}},"created_at":"2022-05-31T12:57:43.000Z","updated_at":"2025-02-14T16:42:08.000Z","dependencies_parsed_at":"2024-06-19T03:12:32.508Z","dependency_job_id":null,"html_url":"https://github.com/crystal-linux/amethyst","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crystal-linux%2Famethyst","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crystal-linux%2Famethyst/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crystal-linux%2Famethyst/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crystal-linux%2Famethyst/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crystal-linux","download_url":"https://codeload.github.com/crystal-linux/amethyst/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253036684,"owners_count":21844259,"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":["arch-linux","archlinux","crystal","hacktoberfest","package","package-management","package-manager"],"created_at":"2024-08-04T00:00:59.431Z","updated_at":"2025-05-08T09:32:21.566Z","avatar_url":"https://github.com/crystal-linux.png","language":"Rust","funding_links":[],"categories":["AUR Helpers"],"sub_categories":["Pacman wrappers"],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/crystal-linux/amethyst/\"\u003e\n    \u003cimg src=\"./logo.svg\" alt=\"Logo\" width=\"150\" height=\"150\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch2 align=\"center\"\u003eAmethyst\u003c/h2\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://getcryst.al/site/docs/amethyst/getting-started\"\u003e\u003cimg src=\"https://img.shields.io/badge/Documentation-Click%20here!-informational\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/crystal-linux/amethyst\"\u003e\u003cimg src=\"https://github.com/crystal-linux/amethyst/actions/workflows/test.yml/badge.svg\"\u003e\u003c/a\u003e\u003cbr\u003e\n    \u003ca href=\"https://github.com/crystal-linux/.github/blob/main/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/License-GPL--3.0-blue.svg\" alt=\"License\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/crystal-linux/amethyst/issues\"\u003e\u003cimg alt=\"GitHub issues\" src=\"https://img.shields.io/github/issues-raw/crystal-linux/amethyst\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/crystal-linux/amethyst/pulls\"\u003e\u003cimg alt=\"GitHub pull requests\" src=\"https://img.shields.io/github/issues-pr-raw/crystal-linux/amethyst\"\u003e\u003c/a\u003e\u003cbr\u003e\n    \u003ca href=\"https://discord.gg/hYJgu8K5aA\"\u003e\u003cimg alt=\"Discord\" src=\"https://img.shields.io/discord/825473796227858482?color=blue\u0026label=Discord\u0026logo=Discord\u0026logoColor=white\"\u003e \u003c/a\u003e\n    \u003ca href=\"https://github.com/not-my-segfault\"\u003e\u003cimg src=\"https://img.shields.io/badge/Maintainer-@not%2D-my%2D-segfault-brightgreen\" alt=\"The maintainer of this repository\" href=\"https://github.com/not-my-segfault\"\u003e\u003c/a\u003e\u003cbr\u003e\n    \u003ca href=\"https://fosstodon.org/@crystal_linux\"\u003e\u003cimg alt=\"Mastodon Follow\" src=\"https://img.shields.io/mastodon/follow/108618426259408142?domain=https%3A%2F%2Ffosstodon.org\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://twitter.com/crystal_linux\"\u003e\u003cimg alt=\"Twitter Follow\" src=\"https://img.shields.io/twitter/follow/crystal_linux\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e \nAmethyst is a fast, efficient and lightweight AUR helper and Pacman wrapper.\u003cbr\u003e \nMade for Crystal, compatible with any Arch-based Linux distribution.\n\u003c/p\u003e\n\n### Basic usage\n\n| Action                 | FreeBSD pkg-style alias | Pacman-style flags |\n|------------------------|-------------------------|--------------------|\n| Install a package      | ame ins/install         | ame -S             |\n| Remove a package       | ame rm/remove           | ame -R/-Rs         |\n| Upgrade a package      | ame upg/upgrade         | ame -Syu           |\n| Search for a package   | ame sea/search          | ame -Ss            |\n| Query the package list | ame qu/query            | ame -Q             |    \n| Show a package's info  | ame inf/info            | ame -Qi            |\n| Clean the pacman cache | ame cl/clean            | ame -Sc            |\n| Check for .pacnew      | ame di/diff             | ame -D             |\n\n### Exit codes overview\n\n| Exit Code (i32) | Reason                                                   |\n|-----------------|----------------------------------------------------------|\n| 1               | Running ame as UID 0 / root                              |\n| 2               | Failed creating paths                                    |\n| 3               | Could not find one or more required package dependencies |\n| 4               | User cancelled package installation                      |\n| 5               | Pacman error when installing package                     |\n| 6               | Git error                                                |\n| 7               | Makepkg error                                            |\n| 8               | Failed to parse config file                              |\n| 63              | Any other misc error                                     |\n\n### Install on non-Crystal distros\n- `sudo pacman -S --needed base-devel pacman-contrib cargo`\n- `git clone https://github.com/crystal-linux-packages/ame`\n- `cd ame \u0026\u0026 makepkg -si`\n\n\u003cbr\u003e\n\n#### Debug/development builds\n\n- `cargo build`\n\n#### Optimised/release builds\n\n- `cargo build --release`\n\n### TODO:\n\n#### v3.6.0\n- ~~Allow editing of PKGBUILDs before install~~\n\n\u003c!--\n\necho \"AME_UWU=true\" \u003e\u003e ~/.zshrc\necho \"AME_UWU=true\" \u003e\u003e ~/.bashrc\nset -Ux AME_UWU true\n\n:)\n\n--\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrystal-linux%2Famethyst","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrystal-linux%2Famethyst","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrystal-linux%2Famethyst/lists"}