iOS client for SourceHut.
Hutch is a native SwiftUI app for browsing and managing SourceHut services on iPhone and iPad. It uses SourceHut's GraphQL APIs and stores your personal access token in the iOS keychain.
The app currently includes:
- Home dashboard with assigned tickets, recent builds, and projects
- Repository browsing for Git and Mercurial repositories
- Repository details including README, references, commits, diffs, files, artifacts, and settings
- Tracker and ticket browsing, ticket detail views, and tracker creation
- Build job browsing, build detail views, and build submission
- Inbox and mailing list reading flows
- Paste browsing, creation, and detail views
- Profile and account settings, including SSH keys, PGP keys, and personal access token management
- Deep links for repositories, tickets, and build jobs
Some SourceHut services are still browser-only from within Hutch. Unsupported areas currently open in Safari instead of rendering in-app.
- Xcode with current iOS SDK support
- iOS Simulator or physical iOS device
- A SourceHut account
- A SourceHut personal access token
-
Clone the repository:
git clone https://git.sr.ht/~ccleberg/Hutch
-
Open the project in Xcode.
-
Build and run the app on a simulator or device.
-
On first launch, create or paste a SourceHut personal access token.
You can create a token at:
https://meta.sr.ht/oauth/personal-access-tokens
After signing in with a valid token, Hutch presents five primary areas:
Home: dashboard for projects, assigned tickets, recent builds, and inbox accessRepositories: browse, search, create, and manage repositoriesTickets: browse trackers, create trackers, and view ticket detailsBuilds: inspect build jobs and submit new buildsMore: lists, pastes, settings, and external links for unsupported services
Authentication notes:
- Hutch validates the token against
meta.sr.htbefore saving it - The token is stored in the iOS keychain
Reset App Dataremoves saved token data, caches, cookies, and local web data from the device
The project is an Xcode app with tests under HutchTests.
Typical workflow:
- Open the workspace or project in Xcode.
- Select the Hutch app scheme.
- Build the app.
- Run the test plan in
Hutch/HutchTests.xctestplan.
Contributions are welcome. Keep changes scoped, include tests when behavior changes, and open a pull request with a clear summary of the user-facing impact.
If you discover a security issue, see SECURITY.md.
This project is licensed under the GPL 3.0 or later. See LICENSE.
Questions or feedback: hello@cleberg.net