All Projects → sdumetz → aptly-web-ui

sdumetz / aptly-web-ui

Licence: MIT license
Simple web UI for aptly

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
shell
77523 projects

Projects that are alternatives of or similar to aptly-web-ui

decimation.github.io
Cydia repo
Stars: ✭ 18 (-43.75%)
Mutual labels:  apt, deb
package-build
A toolset for building system packages using Docker and fpm-cookery
Stars: ✭ 36 (+12.5%)
Mutual labels:  apt, deb
python-deb-pkg-tools
Debian packaging tools
Stars: ✭ 36 (+12.5%)
Mutual labels:  apt, deb
repogen
Easy-to-use signed APT repository generator with a web-based package browser.
Stars: ✭ 34 (+6.25%)
Mutual labels:  apt, deb
termux-x
it is unofficial repository maintained by me @Hax4us. you can check available packages in README
Stars: ✭ 87 (+171.88%)
Mutual labels:  apt
Gendalf
Android annotations processor for Shared Preferences
Stars: ✭ 38 (+18.75%)
Mutual labels:  apt
spotify-deb-install
MOVED: https://gitlab.com/q3aql/spotify-deb-install
Stars: ✭ 15 (-53.12%)
Mutual labels:  deb
Mason
Cross platform package manager for C/C++ apps
Stars: ✭ 230 (+618.75%)
Mutual labels:  apt
DoubleStar
A personalized/enhanced re-creation of the Darkhotel "Double Star" APT exploit chain with a focus on Windows 8.1 and mixed with some of my own techniques
Stars: ✭ 140 (+337.5%)
Mutual labels:  apt
dpkg
Debian package manager (mirror)
Stars: ✭ 41 (+28.13%)
Mutual labels:  deb
ansible-role-aptly
Install aptly debian respository manager and enable the REST API
Stars: ✭ 37 (+15.63%)
Mutual labels:  aptly
repo.me
a modern apt repository template built by the community
Stars: ✭ 159 (+396.88%)
Mutual labels:  apt
proxychanger
Go tool to change system and applications proxy
Stars: ✭ 15 (-53.12%)
Mutual labels:  apt
debpack
Super simple Debian packages
Stars: ✭ 58 (+81.25%)
Mutual labels:  deb
Boostnote-packages
Repo containing .rpm, .deb and Boostnote app folder
Stars: ✭ 31 (-3.12%)
Mutual labels:  deb
ppa-packaging
Semi-automated script to create binary packages for (multiple versions of) Ubuntu
Stars: ✭ 15 (-53.12%)
Mutual labels:  deb
OpenCV Raspberry pi TBB
Latest pre-compiled binary of Pre-released & Stable OpenCV (4.0.0) along with TBB (2018-Update 6) for Raspberry Pi.
Stars: ✭ 46 (+43.75%)
Mutual labels:  deb
truecrypt.deb
🐧 Debianization of TrueCrypt.
Stars: ✭ 24 (-25%)
Mutual labels:  deb
yara-exporter
Exporting MISP event attributes to yara rules usable with Thor apt scanner
Stars: ✭ 22 (-31.25%)
Mutual labels:  apt
debianopt-repo
Additional debian repository for awesome open-source projects.
Stars: ✭ 47 (+46.88%)
Mutual labels:  apt

aptly-web-ui

Simple web UI for aptly with no backend that connect directly to aptly.

It provides access to the following functions :

  • Upload new packages and add to repos
  • Migrate packages from one repo to another
  • Show packages list
  • Show a package's available versions, description, etc...
  • Remove a package or copy to another repository.

It's under active development and any requests are welcomed.

Look and feel

web-ui home page

It should be mobile friendly but it's not the main concern right now so it must have some rough edges.

Installation

Decompress the dist archive in aptly root folder (default to ~/.aptly/public). It should look like this :

~/.aptly/public
  - dists
  - pool
  - ui

Older releases are available on github.

Latest commits on master branch should always be "usable". You can clone the repository and build it using nodejs (>=6.0.0):

git clone [email protected]:sdumetz/aptly-web-ui.git
npm install
./deploy.sh

then extract aptly-web-ui.tar.gz to ~/.aptly/public. All deploy.sh do is running npm run build and packaging the files.

Configuration using nginx

Nginx config to serve apt repo + interface :

server {
  listen   80;
  root /var/aptly/.aptly/public;
  index index.html index.htm;

  access_log /var/log/nginx/packages.access.log  log_access;
  error_log /var/log/nginx/packages.error.log error;

  server_name my-domain.net;
  autoindex off;
  location / {
    try_files $uri $uri/;

    allow 192.168.1.0/24;
    deny all;
  }
  location /ui/ {
    try_files $uri $uri/ /ui/index.html;
    autoindex off;
  }
  location /dist/ {
    autoindex on;
  }
  location /pool/ {
    autoindex on;
  }
  location /api/ {
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $remote_addr;
    proxy_set_header Host $host;
    proxy_pass http://127.0.0.1:8080;
  }

}

Activate it and navigate to your-domain.net/ui/.

Configuration using nodejs

You can use a nodejs service as a proxy between your frontend and aptly's API.

It's done setting some environment variables :

    export APTLY_WEB_UI_PROXY_API_URL=http://localhost:8080 #your aptly install
    export APTLY_WEB_UI_PORT=8081  #web ui port
    npm start

You can create a systemd service unit using Environment=APTLY_WEB_UI_PROXY_API_URL=http://localhost:8080.

The only facility provided by the proxy at the moment is http basic auth.

Security

This solution is compatible with external auth methods like oauth_proxy. There is currently no read-only interface to serve to unauthorized users.

Contribute

This is developped using React and React-router.

Currently very few routes are implemented. snapshot management would be nice but require some work to be done.

BUGS

  • Will always fetch packages list even if we go straight to a package's URL. (Maybe not a problem : Need to check load on aptly to generate large packages lists).

Original Author : Sebastien DUMETZ.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].