frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Aegis – A Self-Hosted Code Hosting Server Written in Golang

https://github.com/AegisCodeForge/aegis
1•kasumispencer2•1h ago
Hello the good people on Hacker News.

In the last 6 months I've been working on a self-hosted Git server and now I'd say it has reached a stage where I felt comfortable showing it properly.

For the HTTP server and frontend part, this project only relies on `net/http` and `html/template`, both of which are in Golang's standard library. This might not be the best performance-wise but I wish to cut dependencies as much as possible.

If the way the whole project is structured and developed seems weird: this is the first Golang project and first serious backend project I've ever done. Before making Aegis I've only made a few small things with Node.js and have never touched Golang, and during the development a lot of things have been ignored and/or delayed for the sake of "having enough functionalities as quick as possible". At the beginning it was only meant to be a proof that I have what it takes to "learn on the job" (and to learn about Git internals of course) but it gradually snowballed from there.

Currently the major things that have been implemented are as follows:

    + Basic things: tree/file views, commit info, history, diff;
    + Read-only clone by HTTP and read/write access through SSH;
    + Basic issue tracking and pull requests;
    + Namespaces; 
    + Per-namespace and per-repository user access control;
    + Webhooks for external CI/CD (experimental feature; subject to change)
    + Snippets (à la GitHub snippets)
    + And many tiny things:
      + Labels for repositories;
      + UI for Git Blame;
      + UI for directly editing files;
      + 2-factor authentication w/ Email
      + Support for displaying `Co-Authored-By` messages
    + No JavaScript - works all major browsers and a lot of minor ones, including Ladybird and NetSurf.
    + Proper web installer for easy(-er) installation (like the one in WordPress)
    
