SkillAgentSearch skills...

Ghfs

:octocat: Go io/fs implementation for GitHub remote repository

Install / Use

/learn @k1LoW/Ghfs
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

ghfs build

:octocat: ghfs implements the io/fs interfaces for GitHub remote repositories.

The implementation wraps go-github client and use Git Database API.

Supported interface

Usage

package main

import (
	"fmt"
	"io"
	"log"

	"github.com/k1LoW/ghfs"
)

func main() {
	fsys, err := ghfs.New("golang", "time")
	if err != nil {
		log.Fatal(err)
	}
	f, err := fsys.Open("README.md")
	if err != nil {
		log.Fatal(err)
	}
	b, err := io.ReadAll(f)
	if err != nil {
		log.Fatal(err)
	}
	fmt.Printf("%s\n", b)
}

References

  • johejo/ghfs: Package ghfs wraps the github v3 rest api with io/fs.
View on GitHub
GitHub Stars9
CategoryDevelopment
Updated2mo ago
Forks1

Languages

Go

Security Score

90/100

Audited on Feb 3, 2026

No findings