namelast commitupdated
.gitbay/ ci: sync-man-pages publishes as hutch-ci from the container runner 2 months ago
.github/ Link cleberg.net/tips from FUNDING.yml 9 days ago
.qlty/ SubmitToolbar and createFlow; Qlty filters for the remaining shapes 1 month ago
Docs/ Convert plain-text docs to Markdown; refresh README (!15) 6 days ago
Hutch.xcodeproj/ Convert plain-text docs to Markdown; refresh README (!15) 6 days ago
Hutch/ Point GitHub references at krz-labs 1 day ago
HutchSafariExtension/ Fix Safari extension manifest for App Store upload 4 months ago
HutchTests/ Add Qlty config; fix test build; share repeated views and models 1 month ago
HutchUITests/ Merge pull request #43 from krazywarez/test/accessibility-verification 3 months ago
HutchWidgetExtension/ Merge pull request #39 from krazywarez/fix-actor-isolation 3 months ago
Shared/ update stats endpoint 3 months ago
scripts/ Merge pull request #43 from krazywarez/test/accessibility-verification 3 months ago
.gitignore initial commit 8 months ago
HutchTests.xctestplan Merge pull request #43 from krazywarez/test/accessibility-verification 3 months ago
LICENSE convert readme to nfo; convert docs to txt; relicense to 0bsd 3 months ago
README.org Point GitHub references at krz-labs 1 day ago
ROADMAP.md Drop builds/swift-ci.yml (!17) 6 days ago
SCOPE.md Convert plain-text docs to Markdown; refresh README (!15) 6 days ago
SECURITY.md Convert plain-text docs to Markdown; refresh README (!15) 6 days ago
SyncedProducts.storekit fix: finish half-completed storekit implementation 7 months ago

hutch

support hutch with a tip in the app (more → about) or through github sponsors.

what

ios client for sourcehut. native swiftui, iphone and ipad, built on sourcehut's graphql apis.

several accounts can be signed in at once. each keeps its own personal access token in the ios keychain and its own caches and preferences. read-only api responses are cached on disk per account, so most screens open without a round trip.

does

repos

  • git and mercurial repo browsing
  • repo details: readme, refs, commits, diffs, files, artifacts, settings, acls, deploy keys
  • artifact upload and deletion on release tags

tickets and builds

  • trackers and tickets: browse, create, edit, delete, subscribe
  • tracker management: settings, acls, labels
  • builds: browse, detail, logs, submit, retry, cancel, resubmit

mail

  • inbox and mailing list reading, with read and unread state
  • patchset review: cover letters, per-patch diffs, checks, version chains, status changes
  • mailing lists: create, subscribe, settings, delete

the rest

  • home dashboard and work queue: what is assigned, unread or failing, plus pinned projects and repos
  • projects: public discovery, create, edit, link and unlink resources
  • lookup: any user's profile, repos, trackers, contribution graph
  • pastes: browse, create, detail
  • man.sr.ht browser over a bundled catalog, synced weekly by ci
  • status.sr.ht summary
  • profile and account settings: ssh keys, pgp keys, avatar, token management, audit log
  • email preferences for todo.sr.ht and lists.sr.ht

system integration

  • widgets: contribution graph, needs attention, system status
  • app intents for shortcuts and spotlight: work queue, recent activity, failed builds, assigned tickets, system status, pinned resources, search
  • hutch:// deep links for repos, tickets, builds, lists, profiles, projects, status and search
  • safari web extension that offers to open a supported sr.ht page in the app
  • themes including amoled, compact density, optional swipe actions

some sr.ht services are still browser-only and open in safari. see SCOPE.md for what is deliberately left out and why, and ROADMAP.md for what is planned.

requires

xcode with a current ios sdk, a simulator or device on ios 17.6 or later, a sourcehut account, and a personal access token.

build

git clone https://gitbay.org/krz/hutch

open Hutch.xcodeproj in xcode, build and run. on first launch paste a token. create one at https://meta.sr.ht/oauth2/personal-token.

the token is validated against meta.sr.ht before saving and stored in the keychain. Reset App Data clears the token, caches, cookies, and local web data.

develop

tests live under HutchTests. HutchTests.xctestplan is the default plan for the Hutch scheme, so xcodebuild test -scheme Hutch runs it.

notes on the internals are in Docs: API_CACHE.md for the caching layer, StoreKit.md for the tip products, Hutch/API_REFERENCE.md for sourcehut's endpoints and token scopes, and Docs/API for schema dumps (partial — see the api traps in ROADMAP.md before trusting them).

ci runs on the gitbay instance from .gitbay/ci.yml: an accessibility check over the view files and the weekly man-page sync. the xcodebuild test plan is not in ci; there is no macos runner.

mirrors

krz.sh:  https://gitbay.org/krz/hutch   canonical
github:  https://github.com/krz-labs/hutch   push mirror

issues and merge requests go to gitbay. pushes to github are overwritten by the mirror.

security

see SECURITY.md.

license

0bsd. see LICENSE.

contact

About

Swift 96.7%Markdown 2.2%JavaScript 0.4%Python 0.4%Org 0.2%

3 contributorscmcdependabot[bot]Chris DeLuca

Clone

SSH
git clone ssh://git@gitbay.org/krz/hutch.git
HTTPS
git clone https://gitbay.org/krz/hutch.git