Skip to content

Deskworks/quicksheet-hackage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

quicksheet-hackage

A QuickSheet extension for looking up Haskell packages on Hackage.

Type hackage: <package> in a QuickSheet cell to see version, synopsis, author, category, license, and homepage — right on your desktop wallpaper.

Usage

Cell value Result
hackage: aeson Latest version, synopsis, author, license, links for aeson
hackage: text Package info for text
hackage: search json Top packages matching "json"
hackage: search parser combinator Search by multiple terms

Example output

[Hackage] aeson
  Version:   2.3.0.0  (102 total)
  Synopsis:  Fast JSON parsing and encoding
  Author:    Bryan O'Sullivan <bos@serpentine.com>
  Category:  Text, Web, JSON
  License:   BSD-3-Clause
  Hackage:   hackage.haskell.org/package/aeson
  Homepage:  https://github.com/haskell/aeson

Install

ext: github:cemheren/quicksheet-hackage

Paste this into any QuickSheet cell. QuickSheet will clone and activate the extension automatically.

Requirements

  • QuickSheet desktop or TUI mode
  • .NET 9 SDK (for building the extension)
  • Internet access (fetches from hackage.haskell.org — free, no API key)

How it works

  • Package lookup: queries hackage.haskell.org/package/<name>.json for version history, then parses the .cabal file for metadata
  • Search: queries the Hackage search endpoint and parses results
  • Cache: 30-minute in-memory cache to avoid redundant requests
  • Protocol: JSONL stdin/stdout as per QuickSheet extension spec

License

MIT

About

QuickSheet extension: Haskell package lookup from Hackage. hackage: aeson → version, synopsis, author, category, license, homepage.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages