You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
dancheg97 e3aae22fce
continuous-integration/drone/push Build is passing Details
attempt to make search bar
2 days ago
assets changed perms for flutter build 1 week ago
cmd changed project structure to separate go code from dart code 2 days ago
lib attempt to make search bar 2 days ago
proto/v1 fixed dual port error for grpc and http 6 days ago
web changed app favicon 1 week ago
.drone.yml fixed git adress 1 week ago
.gitignore added tls server 3 days ago
.golangci.yml changed project structure to separate go code from dart code 2 days ago
.metadata changed perms for flutter build 1 week ago
Dockerfile changed project structure to separate go code from dart code 2 days ago
LICENSE . 2 months ago
Makefile changed project structure to separate go code from dart code 2 days ago
README.md added tls server 3 days ago
analysis_options.yaml added tls server 3 days ago
buf.gen.yaml changed project structure to separate go code from dart code 2 days ago
buf.yaml added fix 1 week ago
docker-compose.yml fixed unregistered handlers 3 days ago
go.mod fixed dependency and port error 3 days ago
go.sum fixed dependency and port error 3 days ago
main.go adding rest proxy for API 1 week ago
pubspec.lock yay 6 days ago
pubspec.yaml yay 6 days ago

README.md

Ctlos package repository - ctlpkg

Generic badge Generic badge Generic badge Generic badge Build Status

Dockerized pacman repository with friendly user interface and public API. Project goal is to quickly set up personal pacman repostitory without pain and hustle.


Environment configurations

Environment variables/flags:

  • πŸ“„ - CTLPKG_REPO - repo - repository name on the web page
  • πŸ˜€ - CTLPKG_USER - user - user name in system, will be used to eject yay packages
  • 🌐 - CTLPKG_PORT - port - publically exposed port, 8080 default
  • πŸ“¦ - CTLPKG_INIT_PKGS - init-pkgs - initial packages to download on start
  • πŸ“’ - CTLPKG_LOGS_FMT - logs-fmt - format for logs (can be text/json/pretty)
  • πŸ“‚ - CTLPKG_WEB_DIR - web-dir - directory with flutter web app

Start docker service

You can run repository via docker-compose:

services:
  pacman:
    image: dancheg97.ru/dancheg97/ctlpkg:latest
    command: run
    environment:
      INIT_PKGS: onlyoffice-bin yay
      LOGS_FMT: pretty
    volumes:
      - ./go-pacman:/var/cache/pacman/pkg
    ports:
      - 9080:9080
      - 8080:8080

Roadmap

  • add list with added packages to flutter app
  • add auth to flutter app
  • add ability to update and add packages from UI
  • fix problem with static file servers