Native Mac APIs for Go

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • macdriver

    Native Mac APIs for Go. Soon to be renamed DarwinKit!

  • go-pmset

    Go library to get OSX assertions, like the command line pmset -g assertions

    This is great, I've done a few one-off go wrappers of objective C libraries [1][2] for an OSX menuapp framework I built [3].

    This seems like a much more general and useful solution, excited to switch some things over to it!

    [1] https://github.com/caseymrm/go-pmset

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • go-smc

    Golang library to read and write the OSX System Management Controller (SMC)

  • cacao

    Rust bindings for AppKit (macOS) and UIKit (iOS/tvOS). Experimental, but working!

    This is seriously cool. I feel slightly validated that I've also been wrapping these by hand, since it's kind of quirky to try and auto-generate these while keeping the same usability and such as their original incarnations.

    For those interested in a Rust variant, I've been hacking on one for awhile: https://github.com/ryanmcgrath/cacao

    I wouldn't say it's yet ready for production use, but so far it's working pretty well for me. Been dogfooding it by building an app I've wanted for a bit - a proper magic-wormhole macOS app.

    One of the things I've really wanted to keep to is the delegate pattern, since I think it actually works really well for Rust's model. A fun example I finished yesterday is ListView cell reuse:

    https://twitter.com/ryanmcgrath/status/1357097991081844737/p...

    Ultimately I view this as one of the last pieces needed for a cross-platform Rust UI framework to actually work.

  • view

    a macro for constructing views in Rust 🏗️

    Cacao looks like a cool project, I wonder what Rust bindings for SwiftUI could look like. While not exactly the same I've seen some projects like https://github.com/richardanaya/view that offer a similar, expressive DSL.

  • aws-cdk

    The AWS Cloud Development Kit is a framework for defining cloud infrastructure in code

    CDK has `ecs-patterns` https://github.com/aws/aws-cdk/tree/master/packages/%40aws-c...

    I'm a pretty big fan of CDK if you are willing to make cloudformation and AWS your lingua franca. I use it for most of my personal projects, but professionally bias towards terraform.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts