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.
#Thinking about a native macOS application - now building!
34 messages Β· Page 1 of 1 (latest)
the transition effect looks cool!
The rendering times look great! I use vscode but the timing gets iffy
Have you tired that on larger docs? I assume it will slow down, and might become a bit janky?
Did a lorem with 60000. Gets interesting with a lorem around 500.000. But that seems more like a PDFKit problem, rather than an typst thing.
is the code to this available somewhere?
I like the idea of this. Looks great!
If you are going after Typst and Markdown, I think you should use Quarto Markdown dialect. My 2 cents....
Thank you for that tip. Taking a look into it!
Not as of now, sorry π
I recently had to dig how the Quarto and Typst integration work (github.com/fredguth/tufte-inspired). Cannot say I became expert, I still get really confused everytime there is the need to understand a pandoc filter but if I can be of any help, please reach out.
i like this.
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.
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.
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 π
nice
just signed up for waitlist
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 π
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)
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
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
Looks pretty good ππ
quotes!
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
You can see a glimpse of it here. This is going to be a thing thats why there is a package manager like view also @tranquil swallow π
The part says βPaketeβ which is packages in German
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!
A small update from my side - and some insights π
https://textique.app/blog/240912-first-iteration-done/
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! π
Seems like packages with sub-packages are now working π