mathstodon.xyz is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon instance for maths people. We have LaTeX rendering in the web interface!

Server stats:

2.7K
active users

#cgit

0 posts0 participants0 posts today
jan Anja();<p>"Setting up Anubis to protect cgit from AI crawlers"<br><a href="https://sysrq.in/en/article/cgit-with-anubis.md" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">sysrq.in/en/article/cgit-with-</span><span class="invisible">anubis.md</span></a></p><p>This is my new attempt at writing a useful guide! In the article I try to explain my current configuration for running cgit (or any other CGI application) with Anubis.</p><p>The guide suggests using uWSGI to serve CGI, with Nginx being a reverse proxy.</p><p><a href="https://wetdry.world/tags/cgit" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cgit</span></a> <a href="https://wetdry.world/tags/Anubis" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Anubis</span></a> <a href="https://wetdry.world/tags/HomeServer" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HomeServer</span></a> <a href="https://wetdry.world/tags/Selfhosted" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Selfhosted</span></a> <a href="https://wetdry.world/tags/Selfhosting" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Selfhosting</span></a></p>
unixbhaskar<p>A quick round of important places .....show off .... You know, I am good at it 😜🤣</p><p><a href="https://mastodon.social/tags/cgit" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cgit</span></a> <a href="https://mastodon.social/tags/linuxadmin" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>linuxadmin</span></a> <a href="https://mastodon.social/tags/opensourcedevelopment" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>opensourcedevelopment</span></a> <a href="https://mastodon.social/tags/linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>linux</span></a> <a href="https://mastodon.social/tags/operatingsystem" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>operatingsystem</span></a></p>
tunes :ciberlandia:<p>My joyful <a href="https://ciberlandia.pt/tags/journey" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>journey</span></a> with <a href="https://ciberlandia.pt/tags/openbsd" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>openbsd</span></a> 🐡thickens. <br>Today I boosted my <a href="https://ciberlandia.pt/tags/selfhosting" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>selfhosting</span></a> <a href="https://ciberlandia.pt/tags/services" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>services</span></a> with <a href="https://ciberlandia.pt/tags/nfs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>nfs</span></a>, teaming up with <a href="https://ciberlandia.pt/tags/adblock" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>adblock</span></a>, <a href="https://ciberlandia.pt/tags/caldav" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>caldav</span></a>, <a href="https://ciberlandia.pt/tags/carddav" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>carddav</span></a>, <a href="https://ciberlandia.pt/tags/cgit" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cgit</span></a>, <a href="https://ciberlandia.pt/tags/httpd" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>httpd</span></a>, <a href="https://ciberlandia.pt/tags/vnstat" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>vnstat</span></a>, <a href="https://ciberlandia.pt/tags/openntpd" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>openntpd</span></a></p>
bapt<p>Nice reading on how to prevent AI crawlers to hammer <a href="https://mastodon.social/tags/FreeBSD" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FreeBSD</span></a>'s git repo using <a href="https://mastodon.social/tags/cgit" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cgit</span></a> and <a href="https://mastodon.social/tags/nginc" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>nginc</span></a> <a href="https://blog.sysopscafe.com/posts/ai-crawlers-hammering-git-repos/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">blog.sysopscafe.com/posts/ai-c</span><span class="invisible">rawlers-hammering-git-repos/</span></a></p>
tunes :ciberlandia:<p>Almost done...<br><a href="https://ciberlandia.pt/tags/selhosted" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>selhosted</span></a> <a href="https://ciberlandia.pt/tags/cgit" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cgit</span></a> custom theme based on <a href="https://ciberlandia.pt/tags/base16" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>base16</span></a> colorscheme.<br>Coming up pretty nicely!</p>
tunes :ciberlandia:<p>Getting the grips with <a href="https://ciberlandia.pt/tags/cgit" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cgit</span></a> on <a href="https://ciberlandia.pt/tags/openbsd" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>openbsd</span></a> has been so far a great experience.<br>Fast and simple...<br>Another one step further into the <a href="https://ciberlandia.pt/tags/selfhost" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>selfhost</span></a> journey at home!</p>
Matěj Cepl 🇪🇺 🇨🇿 🇺🇦<p>Is every <a href="https://floss.social/tags/cgit" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cgit</span></a> instance a subject to DoS-like attack by search engines?</p>
musicmatze :rust: :nixos:<p>Found that someone is accessing my git host with a bot ... from a few 100 IPs actually.</p><p>Now I have fail2ban added to the setup.</p><p>Funnily though, <a href="https://social.linux.pizza/tags/cgit" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cgit</span></a> performs really well and even with a few 100 requests per second, does not bring down my server 😆</p>
Matěj Cepl 🇪🇺 🇨🇿 🇺🇦<p><span class="h-card" translate="no"><a href="https://fosstodon.org/@LWN" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>LWN</span></a></span> </p><p>I don’t expect much has changed since I wrote <a href="https://lwn.net/Articles/967922/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">lwn.net/Articles/967922/</span><span class="invisible"></span></a></p><p>For personal independence of development is IMHO better what we have right now working … <a href="https://floss.social/tags/SourceHut" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SourceHut</span></a> or <a href="https://floss.social/tags/Cgit" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Cgit</span></a>, <a href="https://floss.social/tags/Mailman" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Mailman</span></a>, <a href="https://floss.social/tags/Bugzilla" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Bugzilla</span></a> on your own server.</p><p><a href="https://floss.social/tags/SmallWeb" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SmallWeb</span></a></p>
Alien BOB<p>How I setup cgit for a browsable liveslak repository</p><p>I received a request to document how I configured the backend for <a href="https://git.liveslak.org/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">git.liveslak.org/</span><span class="invisible"></span></a> . This is where my git repository for liveslak is accessible and browseable using cgit as the engine.<br>Of course the server is also running an actual git repository service which people use to clone the liveslak files and f</p><p><a href="https://alien.slackbook.org/blog/how-i-setup-cgit-for-a-browsable-liveslak-repository/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">alien.slackbook.org/blog/how-i</span><span class="invisible">-setup-cgit-for-a-browsable-liveslak-repository/</span></a></p><p><a href="https://fosstodon.org/tags/Slackware" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Slackware</span></a> <a href="https://fosstodon.org/tags/Software" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Software</span></a> <a href="https://fosstodon.org/tags/cgit" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cgit</span></a> <a href="https://fosstodon.org/tags/git" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>git</span></a> <a href="https://fosstodon.org/tags/liveslak" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>liveslak</span></a></p>
covracer<p>I've been thinking for a while about surfacing <a href="https://mastodon.social/tags/git" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>git</span></a> statistics from web apps. Does anyone do this?</p><p>I'd be especially interested in a <a href="https://mastodon.social/tags/python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python</span></a> <a href="https://mastodon.social/tags/django" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>django</span></a> integration or a <a href="https://mastodon.social/tags/postgresql" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>postgresql</span></a> integration like a foreign data wrapper.</p><p>Maybe those paths are best considered optimizations and a <a href="https://mastodon.social/tags/cgit" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cgit</span></a> container running in the same cluster as the web app would be the fastest way to prove the concept?</p>
Justine Smithies<p>Today these beauties arrived ready for the big Beastie upgrade tomorrow. I'll be removing the test boot drive and fitting the 1Tb SSD then installing <a href="https://mastodon.bsd.cafe/tags/FreeBSD" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FreeBSD</span></a> . After that I'll install and setup these two 4Tb drives as raid1 and move some of the stuff like /home and other stuff over to them. Then I'll spend the rest of my time setting up the <a href="https://mastodon.bsd.cafe/tags/Bastille" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Bastille</span></a> jails for <a href="https://mastodon.bsd.cafe/tags/cgit" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cgit</span></a> , <a href="https://mastodon.bsd.cafe/tags/Syncthing" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Syncthing</span></a> , <a href="https://mastodon.bsd.cafe/tags/Radicale" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Radicale</span></a> and possibly <a href="https://mastodon.bsd.cafe/tags/LMS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>LMS</span></a> .<br><a href="https://mastodon.bsd.cafe/tags/RunBSD" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RunBSD</span></a> <a href="https://mastodon.bsd.cafe/tags/HomeLab" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HomeLab</span></a></p>
Bradley Taunt<p>If I plan to move a good amount of my personal projects over to an email patch workflow (instead of PR/issue GUIs) what platform makes the most sense? </p><p>I assume sourcehut has more of a "discovery" factor, so my cgit could always remain as a remote backup?</p><p><a href="https://mastodon.bsd.cafe/tags/git" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>git</span></a> <a href="https://mastodon.bsd.cafe/tags/sourcehut" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sourcehut</span></a> <a href="https://mastodon.bsd.cafe/tags/cgit" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cgit</span></a> <a href="https://mastodon.bsd.cafe/tags/opensource" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>opensource</span></a></p>
Matěj Cepl 🇪🇺 🇨🇿 🇺🇦<p><span class="h-card" translate="no"><a href="https://masto.pt/@gvlx" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>gvlx</span></a></span> <span class="h-card" translate="no"><a href="https://troet.cafe/@lued" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>lued</span></a></span> <span class="h-card" translate="no"><a href="https://botsin.space/@pollbot" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>pollbot</span></a></span> <span class="h-card" translate="no"><a href="https://floss.social/@forgejo" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>forgejo</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.online/@forgefriends" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>forgefriends</span></a></span> <span class="h-card" translate="no"><a href="https://floss.social/@forgefed" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>forgefed</span></a></span> </p><p><a href="https://floss.social/tags/Sourcehut" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Sourcehut</span></a> (<a href="https://git.sr.ht/~mcepl/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">git.sr.ht/~mcepl/</span><span class="invisible"></span></a>) or my own <a href="https://floss.social/tags/cgit" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cgit</span></a> (<a href="https://git.cepl.eu/cgit/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">git.cepl.eu/cgit/</span><span class="invisible"></span></a>), of course!</p>
Luke T. Shumaker<p>Bytespider (by ByteDance, the TikTok company) and Amazonbot both fell down a hole trying to crawl 17 years of Git history file-by-file, .patch-by-.patch from our <a href="https://fosstodon.org/tags/cgit" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cgit</span></a> server.</p><p>I guess <a href="https://fosstodon.org/tags/TikTok" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TikTok</span></a> and <a href="https://fosstodon.org/tags/Amazon" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Amazon</span></a> hate <a href="https://fosstodon.org/tags/FreeSoftware" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FreeSoftware</span></a> / <a href="https://fosstodon.org/tags/FOSS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FOSS</span></a> and will just DDoS Git servers!</p><p>(No, seriously, these 2 bots together account for 80% of the total traffic to our Git server; Bytespider at 59% and Amazonbot at 21%.)</p>
Matěj Cepl 🇪🇺 🇨🇿 🇺🇦<p>With <a href="https://floss.social/tags/cgit" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cgit</span></a> I can set configuration variable `section-from-path`, and it makes all repos grouped under their directories like at <a href="https://git.cepl.eu/cgit/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">git.cepl.eu/cgit/</span><span class="invisible"></span></a>. Unfortunately, I cannot find the equivalent for the plain <a href="https://floss.social/tags/Gitweb" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Gitweb</span></a>, so <a href="https://git.cepl.eu/git/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">git.cepl.eu/git/</span><span class="invisible"></span></a> looks convoluted.</p><p>Any idea, how to achieve the same effect with gitweb?</p>
Matěj Cepl 🇪🇺 🇨🇿 🇺🇦<p><span class="h-card" translate="no"><a href="https://chaos.social/@zhenech" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>zhenech</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.social/@lzap" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>lzap</span></a></span> My feeling from <a href="https://floss.social/tags/Radicle" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Radicle</span></a> is that same as from <a href="https://floss.social/tags/IPFS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>IPFS</span></a> … something which may be very important for somebody, but for anybody normal it introduces just horrible amount of complications in between my code and the Universe with no clear benefit for me. <a href="https://floss.social/tags/CGit" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CGit</span></a> on my server (or <a href="https://floss.social/tags/Gitea" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Gitea</span></a>, if I want to be presumptuous) is just enough for me <a href="https://git.cepl.eu/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">git.cepl.eu/</span><span class="invisible"></span></a></p>
data0<p><span class="h-card" translate="no"><a href="https://fosstodon.org/@whynothugo" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>whynothugo</span></a></span> Here's a more hands-on one from the <a href="https://indieweb.social/tags/sourcehut" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sourcehut</span></a> folks: <a href="https://git-send-email.io/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">git-send-email.io/</span><span class="invisible"></span></a></p><p>After hosting my own <a href="https://indieweb.social/tags/GitHub" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>GitHub</span></a>-style forge for many years (used <a href="https://indieweb.social/tags/forgejo" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>forgejo</span></a> last), most of my private projects are now just plain ssh-hosted repos. Managing the ever growing complexity just stopped being worth it for me. <a href="https://indieweb.social/tags/GitBug" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>GitBug</span></a> and <a href="https://indieweb.social/tags/cgit" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cgit</span></a> (simple read-only web frontend) is all I need. Accepting patches/issues via mail only is not ideal, but not dealing with low-effort PRs and lazily filed issues is nice too.</p>
Bradley Taunt<p>Really debating running my own instance of cgit. No fault of sourcehut, but my repos are so “unpopular” that I don’t need a lot of the bells and whistles offered. </p><p>Only issue is integrating patches / TODOs. Maybe just through Git email directly to my personal address? 🤷‍♂️ </p><p><a href="https://mastodon.bsd.cafe/tags/cgit" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cgit</span></a> <a href="https://mastodon.bsd.cafe/tags/selfhost" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>selfhost</span></a></p>
Andrew<a class="hashtag" href="https://stereophonic.space/tag/cgit" rel="nofollow noopener noreferrer" target="_blank">#cgit</a> is operable, including TLS, but <a class="hashtag" href="https://stereophonic.space/tag/git" rel="nofollow noopener noreferrer" target="_blank">#git</a> access itself is yet to be configured -- I don't want to create any kind of SSH public access (would rather http and git-daemon)