Unofficial Hacker News companion — get notified on comment replies, and more.

PocketBase has moved off GitHub (opens external site)

394 points by p2detar 3 days ago | github.com | 240 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (15)

  1. hmm, for single maintainers you don't even need a forge. I am in a similar boat of moving code onto my own server. I started running home server couple years back and self host git + cgit. For git you only need ssh, cgit is a battle tested git browser. Works nice.
    Replies (5)
    1. >cgit is a battle tested git browser

      It's been reported that it can't handle AI crawlers well and no one seems to be willing to fix it. I'm skeptical of claims that it is battle tested and not just a toy.

      Replies (2)
      1. take a look at this: https://git.zx2c4.com/cgit/

        then take a look at this: https://git.kernel.org/

        Replies (1)
        1. What do you want to say? The first takes seconds to load and gives me 502 half of the time.
      2. Replies (1)
        1. This is not a proper solution to the problem. Trying to just rate limit bots doesn't mean the problem of bots visiting a billion links is fixed.
          Replies (1)
          1. Ok, what is the proper solution?
            Replies (1)
            1. That is what a battle tested git browser would need to figure out.
    2. Similar here. Wanted my own decentralized git on the web. Simple PHP frontend on top of the built in git http interface. Runs on managed Webspace (hetzner). Nothing fancy and no servers to maintain.

      Now we need a simple and open clone/fork/pr standard interface between our git places. Anyone?

      Replies (2)
      1. If you have access to a computer, you can easily do the clone/fork part, just not with a simple button click. As far as PR goes, you can use git format-patch[0] and send the result by any means of communication that allows either files or plain text with no wrapping (including pastebin like services).

        [0] https://git-scm.com/docs/git-format-patch

      2. https://en.wikipedia.org/wiki/Einstellung_effect

        There's nothing simple about the obtuse fork-and-PR workflow GitHub invented, and it was designed to create friction (for collaborators who weren't putting their own stuff on GitHub), not to eliminate it. So replicating that would be truly perverse.

        The "standard interface" for someone landing on your one-off self-hosted Git repo to submit changes is a file input that accepts patches.

    3. I'm using gitolite + cgit for personal projects. It generally works well, but there are some features/functionality I'd like to have:

      1. tags/labels on projects in addition to the namespace grouping;

      2. being able to follow links in markdown like on GitHub/Gitea/Forgejo.

      In addition to this it would be nice to have some features of GitHub/Gitea/Forgejo but without the forced username/project-name layout:

      1. integrated bug tracker/kanban/project management;

      2. release management;

      3. publishing packages to a local hosting area.

      I can do those separately, but it would be nice to have some form of lightweight integration.

      Replies (1)
      1. I've been thinking about local hosting for a while, but felt a forge was not the right answer for me (eg all you need is git - I don't even need cgit!). I've started thinking about automation for ci/builds/gates, enroute.sh looks interesting for this maybe.

        For tickets (and docs) I've been working on a local first, git backed tool. It's still really alpha (and experimental!) but I am dogfooding it and we're about to trial it (for docs only) on a project at work.

          https://github.com/vhodges/manyhands 
        
        Next release Monday morning. The designs (and it even mostly looks like these :) https://vhodges.dev/manyhands-design/ if just want to see it. I'll add a screenshot to the readme at some point.

        Full disclosure, it's being built using agents and spec driven development and fully supports that way of working.

    4. cgit+SSH (with guest+user access) is functionally exactly what I need. But cgit is a browser, I still need to setup a SSH+Git shell for it, which could cause problems for my setup, and the setup is not easy to containerize and scale (say, use a storage engine rather than files on disk), making it header to manage.
    5. CICD and gitops flows supplied by your forge are useful even to single maintainers