gtm_tool_directory

Search the OneGTMLab GTM tool directory from Gleam or the command line: API reviews for sales and marketing tools, head-to-head comparisons and plain-English GTM glossary terms.

The index is compiled into the package, so it works offline and sends no data anywhere. Every result links to its full page on onegtmlab.dev/tool-directory.

Types

One page of the directory.

pub type Entry {
  Entry(
    name: String,
    kind: String,
    url: String,
    description: String,
  )
}

Constructors

  • Entry(
      name: String,
      kind: String,
      url: String,
      description: String,
    )

Values

pub fn all() -> List(Entry)

Every entry in the directory.

pub fn main() -> Nil

Command line entry point: gleam run -- [--kind Tool] [--limit 10] words...

pub fn search(
  query: String,
  kind: String,
  limit: Int,
) -> List(Entry)

Entries whose name or description contains every word of query. kind filters by Tool, Category, Comparison or Glossary (case-insensitive, empty means all). limit caps the result count (0 or less means 20).

✨ Search Document