Skip to content

Commit 99fa5dd

Browse files
committed
bunch of progs
1 parent a91966c commit 99fa5dd

108 files changed

Lines changed: 1510 additions & 1370 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"name": "Go",
3+
"slug": "golang",
4+
"description": "The Go programming language toolchain, required to build Go programs from source.",
5+
"categories": ["build"],
6+
"package_names": {
7+
"default": "golang",
8+
"arch": "go",
9+
"ubuntu": "golang",
10+
"debian": "golang",
11+
"fedora": "golang",
12+
"opensuse": "go",
13+
"void": "go",
14+
"alpine": "go"
15+
}
16+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"name": "libx11-dev",
3+
"slug": "libx11-dev",
4+
"description": "X11 client-side library development headers.",
5+
"categories": ["build"],
6+
"package_names": {
7+
"default": "libx11-dev",
8+
"arch": "libx11",
9+
"ubuntu": "libx11-dev",
10+
"debian": "libx11-dev",
11+
"fedora": "libX11-devel",
12+
"opensuse": "libX11-devel",
13+
"void": "libX11-devel",
14+
"alpine": "libx11-dev"
15+
}
16+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"name": "libxft-dev",
3+
"slug": "libxft-dev",
4+
"description": "X FreeType library development headers, used for font rendering in X11 programs.",
5+
"categories": ["build"],
6+
"package_names": {
7+
"default": "libxft-dev",
8+
"arch": "libxft",
9+
"ubuntu": "libxft-dev",
10+
"debian": "libxft-dev",
11+
"fedora": "libXft-devel",
12+
"opensuse": "libXft-devel",
13+
"void": "libXft-devel",
14+
"alpine": "libxft-dev"
15+
}
16+
}
Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
11
{
2-
"name": "Alacritty",
3-
"slug": "alacritty",
4-
"description": "A cross-platform, fast, GPU-accelerated terminal emulator",
5-
"git_repo": "https://github.com/alacritty/alacritty",
6-
"website": "https://alacritty.org/",
7-
"license": "MIT",
8-
"package_names": {
9-
"default": "alacritty"
10-
},
11-
"categories": [
12-
"terminal"
13-
]
14-
}
2+
"name": "Alacritty",
3+
"slug": "alacritty",
4+
"description": "A fast, GPU-accelerated terminal emulator written in Rust.",
5+
"website": "https://alacritty.org/",
6+
"git_repo": "https://github.com/alacritty/alacritty",
7+
"license": "Apache-2.0",
8+
"categories": ["terminal"],
9+
"package_names": {
10+
"default": "alacritty",
11+
"arch": "alacritty",
12+
"ubuntu": "alacritty",
13+
"debian": "alacritty",
14+
"fedora": "alacritty",
15+
"opensuse": "alacritty",
16+
"void": "alacritty",
17+
"alpine": "alacritty"
18+
}
19+
}
Lines changed: 6 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,6 @@
1-
#!/bin/bash
2-
# Custom binary installer for Amfora (Gemini terminal browser)
3-
# https://github.com/makeworld-the-better-one/amfora
4-
5-
set -e
6-
7-
LOG_PREFIX="Amfora - install:"
8-
REPO="makeworld-the-better-one/amfora"
9-
INSTALL_DIR="/usr/local/bin"
10-
BINARY_NAME="amfora"
11-
12-
# --- Detect architecture ---
13-
14-
ARCH="$(uname -m)"
15-
16-
case "$ARCH" in
17-
x86_64) ARCH="amd64" ;;
18-
aarch64) ARCH="arm64" ;;
19-
armv7*) ARCH="arm7" ;;
20-
*)
21-
echo "$LOG_PREFIX Unsupported architecture: $ARCH"
22-
exit 1
23-
;;
24-
esac
25-
26-
# --- Resolve latest release tag ---
27-
28-
echo "$LOG_PREFIX Fetching latest release from GitHub..."
29-
LATEST_TAG="$(curl -fsSL "https://api.github.com/repos/${REPO}/releases/latest" \
30-
| grep '"tag_name"' \
31-
| sed 's/.*"tag_name": *"\([^"]*\)".*/\1/')"
32-
33-
if [ -z "$LATEST_TAG" ]; then
34-
echo "$LOG_PREFIX Failed to resolve latest release tag."
35-
exit 1
36-
fi
37-
38-
echo "$LOG_PREFIX Latest release: $LATEST_TAG"
39-
40-
# --- Download ---
41-
# Amfora release assets follow the pattern: amfora_linux_amd64
42-
43-
ASSET_NAME="${BINARY_NAME}_linux_${ARCH}"
44-
DOWNLOAD_URL="https://github.com/${REPO}/releases/download/${LATEST_TAG}/${ASSET_NAME}"
45-
46-
TMP_FILE="$(mktemp)"
47-
echo "$LOG_PREFIX Downloading $DOWNLOAD_URL..."
48-
curl -fsSL "$DOWNLOAD_URL" -o "$TMP_FILE"
49-
50-
# --- Install binary ---
51-
52-
echo "$LOG_PREFIX Installing binary to ${INSTALL_DIR}/${BINARY_NAME}..."
53-
chmod +x "$TMP_FILE"
54-
mv "$TMP_FILE" "${INSTALL_DIR}/${BINARY_NAME}"
55-
56-
echo "$LOG_PREFIX Binary installed: $(command -v "$BINARY_NAME")$("$BINARY_NAME" --version 2>/dev/null || true)"
57-
58-
# --- Install desktop entry ---
59-
60-
DESKTOP_DIR="$HOME/.local/share/applications"
61-
echo "$LOG_PREFIX Installing desktop entry to $DESKTOP_DIR..."
62-
mkdir -p "$DESKTOP_DIR"
63-
curl -fsSL \
64-
"https://raw.githubusercontent.com/${REPO}/master/amfora.desktop" \
65-
-o "$DESKTOP_DIR/amfora.desktop"
66-
if command -v update-desktop-database > /dev/null 2>&1; then
67-
update-desktop-database "$DESKTOP_DIR"
68-
echo "$LOG_PREFIX Desktop database updated."
69-
fi
70-
71-
echo "$LOG_PREFIX Done."
1+
# Build amfora from source using Go
2+
git clone https://github.com/makew0rld/amfora /tmp/amfora-build
3+
cd /tmp/amfora-build
4+
go build -o amfora .
5+
sudo mv amfora /usr/local/bin/amfora
6+
rm -rf /tmp/amfora-build
Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
11
{
2-
"name": "amfora",
3-
"slug": "amfora",
4-
"description": "Terminal Gemini browser",
5-
"git_repo": "https://github.com/makeworld-the-better-one/amfora",
6-
"website": null,
7-
"license": "GPL-3.0",
8-
"package_names": {
9-
"default": "CUSTOM_INSTALL",
10-
"arch": "amfora"
11-
},
12-
"categories": [
13-
"browser",
14-
"terminal",
15-
"gemini"
16-
]
2+
"name": "amfora",
3+
"slug": "amfora",
4+
"description": "A terminal browser for the Gemini protocol.",
5+
"git_repo": "https://github.com/makew0rld/amfora",
6+
"license": "GPL-3.0",
7+
"categories": ["browser", "terminal"],
8+
"dependencies": ["golang"],
9+
"package_names": {
10+
"default": "CUSTOM_INSTALL",
11+
"arch": "amfora"
12+
}
1713
}

content/programs/bash/program.json

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
{
2-
"name": "bash",
3-
"slug": "bash",
4-
"description": "GNU Bourne Again SHell",
5-
"git_repo": "https://git.savannah.gnu.org/cgit/bash.git",
6-
"website": "https://www.gnu.org/software/bash/",
7-
"license": "GPL-3.0",
8-
"package_names": {
9-
"default": "bash"
10-
},
11-
"categories": [
12-
"shell"
13-
]
2+
"name": "bash",
3+
"slug": "bash",
4+
"description": "The GNU Bourne Again SHell — the most common Linux shell.",
5+
"website": "https://www.gnu.org/software/bash/",
6+
"license": "GPL-3.0",
7+
"categories": ["shell"],
8+
"package_names": {
9+
"default": "bash",
10+
"arch": "bash",
11+
"ubuntu": "bash",
12+
"debian": "bash",
13+
"fedora": "bash",
14+
"opensuse": "bash",
15+
"void": "bash",
16+
"alpine": "bash"
17+
}
1418
}

content/programs/bat/program.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
{
2-
"name": "bat",
3-
"slug": "bat",
4-
"description": "cat clone with syntax highlighting",
5-
"git_repo": "https://github.com/sharkdp/bat",
6-
"website": null,
7-
"license": "MIT/Apache-2.0",
8-
"package_names": {
9-
"default": "bat",
10-
"arch": "bat",
11-
"ubuntu": "bat",
12-
"void": "bat"
13-
},
14-
"categories": [
15-
"cli",
16-
"pager"
17-
]
2+
"name": "bat",
3+
"slug": "bat",
4+
"description": "A 'cat' clone with syntax highlighting and Git integration.",
5+
"git_repo": "https://github.com/sharkdp/bat",
6+
"license": "MIT/Apache-2.0",
7+
"categories": ["terminal"],
8+
"package_names": {
9+
"default": "bat",
10+
"arch": "bat",
11+
"ubuntu": "bat",
12+
"debian": "bat",
13+
"fedora": "bat",
14+
"opensuse": "bat",
15+
"void": "bat",
16+
"alpine": "bat"
17+
}
1818
}
Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
{
2-
"name": "cargo",
3-
"slug": "cargo",
4-
"description": "Rust package manager and build tool",
5-
"git_repo": "https://github.com/rust-lang/cargo",
6-
"website": "https://doc.rust-lang.org/cargo/",
7-
"license": "MIT/Apache-2.0",
8-
"package_names": {
9-
"default": "cargo",
10-
"arch": "rust",
11-
"ubuntu": "cargo",
12-
"void": "cargo"
13-
},
14-
"categories": [
15-
"package-manager",
16-
"build-tool"
17-
]
2+
"name": "cargo",
3+
"slug": "cargo",
4+
"description": "The Rust package manager and build system.",
5+
"website": "https://doc.rust-lang.org/cargo/",
6+
"git_repo": "https://github.com/rust-lang/cargo",
7+
"license": "MIT/Apache-2.0",
8+
"categories": ["development", "terminal"],
9+
"package_names": {
10+
"default": "cargo",
11+
"arch": "rust",
12+
"ubuntu": "cargo",
13+
"debian": "cargo",
14+
"fedora": "cargo",
15+
"opensuse": "cargo",
16+
"void": "cargo",
17+
"alpine": "cargo"
18+
}
1819
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Build ccls from source on Alpine
2+
apk add --no-cache git cmake make g++ clang-dev llvm-dev rapidjson-dev
3+
git clone --depth=1 --recursive https://github.com/MaskRay/ccls /tmp/ccls-build
4+
mkdir -p /tmp/ccls-build/build
5+
cd /tmp/ccls-build/build
6+
cmake .. -DCMAKE_BUILD_TYPE=Release
7+
make -j$(nproc)
8+
sudo make install
9+
rm -rf /tmp/ccls-build

0 commit comments

Comments
 (0)