GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - kernelcode0/Aptify: Self-hosted package repository manager for Debian and RPM packages, featuring a modern web UI, automated indexing, package signing, and CI/CD-friendly uploads.

BranchesTags
Open more actions menu

Latest commit

 

History

102 Commits
102 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
cmd
cmd
 
 
internal
internal
 
 
scripts
scripts
 
 
web
web
 
 
.dockerignore
.dockerignore
 
 
.env.example
.env.example
 
 
.gitignore
.gitignore
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
VERSION
VERSION
 
 
aptify-stack.yml
aptify-stack.yml
 
 
docker-compose.yml
docker-compose.yml
 
 
entrypoint.sh
entrypoint.sh
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
install.sh
install.sh
 
 
package-lock.json
package-lock.json
 
 

Repository files navigation

Aptify — Self-hosted APT, simplified

Version

Aptify is a self-hosted APT repository manager with a clean web UI. Host, sign, and serve your own .deb packages without any external infrastructure.

Features

  • Web Dashboard — Manage repositories and packages from a modern browser UI.
  • Automated Indexing — Generates Packages, Release, and InRelease files automatically with GPG signatures on every upload.
  • Secure by Default — Timing-safe authentication, strict path traversal protection, upload size limits, and GPG key export without token leakage via URL parameters.
  • Single Binary — The entire backend and frontend ship as one self-contained Go binary.
  • Flexible Storage — SQLite out of the box; MySQL supported for larger deployments.

Quick Start

Requirements: Docker and Docker Compose.

  1. Clone the repository.
  2. Create a .env file:
    ADMIN_USERNAME=admin
    ADMIN_PASSWORD=mysecurepassword
    JWT_SECRET=your_super_secret_string
    KEY_NAME="My APT Repo"
    KEY_EMAIL="[email protected]"
  3. Start the server:
    docker-compose up -d
  4. Open http://localhost:8080 in your browser.

CLI Installation & Usage

Aptify provides a robust command-line client (aptify-cli) for easily pushing packages from your local machine or automating uploads in your CI/CD pipelines.

Install it in one line (macOS, Linux, and Windows via Git Bash):

curl -fsSL https://raw.githubusercontent.com/kernelcode0/aptify/main/install.sh | bash

Usage Examples:

# 1. Login locally (creates and saves an API key to ~/.config/aptify/config.json)
aptify-cli login http://localhost:8080

# 2. Push a package to your repository
aptify-cli push my-repo package_1.0.0_amd64.deb

# 3. Use it in a CI/CD script without logging in
aptify-cli push --server http://localhost:8080 --token YOUR_API_KEY my-repo *.deb

Database

Aptify defaults to SQLite — no configuration needed. For larger deployments, switch to MySQL:

DB_TYPE=mysql
DB_DSN=user:password@tcp(127.0.0.1:3306)/aptify?parseTime=true

A commented-out MySQL service example is included in docker-compose.yml.

Development

Requires Go 1.25+ and Node.js 20+.

# Build the frontend
cd web && npm run build

# Run the backend
go run ./cmd/server

Or use the Makefile targets:

make dev-backend   # runs the Go server with live reload
make dev-ui        # runs the Vite dev server

Support

If you find this software useful and it saves you time or money, consider supporting its development!

Buy Me A Coffee

Why donate?

Your support directly funds:

  • Server hosting and domain costs to keep the demo/project alive
  • Late-night coding sessions and ongoing maintenance
  • Keeping Aptify 100% free and open-source forever!

Security

Authentication is backed by JWTs. Package filenames and upload paths are strictly validated. All file uploads are protected against DoS via size limits. The GPG signing key is exported through an authenticated API endpoint, never via URL parameters.

Contact

For inquiries, support, or security reports, please contact: [email protected]

About

Self-hosted package repository manager for Debian and RPM packages, featuring a modern web UI, automated indexing, package signing, and CI/CD-friendly uploads.

aptify.kernelcode.de

Resources

Readme
MIT license

Contributing

Contributing
Activity

Stars

2 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.