blog.morishin.me

Editjiro

This article is translated from Japanese using AI

I created Editjiro, a clone app of Editaro, which is a text editor for writing drafts before posting to emails or chats.

I love the concept of Editaro, but I felt frustrated that it doesn't run on Apple Silicon and that it's built with Electron (the heaviness of Chromium), so I made a clone app as a native macOS application using Swift.

There are also sibling apps like Draftan and Editabro, which shows the popularity of Editaro.

Even though it's a clone app, it is even simpler than the original, just having a text area where the written content is saved locally.

I built it with SwiftUI, and the implementation is almost just this. github

struct ContentView: View {
    @AppStorage("text") private var text = ""
    @AppStorage("fontSize") private var fontSize: Double = 18
    @FocusState private var isFocused: Bool

    var body: some View {
        TextEditor(text: $text)
            .background(Color.editorBackground)
            .font(.system(size: fontSize))
            .foregroundStyle(Color.editorText)
            .focused($isFocused)
            .preferredColorScheme(.dark)
            .onAppear {
                isFocused = true
            }
    }
}

I drafted this article using Editjiro.

Download here (macOS): https://github.com/morishin/Editjiro/releases/latest