Author: FIGBERT <firstname.lastname@example.org>
Date: Thu, 8 Apr 2021 23:58:04 -0700
Add Tofu project writeup
2 files changed, 56 insertions(+), 0 deletions(-)
diff --git a/content/projects/tofu/accounts.jpg b/content/projects/tofu/accounts.jpg
Binary files differ.
diff --git a/content/projects/tofu/index.md b/content/projects/tofu/index.md
@@ -0,0 +1,56 @@
+title = "Tofu"
+description = "Tofu is an easy-to-use, open-source, two-factor authentication app designed specifically for iOS, made by Calle Luks. I adopted it after migrating from Authy, and ended up overhauling its icon system."
+date = 2021-04-07
+weight = 1
+[**Tofu**][tofu] is an easy-to-use, open-source, two-factor
+authentication app designed specifically for iOS, made by
+[Calle Luks][calle]. I adopted it after migrating from Authy,
+and ended up overhauling its icon system.
+<!-- more -->
+It's a really well designed app:
+![A screenshot of Tofu in action][sc]
+When I migrated to Tofu, it had a limited number of hand-designed
+icons in one big [Sketch file][sketch]. Each icon was created and
+exported manually. I set out to [simplify][issue] the process, and
+Calle [proposed][proposal] we create a shell script to generate
+icons on-demand from a folder of pngs.
+I got my shell hat on and a week later, [my pull request][pr]
+was commited to upstream with a brand new bash script. [The
+script][script] iterates over a given directory using `sed`
+and [regex][post] to grab the names of each png inside and add
+them to Xcode's assets folder. It uses a [heredoc][heredoc] as
+a template for the new imageset's JSON, and the `sips` cli to
+generate properly sized icons for use in the app.
+Contributing to open source projects is incredibly fun. If you've
+got a free weekend, take some time to hack on your favorite codebase.
+Big thanks to [Calle][calle] for creating such an awesome app – I
+look forward to collaborating more in the future.
+Download the app [on the App Store][store], and explore the source
+code [on GitHub][tofu].