skillhub

package
v1.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package skillhub provides an interface to search and interact with skill registries.

Index

Constants

View Source
const SearchURL = "https://www.skillhub.club/api/search/quick"

SearchURL is the endpoint for quick search

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	HTTPClient *http.Client
}

Client handles interaction with SkillHub

func NewClient

func NewClient() *Client

NewClient creates a new SkillHub client

func (*Client) Resolve

func (c *Client) Resolve(slug string) (string, error)

Resolve fetches the GitHub URL for a given skill slug

func (*Client) Search

func (c *Client) Search(query string) ([]Skill, error)

Search searches for skills on SkillHub

type Skill

type Skill struct {
	ID          string   `json:"id"`
	Name        string   `json:"name"`
	Slug        string   `json:"slug"`
	Description string   `json:"description"`
	Category    string   `json:"category"`
	Author      string   `json:"author"`
	Stars       int      `json:"github_stars"`
	Tags        []string `json:"tags"`
}

Skill represents a skill from SkillHub search

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL