Ingest depp (Golang version)
Summary:
A lister is needed for depp, a simple static HTML frontend for git repositories written in Golang.
Searching for This is a binary file, clone the repository to access it.
in search engines can find instances that contain binary files.
depp sites can be recognised by a header
then a main
containing a section
with id
repositories
containing a h2
with text repositories
, followed by list of repos in dt
tags.
The repository names can be listed using this command:
curl -s $site | pup 'section#repositories dl dt a attr{href}'
The clone URLs for the repositories can be found using this command:
curl -s $site/repo/ | pup 'body header p.clone code text{}'
I can find only one instance of depp using search engines (did SCN on it):
https://git.8pit.net/
There is another static web generator for git repos also called depp (#5081), but it shares no history and is written in Chicken Scheme.
Plan:
-
Implement lister -
Implement loader -
docker: Run lister -
docker: Run loader -
Document lister -
Document loader -
Deploy on staging -
Call for public review -
Deploy on production