Digs: iOS app that syncs your Discogs collection and lets you browse it offline (lustin.fr)

by rlustin 26 comments 64 points
Read article View on HN

26 comments

[−] msephton 53d ago
Curious why you didn't go native when it's undoubtedly reaper than the stack you chose. The default blank navigation view project would get you 80% of the way with its couple dozen lines of code. And you would get system font, SwiftUI predictable layout, easy database access, and a smaller Binary by a factor of 10x most likely.
[−] rlustin 53d ago
Fair question. I know TypeScript, I don’t know Swift. This was my first mobile app and Expo lowered the barrier enough for me to actually ship it. I’m sure native would have been leaner, but I’d probably still be reading SwiftUI docs instead of having an app on the App Store.
[−] cauterize 53d ago
Love this given my favorite record store is in a basement with bad cell service!
[−] rlustin 53d ago
I love it!
[−] hu3 54d ago
Blog title lacks iOS: "Building Digs, an offline Discogs companion"

And it's a RN app:

> It’s a React Native app built with Expo and TypeScript. Data lives in SQLite.

[−] rlustin 54d ago
Fair enough on the iOS mention. The tech stack (React Native, Expo, TypeScript, SQLite) is detailed in the blog post, I wasn't trying to hide it.

As others pointed out in the thread, RN renders actual native views, not a webview. For this use case: browsing a local SQLite database offline, it works really well.

[−] ZeWaka 54d ago
What's wrong with React Native? I don't quite get your point there.
[−] Insanity 54d ago
Speculating - but an iOS app that's build on React Native is not really a 'native iOS app'. Which might have some performance implications etc.

Just speculating, I've not done mobile development since before RN was even a thing.

[−] rlustin 54d ago
Funny enough this was my first mobile app ever, I figured it out doing it. Expo helped a lot. The Apple review process on the other hand… that was a whole learning experience on its own.
[−] coffeecantcode 53d ago
God I feel you here, that first review is always brutal.
[−] skydhash 54d ago
RN does use a lot of native code. It’s not based on a webview like Electron is. Most of the builtin components are native views and there’s no CSS. The JS engine is also simpler. It’s more akin to the lua runtime in Neovim.
[−] monster_truck 54d ago
Quite a lot. Enough that it isn't realistic to ask this in good faith
[−] davidhariri 53d ago
Lovely! Thank you
[−] Singletail 51d ago
Now if someone could find a way to read the scrawled engineer's names etched on the inner part of the vinyl so I could figure out what edition I have in under an hour, I'd be really happy.
[−] trvz 53d ago
This could’ve been a nice native lickable app, as befitting for what it does.

Instead, and I’m not against AI, AI slop that isn’t native, has awful design and awful font decisions.

Someone should take the idea but implement it properly.

And a Cover Flow view is a must.

[−] dnlzro 53d ago
How'd you design the icon/logo for it?
[−] ebuyan 53d ago
What do you recommend beyond React Native?
[−] imagetic 54d ago
That’s fun!