{"id":415909,"date":"2024-06-30T00:38:20","date_gmt":"2024-06-30T00:38:20","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=415909"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=415909","title":{"rendered":"<span>cGit-UI \u2014 a web interface for Git Repositories<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-1\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/zu\/fg\/k7\/zufgk7idb5us1w8bonbc4dy3yu0.png\" width=\"128\" height=\"128\" align=\"left\" data-src=\"https:\/\/habrastorage.org\/webt\/zu\/fg\/k7\/zufgk7idb5us1w8bonbc4dy3yu0.png\"\/><b>cGit-UI<\/b> \u2014 is a web interface for <b>Git<\/b> repositories. <b>cGit-UI<\/b> is based on CGI script written in <b>\u0421<\/b>.  <\/p>\n<p>  <\/p>\n<p>This article covers installing and configuring <b>cGit-UI<\/b> to work using <a href=\"https:\/\/nginx.org\/en\/\" rel=\"nofollow\"><b>Nginx<\/b><\/a> + <a href=\"https:\/\/uwsgi-docs.readthedocs.io\/en\/latest\/\" rel=\"nofollow\"><b>uWsgi<\/b><\/a>. Setting up server components is quite simple and practically does not differ from setting up <a href=\"https:\/\/wiki.archlinux.org\/index.php\/Cgit\" rel=\"nofollow\"><b>cGit<\/b><\/a>.  <\/p>\n<p>  <\/p>\n<p><b>cGit-UI<\/b> supports <b>Markdown<\/b> files that are processed on the server side using the <a href=\"https:\/\/github.com\/mity\/md4c\" rel=\"nofollow\">md4c<\/a> library, which has proven itself in the <b>KDE Plasma<\/b> project. <b>cGit-UI<\/b> provides the ability to add site verification codes and scripts from systems such as <b><em>Google Analytics<\/em><\/b> and <b><em>Yandex.Metrika<\/em><\/b> for trafic analysis. Users who wonder to receive donations for his projects can create and import custom donation modal dialogs.  <\/p>\n<p>  <\/p>\n<p>Instead of looking at screenshots, it is better to look at the <a href=\"https:\/\/cgit.radix.pro\/\" rel=\"nofollow\">working site<\/a> to decide on installing <a href=\"https:\/\/csvn.radix.pro\/cgit-ui\/trunk\/README.md\" rel=\"nofollow\"><b>cGit-UI<\/b><\/a> on your own server.  <\/p>\n<p><a name=\"habracut\"><\/a>  <\/p>\n<h2>Reqired Packages<\/h2>\n<p>  <\/p>\n<p><b>cGit-UI<\/b> depends of following libraries: <a href=\"https:\/\/www.pcre.org\/\" rel=\"nofollow\"><b>libpcre2<\/b><\/a>, <a href=\"https:\/\/github.com\/mity\/md4c\/\" rel=\"nofollow\"><b>libmd4c<\/b><\/a>, <a href=\"https:\/\/github.com\/mity\/md4c\/\" rel=\"nofollow\"><b>libmd4c-html<\/b><\/a>, <a href=\"http:\/\/darwinsys.com\/file\/\" rel=\"nofollow\"><b>libmagic<\/b><\/a>, and <a href=\"https:\/\/libgit2.org\/\" rel=\"nofollow\"><b>libgit2<\/b><\/a>.  <\/p>\n<p>  <\/p>\n<p>Also <b>cGit-UI<\/b> depends on the <b>cScm<\/b> package. Therefore, before installing <b>cGit-UI<\/b>, you have to install and configure <a href=\"https:\/\/csvn.radix.pro\/cscm\/trunk\/README.md\" rel=\"nofollow\"><b>cScm Configuration Daemon<\/b><\/a>.  <\/p>\n<p>  <\/p>\n<p>To use <b>cGit-UI<\/b> a web server must be installed and configured on the system. We recommend the <a href=\"https:\/\/nginx.org\/en\/\" rel=\"nofollow\"><b>Nginx<\/b><\/a> with <a href=\"https:\/\/uwsgi-docs.readthedocs.io\/en\/latest\/\" rel=\"nofollow\"><b>uWsgi<\/b><\/a> application server. Of course, <a href=\"https:\/\/git-scm.com\/\" rel=\"nofollow\"><b>Git<\/b><\/a> <b>SCM<\/b> system should be installed too.  <\/p>\n<p>  <\/p>\n<h2>Installation<\/h2>\n<p>  <\/p>\n<p>To obtain sources we have to checkout its from <a href=\"https:\/\/csvn.radix.pro\/cgit-ui\/tags\/\" rel=\"nofollow\">SVN repository<\/a>:  <\/p>\n<p>  <\/p>\n<pre><code class=\"bash\">svn checkout svn:\/\/radix.pro\/cgit-ui\/tags\/cgit-ui-0.1.4 cgit-ui-0.1.4 <\/code><\/pre>\n<p>  <\/p>\n<p>and run the bootstrap script:  <\/p>\n<p>  <\/p>\n<pre><code class=\"bash\">cd csvn-0.1.4 .\/bootstrap <\/code><\/pre>\n<p>  <\/p>\n<p>Also cGit-UI source packages are available for download on the <a href=\"https:\/\/ftp.radix.pro\/pub\/cgit-ui\/\" rel=\"nofollow\">Radix.pro FTP-server<\/a>.  <\/p>\n<p>  <\/p>\n<h3>Bootstrap Script<\/h3>\n<p>  <\/p>\n<p>The <em>bootstrap<\/em> script especially created for <em>Autotools<\/em> install automation. To install <em>Autotools<\/em> into the source directory on the build machine (i.e. when <b>build<\/b> == <b>host<\/b>) the <em>bootstrap<\/em> script can be run without arguments.  <\/p>\n<p>  <\/p>\n<pre><code class=\"bash\">.\/bootstrap <\/code><\/pre>\n<p>  <\/p>\n<p>In this case <em>Autotools<\/em> will be installed from current root file system.  <\/p>\n<p>  <\/p>\n<p>For the cross environment the <b>&#8212;target-dest-dir<\/b> option allows to install some stuff from development root file system:  <\/p>\n<p>  <\/p>\n<pre><code class=\"bash\">TARGET_DEST_DIR=\/home\/developer\/prog\/trunk-672\/dist\/.s9xx-glibc\/enybox-x2 \\     .\/bootstrap --target-dest-dir=${TARGET_DEST_DIR} <\/code><\/pre>\n<p>  <\/p>\n<p>For example, in this case the <em>aclocal.m4<\/em> script will be collected from the<br \/>  <em>${TARGET_DEST_DIR}\/usr\/share\/aclocal<\/em> directory.  <\/p>\n<p>  <\/p>\n<h3>Configuring Sources<\/h3>\n<p>  <\/p>\n<pre><code class=\"bash\">.\/configure --prefix=\/usr \\             --with-scriptdir=\/var\/www\/htdocs\/cgit <\/code><\/pre>\n<h4>Install on the Build Machine<\/h4>\n<p>  <\/p>\n<pre><code class=\"bash\">make make install <\/code><\/pre>\n<h4>Cross Compilation Example<\/h4>\n<p>  <\/p>\n<pre><code class=\"bash\">#!\/bin\/sh  TARGET_DEST_DIR=\/home\/developer\/prog\/trunk-672\/dist\/.s9xx-glibc\/enybox-x2 TOOLCHAIN_PATH=\/opt\/toolchains\/aarch64-S9XX-linux-glibc\/1.1.4\/bin TARGET=aarch64-s9xx-linux-gnu  .\/bootstrap --target-dest-dir=${TARGET_DEST_DIR}  PKG_CONFIG=\/usr\/bin\/pkg-config \\ PKG_CONFIG_PATH=${TARGET_DEST_DIR}\/usr\/lib${LIBDIRSUFFIX}\/pkgconfig:${TARGET_DEST_DIR}\/usr\/share\/pkgconfig \\ PKG_CONFIG_LIBDIR=${TARGET_DEST_DIR}\/usr\/lib${LIBDIRSUFFIX}\/pkgconfig:${TARGET_DEST_DIR}\/usr\/share\/pkgconfig \\ STRIP=\"${TOOLCHAIN_PATH}\/${TARGET}-strip\" \\ CC=\"${TOOLCHAIN_PATH}\/${TARGET}-gcc --sysroot=${TARGET_DEST_DIR}\" \\ .\/configure --prefix=\/usr   --build=x86_64-pc-linux-gnu \\   --host=${TARGET} \\   --with-scriptdir=\/var\/www\/htdocs\/cgit  make make install DESTDIR=${TARGET_DEST_DIR} <\/code><\/pre>\n<p>  <\/p>\n<p>Also we can make use of additional variables such as <b>CFLAGS<\/b>, <b>LDFLAGS<\/b>:  <\/p>\n<p>  <\/p>\n<pre><code class=\"bash\">LDFLAGS=\"-L${TARGET_DEST_DIR}\/lib -L${TARGET_DEST_DIR}\/usr\/lib\" TARGET_INCPATH=\"-L${TARGET_DEST_DIR}\/usr\/include\" CFLAGS=\"${TARGET_INCPATH}\" CPPFLAGS=\"${TARGET_INCPATH}\" <\/code><\/pre>\n<h2>Post Install<\/h2>\n<p>  <\/p>\n<p>The system user, on whose behalf the <b>Nginx<\/b> server is launched, must have permissions to access the directory in which the <b>cGit-UI<\/b> CGI script was installed:  <\/p>\n<p>  <\/p>\n<pre><code class=\"bash\">chown -R nginx:nginx \/var\/www\/htdocs\/cgit <\/code><\/pre>\n<p>  <\/p>\n<p>Additionaly if <b>nginx<\/b> user has not enough permissions to access repositories we have to change owner of <em>\/var\/www\/htdocs\/cgit\/cgit-ui.cgi<\/em> script and set <b>SUID<\/b> or <b>SGID<\/b> bit:  <\/p>\n<p>  <\/p>\n<pre><code class=\"bash\">chown -R 0:0 \/var\/www\/htdocs\/cgit\/cgit-ui.cgi chmod 4755 \/var\/www\/htdocs\/cgit\/cgit-ui.cgi <\/code><\/pre>\n<h2>uWsgi<\/h2>\n<p>  <\/p>\n<p>Since we used the <em>&#8212;with-scriptdir=\/var\/www\/htdocs\/cgit<\/em> option on configuring stage, the <b>cGit-UI<\/b> CGI script installed in the <em>\/var\/www\/htdocs\/cgit\/<\/em> directory. In this case, the <em>\/etc\/uwsgi\/cgit-ui.ini<\/em> file should look like this:  <\/p>\n<p>  <b>\/etc\/uwsgi\/cgit-ui.ini:<\/b>  <\/p>\n<pre><code class=\"bash\">[uwsgi] master          = true plugins         = cgi socket          = \/run\/uwsgi\/%n.sock uid             = nginx gid             = nginx procname-master = uwsgi cgit-ui processes       = 1 threads         = 2 cgi             = \/var\/www\/htdocs\/cgit\/cgit-ui.cgi <\/code><\/pre>\n<p>  <\/p>\n<p>Where <em>\/var\/www\/htdocs\/cgit\/cgit-ui.cgi<\/em> is the full name of installed <b>cGit-UI<\/b> CGI script.  <\/p>\n<p>  <\/p>\n<p>To run the <b>uWSGI<\/b> daemon for <b>cGit-UI<\/b> backend we can make use following start\/stop script:  <\/p>\n<p>  <b>\/ets\/rc.d\/rc.cgit-ui-uwsgi:<\/b>  <\/p>\n<pre><code class=\"bash\">#!\/bin\/sh # # uWSGI daemon control script. #  CONF=cgit-ui BIN=\/usr\/bin\/uwsgi CONFDIR=\/etc\/uwsgi PID=\/var\/run\/$CONF-uwsgi.pid  uwsgi_start() {   # Sanity checks.   if [ ! -r $CONFDIR\/cgit-ui.ini ]; then # no config files, exit:     echo \"There are config files in $CONFDIR directory. Abort.\"     exit 1   fi    if [ -s $PID ]; then     echo \"uWSGI for cGit-ui appears to already be running?\"     exit 1   fi    echo \"Starting uWSGI for cGit-ui server daemon...\"   if [ -x $BIN ]; then     \/bin\/mkdir -p \/run\/uwsgi     \/bin\/chown nginx:nginx \/run\/uwsgi     \/bin\/chmod 0755 \/run\/uwsgi     $BIN --thunder-lock --pidfile $PID --daemonize \/var\/log\/cgit-ui-uwsgi.log --ini $CONFDIR\/$CONF.ini   fi }  uwsgi_stop() {   echo \"Shutdown uWSGI for cGit-ui gracefully...\"   \/bin\/kill -INT $(cat $PID)   \/bin\/rm -f $PID }  uwsgi_reload() {   echo \"Reloading uWSGI for cGit-ui configuration...\"   kill -HUP $(cat $PID) }  uwsgi_restart() {   uwsgi_stop   sleep 3   uwsgi_start }  case \"$1\" in   start)     uwsgi_start     ;;   stop)     uwsgi_stop     ;;   reload)     uwsgi_reload     ;;   restart)     uwsgi_restart     ;;   *)   echo \"usage: `basename $0` {start|stop|reload|restart}\" esac <\/code><\/pre>\n<p>  <\/p>\n<p>To run this daemon on systems with BSD-like initialization such as <b>Slackware<\/b> we have to add the following lines to the <em>\/etc\/rc.d\/rc.M<\/em> and <em>\/etc\/rc.d\/rc.6<\/em> scripts correspondingly.  <\/p>\n<p>  <b>\/etc\/rc.d\/rc.M:<\/b>  <\/p>\n<pre><code class=\"bash\"># Start uWSGI for cGit-ui server: if [ -x \/etc\/rc.d\/rc.cgit-ui-uwsgi ]; then   \/etc\/rc.d\/rc.cgit-ui-uwsgi start fi <\/code><\/pre>\n<p>  <b>\/etc\/rc.d\/rc.6:<\/b>  <\/p>\n<pre><code class=\"bash\"># Stop uWSGI for cGit-ui server: if [ -x \/etc\/rc.d\/rc.cgit-ui-uwsgi ]; then   \/etc\/rc.d\/rc.cgit-ui-uwsgi stop fi <\/code><\/pre>\n<h2>Nginx<\/h2>\n<p>  <\/p>\n<p>First of all, we have to add a virtual server to the main <b>Nginx<\/b> config file:  <\/p>\n<p>  <b>\/etc\/nginx\/nginx.conf:<\/b>  <\/p>\n<pre><code class=\"nginx\">    include \/etc\/nginx\/vhosts\/cgit.example.org.conf; <\/code><\/pre>\n<p>The following configuration used <b>uWsgi<\/b> and will serve <b>cGit-UI<\/b> on a subdomain like cgit.example.org:  <\/p>\n<p>  <b>\/etc\/nginx\/vhosts\/cgit.example.org.conf:<\/b>  <\/p>\n<pre><code class=\"nginx\"># # cGit server: #      server {         listen 80;         server_name cgit.example.org;         return 301 https:\/\/cgit.example.org$request_uri;     }      server {         listen 443 ssl;         server_name cgit.example.org;         root \/var\/www\/htdocs\/cgit;          charset UTF-8;          #         # see:         #   https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/Security\/HTTP_strict_transport_security ,         #   https:\/\/raymii.org\/s\/tutorials\/HTTP_Strict_Transport_Security_for_Apache_NGINX_and_Lighttpd.html         #         # see also: http:\/\/classically.me\/blogs\/how-clear-hsts-settings-major-browsers         # and do not include includeSubdomains; parameter into line:         #         add_header Strict-Transport-Security \"max-age=63072000; preload\";          error_log \/var\/log\/nginx\/cgit.example.org-error.log;         access_log \/var\/log\/nginx\/cgit.example.org-access.log;          keepalive_timeout        60;         ssl_certificate          \/etc\/letsencrypt\/live\/cgit.example.org\/fullchain.pem;         ssl_certificate_key      \/etc\/letsencrypt\/live\/cgit.example.org\/privkey.pem;         ssl_trusted_certificate  \/etc\/letsencrypt\/live\/cgit.example.org\/chain.pem;         ssl_protocols            SSLv3 TLSv1 TLSv1.1 TLSv1.2;         ssl_ciphers              \"RC4:HIGH:!aNULL:!MD5:!kEDH\";          gzip on;         gzip_disable \"msie6\";         gzip_comp_level 6;         gzip_min_length 1100;         gzip_buffers 16 8k;         gzip_proxied any;         gzip_types text\/plain text\/css text\/js text\/xml text\/javascript                    image\/svg+xml image\/gif image\/jpeg image\/png                    application\/json application\/x-javascript application\/xml application\/xml+rss application\/javascript                    font\/truetype font\/opentype application\/font-woff application\/font-woff2                    application\/x-font-ttf application\/x-font-opentype application\/vnd.ms-fontobject application\/font-sfnt;          #         # Serve static content with nginx         #          #         # Rewrite rules for versioning CSS + JS thtouh filemtime directive         #         location ~* ^.+.(css|js)$ {             rewrite ^(.+).(d+).(css|js)$ $1.$3 last;              expires 31536000s;              access_log off;             log_not_found off;              add_header Pragma public;             add_header Cache-Control \"max-age=31536000, public\";         }          #         # Caching of static files         #         location ~* .(asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx|eot|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|odb|odc|odf|odg|odp|ods|odt|ogg|ogv|otf|pdf|png|pot|pps|ppt|pptx|ra|ram|svg|svgz|swf|tar|t?gz|tif|tiff|ttf|wav|webm|wma|woff|wri|xla|xls|xlsx|xlt|xlw|zip)$ {             expires 31536000s;              access_log off;             log_not_found off;              add_header Pragma public;             add_header Cache-Control \"max-age=31536000, public\";         }          location ~* ^.+(favicon.ico|robots.txt) {             root \/var\/www\/htdocs\/cgit;             expires 30d;         }          location = \/robots.txt {             allow all;             log_not_found off;             access_log off;         }          location \/ {             try_files $uri @cgit-ui;         }          location @cgit-ui {             gzip off;             include uwsgi_params;             uwsgi_modifier1 9;             uwsgi_pass unix:\/run\/uwsgi\/cgit-ui.sock;         }     } <\/code><\/pre>\n<h2>Configuring Git Repositories<\/h2>\n<p>  <\/p>\n<p>A detailed description of the configuration file format can be found in the <a href=\"https:\/\/csvn.radix.pro\/cgit-ui\/trunk\/doc\/cgit-ui.rc.5.md\" rel=\"nofollow\"><b>cgit-ui.rc(5)<\/b><\/a> manual page:  <\/p>\n<p>  <\/p>\n<pre><code class=\"bash\">man 5 cgit-ui.rc <\/code><\/pre>\n<h2>Working Example<\/h2>\n<p>  <\/p>\n<p>As an example, we will give a working configuration file in which the <a href=\"https:\/\/cgit.radix.pro\/pkgtools.git\/trunk\/\" rel=\"nofollow\"><b>pkgtools.git<\/b><\/a> repository is presented.  <\/p>\n<p>  <\/p>\n<pre><code class=\"bash\">git-utc-offset = +0300;  clone-prefix-readonly = 'git:\/\/radix.pro'; clone-prefix          = 'git:\/\/git@radix.pro:pub';  trunk    = 'master';  snapshots = 'tar.xz';  css = '\/.cgit\/css\/cgit.css'; logo = '\/.cgit\/pixmaps\/cgit-banner-280x280.png'; logo-alt = \"Radix.pro\"; logo-link = \"https:\/\/radix.pro\"; main-menu-logo = '\/.cgit\/pixmaps\/logo\/git-logo-white-256x256.svg'; favicon-path = '\/.cgit\/pixmaps\/favicon'; syntax-highlight-css = '_cgit.css'; header = '\/.cgit\/html\/header.html'; footer = '\/.cgit\/html\/footer.html'; page-size = 200;  owner = \"Andrey V.Kosteltsev\"; author = \"Andrey V.Kosteltsev\"; title = \"Radix.pro Git Repositories\"; description = \"Git repositories hosted at radix.pro (St.-Petersburg)\"; keywords = \"cGit repositories cgit-ui web web-ui user interface Git\"; copyright = \"\u00a9 Andrey V. Kosteltsev, 2019 \u2013 2020.\"; copyright-notice = \"Where any material of this site is being reproduced, published or issued to others the reference to the source is obligatory.\";  home-page = \"https:\/\/radix.pro\/\";  section \"Tools\" {   repo 'pkgtools.git' {     owner = \"Andrey V.Kosteltsev\";     title = \"Package Tools Utilities\";     description = \"Pkgtools \u2013 is a set of utilities to create, install, remove and update packages\";     home-page = \"https:\/\/radix.pro\/\";     git-root = '\/u3\/scm\/git';     clone-prefix-readonly = 'git:\/\/git@radix.pro:git';     clone-prefix          = 'git:\/\/git@radix.pro:git';   } } <\/code><\/pre>\n<h2>See Also<\/h2>\n<p>  <\/p>\n<p>\u00a0\u00a0\u00a0\u00a0 <a href=\"https:\/\/csvn.radix.pro\/cgit-ui\/trunk\/README.md\" rel=\"nofollow\"><b>README<\/b><\/a>, <a href=\"https:\/\/csvn.radix.pro\/cscm\/trunk\/doc\/cscmd.8.md\" rel=\"nofollow\"><b>cscmd(8)<\/b><\/a>, <a href=\"https:\/\/csvn.radix.pro\/cgit-ui\/trunk\/doc\/cgit-ui.rc.5.md\" rel=\"nofollow\"><b>cgit-ui.rc(5)<\/b><\/a>  <\/p>\n<p>  <\/p>\n<p>Enjoy.  <\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/531646\/\"> https:\/\/habr.com\/ru\/articles\/531646\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-1\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/zu\/fg\/k7\/zufgk7idb5us1w8bonbc4dy3yu0.png\" width=\"128\" height=\"128\" align=\"left\" data-src=\"https:\/\/habrastorage.org\/webt\/zu\/fg\/k7\/zufgk7idb5us1w8bonbc4dy3yu0.png\"\/><b>cGit-UI<\/b> \u2014 is a web interface for <b>Git<\/b> repositories. <b>cGit-UI<\/b> is based on CGI script written in <b>\u0421<\/b>.  <\/p>\n<p>  <\/p>\n<p>This article covers installing and configuring <b>cGit-UI<\/b> to work using <a href=\"https:\/\/nginx.org\/en\/\" rel=\"nofollow\"><b>Nginx<\/b><\/a> + <a href=\"https:\/\/uwsgi-docs.readthedocs.io\/en\/latest\/\" rel=\"nofollow\"><b>uWsgi<\/b><\/a>. Setting up server components is quite simple and practically does not differ from setting up <a href=\"https:\/\/wiki.archlinux.org\/index.php\/Cgit\" rel=\"nofollow\"><b>cGit<\/b><\/a>.  <\/p>\n<p>  <\/p>\n<p><b>cGit-UI<\/b> supports <b>Markdown<\/b> files that are processed on the server side using the <a href=\"https:\/\/github.com\/mity\/md4c\" rel=\"nofollow\">md4c<\/a> library, which has proven itself in the <b>KDE Plasma<\/b> project. <b>cGit-UI<\/b> provides the ability to add site verification codes and scripts from systems such as <b><em>Google Analytics<\/em><\/b> and <b><em>Yandex.Metrika<\/em><\/b> for trafic analysis. Users who wonder to receive donations for his projects can create and import custom donation modal dialogs.  <\/p>\n<p>  <\/p>\n<p>Instead of looking at screenshots, it is better to look at the <a href=\"https:\/\/cgit.radix.pro\/\" rel=\"nofollow\">working site<\/a> to decide on installing <a href=\"https:\/\/csvn.radix.pro\/cgit-ui\/trunk\/README.md\" rel=\"nofollow\"><b>cGit-UI<\/b><\/a> on your own server.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-415909","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/415909","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=415909"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/415909\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=415909"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=415909"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=415909"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}