1. 119
    1. 35

      This allows you to use them independently and compose them however you please, which maps well onto the reality of how many projects are organized. Compare this to platforms like GitHub, GitLab, Gitea, and so on, resources like bug trackers and pull requests map 1:1 to a git repository.

      I think this is a great leg up on the competition. Having repositories be 1:1 with issue trackers always annoyed me on GitHub and results in hacky workarounds like sending issues between repositories or having one repo act as “the issue tracker repo”.

      1. 4

        This is awesome, specially for mirror repositories and stuff like that.

    2. 18

      Happy to see this. I migrated most of my personal projects to sourcehut last year, and despite being overall happy with it, I had the feeling that a lack of search-ability created the impression that there were only a few real users. This will hopefully counter that misconception.

    3. 13

      What I find really interesting about this update is the public index. Before there was no way to explore sourcehut. It’s a feature I really enjoyed about github, until they completely crippled it.

      1. 6

        yeah, it even has a “Featured” column. It is a really clean design.

      2. 3

        Ooh, that’s nice! I love it. Add filtering and sorting, and this thing will have GitHub beat by a mile.

        1. 5

          Indeed; advanced search and the network effect complement each other as GitHub’s two killer features. I wrote about how effective these can be in a comment on Orange Website:

          This is excellent. The great thing about Sourcehut is that if you have extra git remotes, you can keep working like nothing ever happened if the site goes down. Issues and patches are decentralized over email.

          The Project Hub looks like an excellent way to tie together all the separate Sourcehut services to better compete with other “complete” VCS-based collaboration suites like GitHub and GitLab. In the future, it would be really cool to expose an API to allow adding “custom” services that aren’t part of Sourcehut.

          It’s good to see Sourcehut focusing on project discovery, since this is the area where GitHub excels at the most. When I search for a small CLI/TUI utility, I often run these filters:

          • filter out weblangs, frontend-oriented languages, and languages with heavy runtimes (JS, TypeScript, CoffeeScript, Vue, CSS, HTML, Dart, Purescript, Livescript, Elm, Swift, JVM languages, .NET languages, Vala, QML, etc.). I have several shortcuts for many combinations of languages so I don’t have to type them out every time.

          • filter repos below a certain size (a repo above 10mb is probably full of bloat).

          • If applicable, filter out repos whose last commit was before a certain date.

          • If applicable, filter by topic

          • If it concerns a recent technology, I can filter repositories created after a certain date.

          • If I want to try a smaller project that isn’t cursed with mainstream success, I filter repositories below a certain number of stars.

          For instance, if I feel like my MPD setup is missing something, I might search:

          mpd stars:<150 pushed:>2019-01-01 size:<8000 -language:purescript -language:livescript -language:vue -language:javascript -language:typescript -language:coffeescript -language:elm -language:dart -language:java -language:scala -language:kotlin -language:clojure -language:groovy -language:php -language:objective-c -language:objective-c++ -language:swift -language:css -language:HTML -language:haxe -language:csharp -language:fsharp -language:"jupyter notebook" -language:powershell -language:cuda -language:assembly -language:tex -language:batchfile -language:erlang -language:elixir -language:emacs -language:vim -language:plpgsq -language:julia -language:xslt -language:systemverilog -language:verilog -language:hcl -language:tsql -language:jsonnnet -language:gdscript -language:r -language:smarty -language:freemarker -language:nix -language:saltstack -language:"visual basic" -language:"visual basic .net" -language:plsql -language:"rich text format" -language:dockerfile -language:vala -language:QML -language:actionscript -language:matlab -language:alloy -language:cobol -language:graphql -language:m4 -language:qmake -language:fish -language:opencl -language:json -language:rmarkdown -language:xml -language:markdown -language:applescript -language:puppet

          The result shows quite a few nice utilities. If I want to go even more minimal, I could filter out Ruby and even Python projects.

          It would be great to have a FOSS implementation of an advanced project search utility that isn’t limited to (or even part of) any particular hosting provider. Maybe ActivityPub could help facilitate connecting and indexing project metadata from different hosting providers.

    4. 13

      This is progress but does not solve my use case yet. Here’s an example, Drew:

      • From the OP, click the SourceHut project link.
      • We are now in the “project hub” for sourcehut. There is already one problem with this UI, which is that there is a “git” link at the top which is a red herring. It takes the viewer to a completely unrelated part of the website.
      • Now click Sources. That was a happy click, this is where I want to be.
      • Unfortunately now clicking any of the links such as sourcehut-go takes me out of the project hub.

      Contrast this with GitHub, where all of the links at the top are related to the project. Even if I click the organization name, I’m still in the “hub” for the organization, and clicking any of the source repos takes me back to the “hub” for that project.

      I do believe there is a way to keep the different parts of sourcehut independent, while making the user experience less confusing for newcomers. But I think you need to think about it from a casual user’s perspective rather than a project maintainer’s perspective.

      1. 17

        The links across the top of the page (git, hg, etc) only show for logged-in users, the presumption being that they’re more likely to have been exposed to our documentation and workflow, and understand the purpose of those links.

        I mention this in passing at the end of the article, but much of your other complaints should be solved by an upcoming change to the UI for resources on each site - e.g. your git repo - to more clearly link them back to the project they belong to.

        Thanks for the feedback :)

        1. 3

          The links across the top of the page (git, hg, etc) only show for logged-in users

          Does that also explain why https://sr.ht/~sircmpwn/sourcehut/ says “or click “man” along the nav at the top.”, but I don’t see a “man” at the top?

          As the main page, https://sourcehut.org/, links to https://sr.ht/~sircmpwn/sourcehut/, you’ll probably get quite a few un-logged-in users seeing this.

          1. 3

            That probably does explain it, yes. Thanks for bringing that to my attention, I’ll see what I can do about it.

    5. 6

      u/ddevault I’m not particularly fond of using a circle as sourcehut’s icon, but even ignoring that, the fact that the text is not centered with the circle is triggering the OCD in me really hard. In this image, we can see that top partition is larger than the bottom partition.

      1. 5

        I have a really bad eye for this… would you mind terribly if I imposed on you for a patch? The code is here:


        hugo serve -w will get it running. The stylesheet is in assets/main.scss, and the HTML is in layouts/partials/nav.html. I can backport the fix to *.sr.ht after that. I spent a few minutes messing with it but I can’t really tell when it’s right.

        1. 3

          Would you mind if I would also give it a go?

          1. 4

            Scyphozoa already sent a patch - and it made it upstream. Maybe you’d like to try it for *.sr.ht, rather than sourcehut.org?


            See srht/templates/nav.html

            1. 3

              Sure. Would you mind if I maybe tried something with the logo?

              1. 4

                By all means.

        2. 1

          Thanks for replying. I might try, but I have never written a single line of either html or css in my life :(

      2. 1

        fwiw, I liked it… encompassing

        1. 4

          I think it would be cool if he did some pun because of the word “hut”, maybe just using a caret symbol on top of the circle. I don’t know, just a circle seems bland, personally. And because it is a circle, at a glance it might trick you into reading “Osourcehut”

          1. 3

            sôurcehut (:

    6. 3

      Welp, this solves my single issue with using SourceHut for everything instead of Github: lack of a central “station” for a project that lets newbies easily find issue trackers and such. It gets slightly old to have to start every project’s README with an index pointing to its various resources.

      I might end up running my own sr.ht server someday, but even if I do I’ll gladly pay $50/yr to help keep development rolling.

    7. 2

      Not sure if project leaders read this thread.

      If it helps any, I would like to suggest to have template projects that represent non-trivial mono-repos for domain specific examples as:

      • mobileapp+webapp+desktopapp+distributed-backend
      • multi-controller-embedded-solution-with-cross-compilation (in several languages)
      • multi-os-device-driver project
      • a godot game project for multiple devices
      • a migration model from multi-repo to a mono-repo

      I think setting up project repositories and manage lifecycle of a project (with multiple contributors, pre-releases, releases, dependencies on specific r oss projects, branches, etc) – is becoming a topic on its own.

      And I think, these kinds of templates that demonstrate the power of a source management platform, as applied to specific needs, would be of benefit

    8. 1

      I’d love to be able to host a mail list that is assigned to a group, rather than a project under my own username.

      So far this features has been in the backlog. With this new release, I hope to finally see this feature addressed.


    9. 1

      I guess I will move all my FOSS to sr.ht.

    10. 0

      I really like sourcehut simplicity. But i wonder why wouldn’t they use Javascript in the frontend.

      1. 14


        1. 1


        2. 0

          Agreed how can you add interactivity to the site without js Just curious to know

          1. 9

            The site’s already interactive. You click on things, and stuff happens. What more would you add?

          2. 6

            It depends on the definition of interactivity. HTML has buttons to start with.

      2. 10

        Not using JS on the frontend is my #1 favorite feature about sourcehut. It is one or two orders of magnitude faster than GitLab on my old laptop.

      3. 4

        There is actually JS is some parts of sourcehut. It’s just optional (as all JS was always meant to be)

        1. 1

          I see it’s pretty surprising to see a full fledged application without js where as nowadays js is known to be the universal language of the web

          1. 3

            it’s just a different way of building web applications, with server-rendered templates instead of a single page javascript-powered app that queries an API. both can coexist and learn from each other

            1. 1

              Agreed Each one has there pros and cons