• Stars
    star
    191
  • Rank 201,815 (Top 4 %)
  • Language
    Python
  • License
    MIT License
  • Created over 8 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Visualize pacman local database using Vis.js, inspired by pacgraph.

pacvis

Visualize pacman local database using Vis.js, inspired by pacgraph.

See my blog post for details: https://farseerfc.me/en/pacvis.html

以及中文介紹: https://farseerfc.me/pacvis.html

See a live demo at https://pacvis.farseerfc.me/ showing database of my arch server.

full zoomin

How to use

Install from AUR using any aurhelper (eg yaourt):

yaourt -S pacvis-git

Then

pacvis

Then go to http://localhost:8888/ .

You may need to zoom-in initially to see the rendered picture. Currently, we have scalability issue when there are too many packages, so we need a max level to limit the level of dependency depth. We fixed the scalability issue with a modified vis.js, but when there are more than 2000 packages the layout algorithm is still slow (more than 5 mins).

Running from source repo

git clone https://github.com/farseerfc/pacvis.git
cd pacvis

python -m venv .venv
source .venv/bin/activate

pip install .
pacvis

To be improved ...

  • performance for layout algorithm can be improved
  • we resolve dependency to package name using pyalpm directly now, and this information is lost on the graph
  • we do not track optdepends now we draw optdepends on the graph but not consider them during topology_sort
  • we need to estimate removable size (by pacman -Rcs) done
  • more information from pacman can be integrated
  • search by package name
  • show only part of the packages (like pactree) instead of filtering by levels
  • be visually attractive! applied getmdl theme
  • be compatible with older browsers (Safari, IE)
  • make a python setup.py install or PKGBUILD Now on aur

More Repositories

1

ydcv-rs

A rust version of https://github.com/felixonmars/ydcv/ .
Rust
112
star
2

dotfiles

My dotfiles controlled by GNU Stow
Shell
73
star
3

systemd-shutdown-diagnose

Take from https://co-op.space/2016/03/10/systemd-guan-ji-chao-shi-wen-ti-ding-wei-fang-fa/ , help to diagnose why systemd cannot shutdown properly
Shell
59
star
4

farseerfc

Pelican source for my new blog
JavaScript
25
star
5

farseerfc.github.io

My new blog style with bootstrap-material-design
HTML
17
star
6

slock

fork from http://git.suckless.org/slock , with my patches for dpms off support and wm_class support
C
9
star
7

sjtu-thesis-xelatex

This repo is UNMAINTAINED and DEPRECATED, 代码已过时,请使用下面的模板
TeX
6
star
8

farseerfc.github.com

Personal Blog powered by Pelican
HTML
5
star
9

systemd-report-entropy

report system entropy to journald during boot
Shell
4
star
10

pelican

Static blog generator in python, using ReST syntax
Python
3
star
11

sak.uy

A blog of my translate of songs lyrics collection
HTML
2
star
12

purano

Purity annotations generator for Java
Java
2
star
13

PythonAlgorithms

书籍翻译项目
Shell
1
star
14

pacman-fc

A fork of archlinux pacman package manager.
C
1
star
15

nvchecker2yaml

Help Arch CN maintainers switch from nvchecker to lilac.yaml
Shell
1
star
16

slim-arch

PKGBUILD for archlinux of slim
Shell
1
star
17

angela-bible

Automatically exported from code.google.com/p/angela-bible
HTML
1
star
18

devtools

A fork of http://projects.archlinux.org/devtools.git
Shell
1
star
19

nolongnamebot

a telegram bot to restrict user with very long name spammer
Python
1
star
20

bm-chapter8

b4m1 reading for chapter8
Shell
1
star