GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - tamnd/substack-cli: Fetch Substack newsletter feeds, posts, and authors via the public REST API from the terminal

BranchesTags
Open more actions menu

Latest commit

 

History

3 Commits
3 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
cli
cli
 
 
cmd/substack
cmd/substack
 
 
docs
docs
 
 
pkg/render
pkg/render
 
 
scripts
scripts
 
 
substack
substack
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
.golangci.yml
.golangci.yml
 
 
.goreleaser.yaml
.goreleaser.yaml
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 

Repository files navigation

substack

Browse Substack newsletter posts

substack is a single pure-Go binary. It reads Substack newsletters through their public REST API, shapes posts into clean records, and pipes into the rest of your tools. No API key required.

Install

go install github.com/tamnd/substack-cli/cmd/substack@latest

Or grab a prebuilt binary from the releases, or run the container image:

docker run --rm ghcr.io/tamnd/substack:latest --help

Usage

substack feed astralcodexten
substack feed stratechery --limit 5 -o json
substack --help
substack version

Development

cmd/substack/   thin main, wires cli.Root into fang
cli/            the cobra command tree
substack/       the library: HTTP client and data models
pkg/render/     shared table/json/jsonl/csv/tsv/url/raw renderer
docs/           tago documentation site
make build      # ./bin/substack
make test       # go test ./...
make vet        # go vet ./...

Releasing

Push a version tag and GitHub Actions runs GoReleaser, which builds the archives, Linux packages, the multi-arch GHCR image, checksums, SBOMs, and a cosign signature:

git tag v0.1.0
git push --tags

The Homebrew and Scoop steps self-disable until their tokens exist, so the first release works with no extra secrets.

License

Apache-2.0. See LICENSE.

About

Fetch Substack newsletter feeds, posts, and authors via the public REST API from the terminal

Topics

api-clientcligolangjsonjsonlnewslettersubstack

Resources

Readme
Apache-2.0 license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.