#Thinking about a native macOS application - now building!

34 messages Β· Page 1 of 1 (latest)

wraith trout
#

Hi all! I wrote a Rust wrapper around typst that I integrated into a SwiftUI PoC application. I currently think about writing an application like Texifier (https://texifier.com) but specifically for Typst and Markdown. How you think about that? Attached you can find a video as well as a screenshot.

unborn blade
#

the transition effect looks cool!

dusty sequoia
#

The rendering times look great! I use vscode but the timing gets iffy

lean axle
#

Have you tired that on larger docs? I assume it will slow down, and might become a bit janky?

wraith trout
weak crypt
#

is the code to this available somewhere?

tranquil swallow
#

I like the idea of this. Looks great!

terse stream
#

If you are going after Typst and Markdown, I think you should use Quarto Markdown dialect. My 2 cents....

wraith trout
wraith trout
terse stream
shadow zenith
#

i like this.

terse stream
#

I understand that Typst monetization strategy is to offer a text-editor-like experience in the browser from typst to pdf. But in my context there are more academics that could understand writing in markdown than in typst directly. But I may be wrong. Still, I think this is a huge space that fits different approaches.

wraith trout
# terse stream I understand that Typst monetization strategy is to offer a text-editor-like exp...

I think about it the same way. I write a lot of docs in Markdown. Typst is promising and could replace Latex eventually. A friend of mine is currently actively trying to write a thesis with it, but said theres the lack of a good native editor. Even though I think about small one time fee (like 4/5$, I hate subscriptions, F to adobe), the app could have its benefits. Still need a name though.

wraith trout
#

Hi #1175784402333212733
The app is currently under active development and I am progressing fast! I quickly threw together a small website with a waitlist button. If you are interested getting updates and being a beta tester you can sign up at https://textique.app. There is a small FAQ below πŸ™‚

weak crypt
#

nice
just signed up for waitlist

wraith trout
#

Already rocking a custom own-built editor as well as the PDF preview. The PDF preview is currently filled with dummy data, to show any kind of PDF. Also there is a nice animation when switching the layout IMO πŸ˜‰

weak crypt
#

Iβ€˜m wondering
How hard is it to combine rust and swift? Iβ€˜d also be interested in writing a macos app with a rust backend (completely unrelated to typst)

wraith trout
#

You need to build a bridge between those. Itβ€˜s due to that that its not 100% purely Swift, a lot of deep dive into ObjC. There are libraries like swift_bridge (https://github.com/chinedufn/swift-bridge), they support a lot of types and make that easier. Sadly not all at the moment, so you can roll your own FFI but need to do all that memory management stuff on your own

wraith trout
#

I am digging around a lot with the Typst library. Makes hella fun! My first time using Rust that deeply. And as you can see, the headings of a document are displayed inside the sidebar. Finishing the first iteration rapidly, thinking about pushing some alpha / beta into Testflight in October! πŸ₯³

#

Oh, yes, and packages are supported. With a small kind of "package manager" like view..

#

Thinking about a native macOS application - now building!

#

Yet another screenshot. Now with a file structure if you got some projects

tranquil swallow
#

Looks pretty good πŸ‘πŸ™‚

wraith trout
#

quotes!

tranquil swallow
#

One feature that would be really nice from my perspective is display of all imported typst files or local packages on the sidebar to the left, but I can imagine that this could be hard to implement.

#

The texifier app has this as far as I know, but it doesnt work when you use a macro inside the include command

wraith trout
#

The part says β€žPaketeβ€œ which is packages in German

wraith trout
#

Working with it is hella fun! Iteration one is almost finished, big update and some insights on thursday!
(video bitrate compressed due to discord 25mb limit)

#

Having some "slow down" issues due to the fact we are not really doing multithreaded stuff yet, this is in the making. Also the custom PDF preview is far from perfect. The results are still insane IMO!

wraith trout
wraith trout
#

Currently on a small holiday break. Will be back at the start of october! Some great things to share. Currently playing around with the macOS sandbox to make the app ready for some of you testing people! πŸ™‚

wraith trout
#

Seems like packages with sub-packages are now working πŸ˜›