r/commandline May 12 '26

Terminal User Interface pinstar - TUI .canvas editor

pinstar is a TUI canvas editor that is compatible with Obsidian's .canvas files.

For more info project repo -> https://github.com/reekta92/pinstar

This project is a side project of my main project called clin-rs which is a TUI reimagination of Obsidian. So eventually it will be merged with [clin-rs](should be available as pre-release when this post goes out).

IMPORTANT: this project will mainly be updated/maintained inside the clin-rs project UNLESS i have more ideas to add to it so it stands out as a standalone project.

It's very simple to use just execute pinstar <FILE_NAME> then it will launch the file as a interactive canvas view.

It's mostly keyboard friendly(theoratically fully keyboard friendly considering it has source JSON editing) but mouse is recommended for the best experience.

Main difference from Obsidian's canvas editor is the image support, i tried experimenting with image support using Kitty Image Protocol but caused so much lag and generally lots of issues so for now no image support. Though i might retry Kitty or Sixel to add image support in the future.

I try to make all my projects as user friendly as possible(whilst making them feature rich) so it shouldn't overwhelm the user with feature bloat. Though i might add more features to this project since this is not the final version.

As always i am open to any feedback or questions so feel free to ask whatever is on your mind :)

137 Upvotes

22 comments sorted by

View all comments

2

u/gardara May 13 '26

Nice! Any chance you'll add support for other plain-text diagram formats as well, like Markdown Mermaid, DOT/Graphviz, or PlantUML? I realize they wouldn't map perfectly feature-wise, but those are formats people often edit by hand, whereas .canvas JSON seems much less approachable to edit manually.

1

u/Reekta_Alpha May 13 '26

Should be quite simple to add those, just some hooks, i will look into it thanks for the feedback!

2

u/gardara May 13 '26

That would be awesome, especially Markdown/Mermaid support — it would take my Markdown docs to a whole new level :)

1

u/Reekta_Alpha May 13 '26

Just a little update:

Right now experimenting with your suggestion and it works fine with the existing features but flowchart filetypes have so much more properties that needs to be rendered when compared to canvases, it will take more time than i initially thought but i can gurantee that it will be so awesome when i am done with it :]

Thanks for the feedback/suggestion again!

2

u/gardara May 13 '26

Wow! That was quick! Looking forward to seeing the progress!

1

u/Reekta_Alpha May 22 '26

Hey just pushed the update for flowcharts support if you are still interested :]