🤖 P3X Gitlist - A decorated enhanced elegant, feature rich and modern private git ui repository viewer v2022.4.120
Bugs are evident™ - MATRIX️
Description
P3X Enhanced GitList is a fork of the klaussilveira Gitlist. What is different about is, that it requires/uses the latest PHP version, works with sub-modules. With big git repos/commits, it works with 64Mb memory (some Twig templates are removed and moved to the client and web workers - eg. huge diffs).
You will love it to work it on OpenWrt. Provides multiple themes with dark mode - 11 light and 5 dark. Code editor with syntax highlighting, editable files. All changes in the original fork are synced with the enhanced version. 100% responsive with Bootstrap 3. Latest Fontawesome for icons. The markdown engine uses Emojis with Twitter's Emojis. Besides, the commits and logs are parsed as Markdown and Emojis.
Works on PHP 8.1
Beware
If you use other, than UTF-8 encoded files, you could get incorrect results, as it does not do converting, it only works with UTF-8.
Live demo
Releases
https://github.com/patrikx3/gitlist/releases
NGINX gitlist.patrikx3.com configs
This is a complete config that uses NGINX, LETSENCRYPT (using https://acme.sh) and the git-http-backend.
This parse only the public/index.php
file, no other PHP files, so that they are editable in Decorated P3X GitList
as in the live demo.
FYI
Development
To make it easier to develop Gitter and GitList, we unified the two code into one.
Requirements
By now composer
is not enough. We are using webpack
, less
, grunt
...
For the build on your workstation (less, Bootstrap themes, and webpack):
NodeJs
>= 12Grunt
(npm install -g npm grunt-cli)Composer
In order to run GitList on your server, you'll need:
git
Apache
withmod_rewrite
enabled ornginx
- preferredPHP
>= 7.1
So, by hand
If you have Composer in your path, things get easier. But you know the drill.
If want to get the project dependencies, and build everything:
# ubuntu
# https://github.com/nodesource/distributions/blob/master/README.md#debinstall
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt-get install -y nodejs
git clone https://github.com/patrikx3/gitlist.git
curl -s http://getcomposer.org/installer | php
php composer.phar install
# i use Node latest usually and NPM
sudo npm install -g npm grunt-cli
npm install
# create some simple GIT repos
# create a test config.ini
./scripts/init.sh
# if you do not want to create a release
# just work on it
# now the js and css is built on the fly
# in the ./public folder
npm run watch
# you might need the zip program
# to create release
sudo apt install -y zip
# if you have bash and want to create a full release
# and strip all unneeded files,
# optimize the packagist vendor folder
# you might need zip from linux
# and the zip is in the ./build/p3x-gitlist-a.b.c.zip file
./scripts/release.sh
Old info
Original install information, although some new info is included - here.
https://github.com/klaussilveira/gitlist
klaussilveira
Last merge from Gitlist
https://github.com/klaussilveira/gitlist/commits/master
Sept 7, 2021
Gitter
https://github.com/klaussilveira/gitter/commits/master
Sept 7, 2021
URL links
Git Wiki Kernel Web Interfaces
Possible, this server, rarely, is down, please, hang on for 15-30 minutes and the server will be back up.
All my domains (patrikx3.com and corifeus.com) could have minor errors, since I am developing in my free time. However, it is usually stable.
Note about versioning: Versions are cut in Major.Minor.Patch schema. Major is always the current year. Minor is either 4 (January - June) or 10 (July - December). Patch is incremental by every build. If there is a breaking change, it should be noted in the readme.
P3X-GITLIST Build v2022.4.120