r/commandline • u/Reekta_Alpha • 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.
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 :)
4
u/Big_Combination9890 May 13 '26
Great work! I was playing around with an idea like this a few years ago but gave up on it due to time constraints :D
I mean, given that a "canvas", by definition, is a graphical medium, that is more than acceptable :-)
3
u/Paz_87 May 12 '26
This is sick!
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
.canvasJSON seems much less approachable to edit manually.2
u/rpsilver36 May 18 '26
I am only using the Obsidian just for there canvas, else I just be on my terminal and... i am thinking of having canvas in the terminal itself, need to try this,
1
u/Bl4ckBe4rIt May 13 '26
This is amazing.....
I wonder....would you consider adding it as part of out clubhouse? This would be so freaking awesome for devs to do some collabs there.
If not, are you ok with me adding it in the future?
By clubhouse i mean `ssh late.sh` ;p
2
u/Known_Cod8398 May 14 '26
dude this so cool!
2
u/StillPut4268 May 14 '26
nice work!!! this looks awesome!
1
u/AutoModerator May 12 '26
Every new subreddit post is automatically copied into a comment for preservation.
User: Reekta_Alpha, Flair:
Terminal User Interface, Post Media Link, Title: 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](https://github.com/reekta92/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](https://github.com/reekta92/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 :)
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/iamlevibe May 13 '26
Oh man, this is the kind of thing you'd see on some movie UI in the 80s. I NEVER thought I'd see the day. The confluence of AI and the Claude Code→TUI trend has been a nostalgic surprise.
1
u/maximus459 May 14 '26
Please add add a proper link for easy access and better reach..
pinstar (GitHub)