Skip to content

patrikx3/gitlist

 
 

Repository files navigation

Donate for Corifeus / P3X Contact Corifeus / P3X Corifeus @ Facebook Uptime Robot ratio (30 days)

🤖 P3X Gitlist - A decorated enhanced elegant, feature rich and modern private git ui repository viewer v2024.4.114

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

It works on CodeMirror 5

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

https://gitlist.patrikx3.com/

Screenshots

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.

gitlist.patrikx3.com.conf

FYI

Change log

TODO

Change breaking code

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):

In order to run GitList on your server, you'll need:

  • git
  • Apache with mod_rewrite enabled or nginx - preferred
  • PHP >= 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

Last merge from klaussilveira

Gitlist

https://github.com/klaussilveira/gitlist/commits/master
Sept 7, 2021

Gitter

https://github.com/klaussilveira/gitter/commits/master
Sept 7, 2021

URL links

P3X Gitlist playground

Corifeus P3X Gitlist

AlternativeTo Gitlist

Github.io Gitlist

Git Wiki Kernel Web Interfaces


Support Our Open-Source Project ❤️

If you appreciate our work, consider starring this repository or making a donation to support server maintenance and ongoing development. Your support means the world to us—thank you!

Server Availability

Our server may occasionally be down, but please be patient. Typically, it will be back online within 15-30 minutes. We appreciate your understanding.

About My Domains

All my domains, including patrikx3.com and corifeus.com, are developed in my spare time. While you may encounter minor errors, the sites are generally stable and fully functional.

Versioning Policy

Version Structure: We follow a Major.Minor.Patch versioning scheme:

  • Major: Corresponds to the current year.
  • Minor: Set as 4 for releases from January to June, and 10 for July to December.
  • Patch: Incremental, updated with each build.

Important Changes: Any breaking changes are prominently noted in the readme to keep you informed.


P3X-GITLIST Build v2024.4.114

Donate for Corifeus / P3X Contact Corifeus / P3X Like Corifeus @ Facebook

Packages

No packages published

Languages

  • PHP 69.4%
  • JavaScript 15.4%
  • Twig 8.6%
  • Less 5.8%
  • Shell 0.4%
  • Dockerfile 0.2%
  • Other 0.2%