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
It works on CodeMirror 5
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.
https://github.com/patrikx3/gitlist/releases
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.
To make it easier to develop Gitter and GitList, we unified the two code into one.
By now composer
is not enough. We are using webpack
, less
, grunt
...
For the build on your workstation (less, Bootstrap themes, and webpack):
NodeJs
>= 12
Grunt
(npm install -g npm grunt-cli)Composer
In order to run GitList on your server, you'll need:
git
Apache
with mod_rewrite
enabled or nginx
- preferredPHP
>= 7.1If 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
Original install information, although some new info is included - here.
https://github.com/klaussilveira/gitlist
klaussilveira
https://github.com/klaussilveira/gitlist/commits/master
Sept 7, 2021
https://github.com/klaussilveira/gitter/commits/master
Sept 7, 2021