Stand-alone gitview module?

Is it feasible to run gitview independently of GmCapsule, specifically as a CGI script?

Posted in: s/GmCapsule

🦦 ainent

Apr 21 Β· 2 weeks ago

6 Comments ↓

πŸŒ† skyjake [mod...] Β· Apr 21 at 19:06:

Not very feasible. The gitview module relies on GmCapsule for configuration and receiving requests at certain URL paths:

It would be possible to port it to plain standalone CGI, but it would be a nontrivial change.

Also, GmCapsule handles response caching. That's pretty important when a crawler starts indexing the entire Git history...

πŸ’€ StrokedOut Β· Apr 23 at 16:48:

I saw a git on Gemini script a couple of days ago, but I can't remember where. Unfrotunately, Lagrange doesn't allow to search the history. Maybe I remember, then I will post the link here.

πŸ’€ StrokedOut Β· Apr 23 at 16:53:

Found it by searching Lagrange's plain history file.

β€” The software itself

β€” How all repos are listed

πŸŒ† skyjake [mod...] Β· Apr 23 at 16:54:

Lagrange doesn't allow to search the history.

Lagrange does search the history when entering text in the URL bar, however it is limited to the cached content (the pages accesible to back/forward navigation). The search includes both URLs and cached page contents.

This feature does have a huge drawback, though: the navigation cache is tab-specific, so it doesn't really do what you want unless you browse with a single window and a single tab, never closing it...

The app-wide visited URLs are always searchable via the URL bar.

πŸ’€ StrokedOut Β· Apr 23 at 17:00:

@Skyjake Ah, you are right. I stand corrected. I used the history in the sidebar and didn't see a search field.

🦦 ainent [OP] · Apr 24 at 02:52:

@Goat That is interesting, thank you for sharing. The info it presents isn’t quite what I’m looking for, though.