TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Sorcia – Self-hosted web front end for Git repositories, written in Go

100 pointsby mysticmodeabout 5 years ago

10 comments

CameronNemoabout 5 years ago
Glad to see new work in this space. Sorcia looks very clean, and well implemented.<p>I only noticed one issue, which is very much an edge case: when trying to view a file with third party JS disabled (i.e. the Cloudflare JS sourced script), the file is rendered quite poorly. Would be nice if the service degraded gracefully and used a simple pre tag or similar.<p>I must also admit that I am interested in a more &quot;non-technical&quot; git frontend -- one that puts the file tree up front and center, leaving details like remotes and commits in out of the way views.<p>If anyone is interested in other options, see also:<p>* <a href="https:&#x2F;&#x2F;git.nemo157.com&#x2F;grarr" rel="nofollow">https:&#x2F;&#x2F;git.nemo157.com&#x2F;grarr</a> (Rust, the UI themes are a little tacky IMHO) * <a href="https:&#x2F;&#x2F;github.com&#x2F;emersion&#x2F;matcha" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;emersion&#x2F;matcha</a> (also in Go, but not very complete or performant...)
评论 #22691775 未加载
mysticmodeabout 5 years ago
Hi, OP and author of the project here.<p>You could check the landing page of this project here: <a href="https:&#x2F;&#x2F;sorcia.mysticmode.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;sorcia.mysticmode.org&#x2F;</a><p>I&#x27;ve put up a FAQ and Features section with screenshots, so it is easy for you to look at it and see why I&#x27;ve built this software.
评论 #22689140 未加载
tdy721about 5 years ago
Front end for git in go. Surely you stumbled across GOGS? <a href="https:&#x2F;&#x2F;gogs.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;gogs.io&#x2F;</a>
评论 #22688984 未加载
评论 #22689264 未加载
bpizziabout 5 years ago
Tangential: lastly I was searching for an easy to deploy, easy to use readonly html frontend for git repositories that could be reached via an URL subpath behind a reverse proxy, served from a container.<p>The use case is to let website owners see what their developers are changing in the source code that I&#x27;m hosting for those owners, and to embed this in the existing dashboard of mine where the owners can see what&#x27;s happening on their servers. I would handle myself the part where the source code modifications are committed to the underlining git repositories, and a nice bonus would be that those repositories would act an additional backup strategy.<p>Unfortunately nothing came close to this simple wishlist, I was unable to get the likes of git-web or gitiles working under those constraints, I tried 4 or 5 at least.<p>I should have a look at Sorcia then!
roguasabout 5 years ago
I would consider different name for &quot;tree&quot;. It ain&#x27;t obvious to me if it is tree graph for my git tree or tree of catalogue in source.
评论 #22690676 未加载
评论 #22688727 未加载
mrocheabout 5 years ago
Very cool! Although I noticed (at least in Safari and iOS) the contributors page has 23px widths for the profile pictures.<p>Front-ends like these are really cool. They allow simple, self hosted solutions strictly for code that can then be mirrored to other, more complex solutions if desired. Or if you like working with very minimal tooling.
评论 #22692182 未加载
niruiabout 5 years ago
This kind of simple design has grown on me after I tried sourcehut. I kind like it, it&#x27;s light and snappy, no extra loading bar is needed.<p>My questions:<p>- Can you make it a drop-and-play Docker image?<p>- Why not host JavaScripts like `highlight.js` directly on the Sorcia server? That way LAN-only user will be able use this software as well.
评论 #22690590 未加载
jlelseabout 5 years ago
Looks nice and clean. Minimalism. I like what I see in the screenshots.
评论 #22688865 未加载
yandrypozoabout 5 years ago
Constructive recommendations: - add tests (I couldn&#x27;t find a simple _test.go file) - relative imports aren&#x27;t recommended in Go (pkgs like &quot;sorcia&#x2F;model&quot;) - please rethink&#x2F;avoid global (package) variables like middlewareDB (<a href="https:&#x2F;&#x2F;git.mysticmode.org&#x2F;r&#x2F;sorcia&#x2F;tree&#x2F;master&#x2F;middleware&#x2F;middleware.go#L14" rel="nofollow">https:&#x2F;&#x2F;git.mysticmode.org&#x2F;r&#x2F;sorcia&#x2F;tree&#x2F;master&#x2F;middleware&#x2F;m...</a>) - avoid adding logic in the init() functions - screenshots?
评论 #22689421 未加载
savolaiabout 5 years ago
Looks cool. Responsive layout, please. Painful to browse on iOS phone.