Some of the things that are NOT implemented but PLANNED:

    + 2FA w/ HOTP/TOTP and passkeys;
    + GitHub Pages-like thingy;
      + This is currently planned to be added as a part of CI...
    + Proper CI;
    + Migration from/to other hosting services;
    + Support for other version control software, e.g. Fossil, Mercurial and SVN
      + And conversion between them (to the degree that's possible).
    + Refactor;
    + Better SSH and HTTP clone/pull/push handling;
    + Maybe properly implement Git functionalities instead of relying on exec.Command?
The code repository can be seen at https://github.com/AegisCodeForge/aegis/ . The list of planned things can be currently viewed on GitHub: https://github.com/AegisCodeForge/aegis/issues . Notes on how certain things work can be read at https://github.com/bctnry/aegis/tree/master/docs .

I have set up a demo server at https://aegis-demo.sebastian.graphics if you wish to see it in action. This server is hosted on a small VPS I've rented from DigitalOcean (not sponsored), which I'll be taking down in about two weeks. It will be configured with the most basic settings possible (i.e. basically SQLite for everything). I'll leave no restrictions on user activities, but please be nice...

Feedback & bug/security reports are greatly appreciated.

Eliminating the hypervisor tax to enhance GPU utilization

https://www.ori.co/blog/bare-metal-as-the-primitive
1•jtsymonds•3m ago•0 comments

Ask HN: Exploring the Energy Sector – Looking for Guidance

2•tminima•5m ago•0 comments

Enzyme behind diet-induced obesity and diabetes can be 'switched off'

https://old.reddit.com/r/science/comments/1np8zn6/enzyme_behind_dietinduced_obesity_and_diabetes/
1•ivewonyoung•5m ago•0 comments

Open Source Has Too Many Parasocial Relationships

https://pivotnine.com/blog/open-source-has-too-many-parasocial-relationships/
3•jay_kyburz•5m ago•1 comments

10,000 Drum Machines

https://10kdrummachines.com/
1•CharlesW•6m ago•0 comments

Facebook data reveals real-world harms caused by spread of misinformation

https://theconversation.com/facebook-data-reveal-the-devastating-real-world-harms-caused-by-the-s...
3•defrost•6m ago•0 comments

Private offices in the heart of San Francisco - not your average office space

https://frontiertower.io/
1•Katjayakov•6m ago•1 comments

New gene therapy slows progression of Huntington's disease by 75%

https://news.sky.com/story/new-gene-therapy-slows-progression-of-huntingtons-disease-by-75-13437292
2•austinallegro•7m ago•0 comments

Germany Woos Indian Workers Spooked by U.S. Visa Changes

https://www.nytimes.com/2025/09/24/business/germany-india-skilled-workers-visa.html
1•breadwinner•8m ago•1 comments

Everything that's wrong with Google Search in one image

https://bitbytebit.substack.com/p/everything-thats-wrong-with-google
2•recroad•10m ago•0 comments

We just taught AI agents to complete real purchases

https://blog.arcade.dev/agentic-commerce-is-here-we-just-taught-ai-to-complete-purchases
1•shawneechase•12m ago•1 comments

Any creative ways to transfer context between AI models?

1•gravez•14m ago•0 comments

Snapdragon X2 Elite ARM Laptop CPU

https://www.qualcomm.com/products/mobile/snapdragon/laptops-and-tablets/snapdragon-x2-elite
3•wmf•21m ago•0 comments

Math Without Numbers (With Big Ideas)

https://kidswholovemath.substack.com/p/math-without-numbers-with-big-ideas
1•sebg•21m ago•0 comments

Startups, mid-sized firms would be hit hardest by H-1B fee hike, experts say

https://news.northeastern.edu/2025/09/24/h1b-visa-fee-hike-startups/
1•geox•22m ago•0 comments

Even light alcohol drinking raises dementia risk, according to largest study

https://www.psypost.org/even-light-alcohol-drinking-raises-dementia-risk-according-to-largest-gen...
2•ivewonyoung•23m ago•0 comments

Ask HN: Times the world has dodged a bullet

1•tempestn•24m ago•1 comments

Another airport in Denmark under drone attack

https://www.dw.com/en/denmark-aalborg-airport-closed-due-to-drone-sightings/a-74127857
1•HardwareLust•25m ago•3 comments

Microsoft Flight Simulator 2024 is coming to Playstation 5 on December 8th

https://www.flightsimulator.com/microsoft-flight-simulator-2024-soars-onto-playstation-5/
34•blinky88•27m ago•18 comments

Phone spyware scandal in Greece goes to court

https://www.bbc.com/news/articles/ced56p5l2wwo
1•worik•27m ago•0 comments

Show HN: Building sub-100ms autocompletion for JetBrains IDEs

https://blog.sweep.dev/posts/next-edit-jetbrains
2•williamzeng0•29m ago•0 comments

CWM: An Open-Weights LLM for Research on Code Generation with World Models

https://ai.meta.com/research/publications/cwm-an-open-weights-llm-for-research-on-code-generation...
1•mfiguiere•32m ago•0 comments

Frankenstein's Sheep

https://nymag.com/intelligencer/article/montana-mountain-king-marco-polo-argali-sheep-cloning-lab...
1•domofutu•33m ago•0 comments

Porsche Cayenne EV Will Have Wireless Charging

https://www.thedrive.com/news/the-2026-porsche-cayenne-ev-will-have-wireless-charging
2•PaulHoule•40m ago•0 comments

An open letter calling for a hard fork of Rails to remove DHH's influence

https://github.com/Plan-Vert/open-letter
9•akagusu•40m ago•4 comments

What if the BEAM ecosystem got hit by a worm?

https://erlef.org/blog/security/beam-worm
4•maennchen•43m ago•0 comments

AI-Generated "Workslop" Is Destroying Productivity

https://hbr.org/2025/09/ai-generated-workslop-is-destroying-productivity?mc_cid=4dc392fe29
2•lastdong•46m ago•1 comments

RunKWC: A PWA timer app for treadmill runs

https://runkwc.com
1•kawai17•46m ago•0 comments

Snapdragon X2 Elite Live Demos from Qualcomm Snapdragon Summit 2025

https://www.youtube.com/watch?v=s5GaONgsye8
2•gargan•47m ago•0 comments

Local PDF Tools – compress, merge and split pdf files locally in browser

https://krmanik.github.io
2•w3ll_w3ll_w3ll•47m ago•0 comments