TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Vedeu: Ruby-based terminal GUI framework

91 点作者 TheRealGL超过 10 年前
I&#x27;ve been working on a terminal&#x2F;console based GUI framework for Ruby for around 4&#x2F;5 months. Its still very basic, but there&#x27;s a complimentary mp3 playing app which uses it to showcase capabilities. Not quite cross-platform, and still needs a bit of work. Welcoming pull requests.<p>Vedeu: https:&#x2F;&#x2F;github.com&#x2F;gavinlaking&#x2F;vedeu<p>(The mp3 player; Playa: https:&#x2F;&#x2F;github.com&#x2F;gavinlaking&#x2F;playa).

12 条评论

klibertp超过 10 年前
From the headline alone it looks a lot like Urwid in Python-land: <a href="http://urwid.org/" rel="nofollow">http:&#x2F;&#x2F;urwid.org&#x2F;</a><p>Some compare&amp;contrast would be a nice introduction for those who know one but not the other (like me).<p>EDIT: it looks like this one really doesn&#x27;t use ncurses at all relying instead on terminal escape codes: <a href="https://github.com/gavinlaking/vedeu/blob/master/lib/vedeu/support/esc.rb" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;gavinlaking&#x2F;vedeu&#x2F;blob&#x2F;master&#x2F;lib&#x2F;vedeu&#x2F;s...</a><p>Urwid can use that too, but has a few other display backends: <a href="http://urwid.org/reference/display_modules.html#module-urwid.raw_display" rel="nofollow">http:&#x2F;&#x2F;urwid.org&#x2F;reference&#x2F;display_modules.html#module-urwid...</a><p>Urwid is also MUCH older (first Changelog item from 2004).<p>Of course, Urwid is still Python, so it may not be a good fit if you absolutely need a Ruby library.
ccallebs超过 10 年前
Wildly, I was looking for something like this a few weeks ago when I got the itch to create a text-based game. I came across ncurses, but this looks to fit the bill a lot better than that.<p>I doubt I&#x27;ll get around to pursuing the game in any amount of time, but I definitely support the project. It fills a niche I was looking for.
davidroetzel超过 10 年前
I have been looking for something like this a while ago. I was very dissatisfied with the existing solutions. This looks a lot nicer. I hope to find some time to play with this. Thanks for sharing!
ufmace超过 10 年前
How does it compare to some of the other Ruby CLI frameworks?<p>I&#x27;ve been using escort[0] for my CLI utilities, and it seems like a decent compromise between providing a useful number of features and not bloating your app into a huge framework with a complex DSL to figure out. It is a little short on interactivity once the command is running, though.<p>[0] <a href="https://github.com/skorks/escort" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;skorks&#x2F;escort</a>
评论 #8198240 未加载
atmosx超过 10 年前
Hello,<p>I&#x27;m an amateur ruby developer. You should announce your project to the ruby-users mailing list: ruby-talk@ruby-lang.org<p>best regards and thanks for the code :-)
评论 #8196825 未加载
lukeholder超过 10 年前
This looks fantastic, look forward to trying it out. I have built various csv conversion scripts for people to use at work, and have been using the awesome highline[0] option parser, but i would make people feel so much more comfortable with a more usable interface.<p>[0] <a href="https://github.com/JEG2/highline" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;JEG2&#x2F;highline</a>
roeme超过 10 年前
I&#x27;m split here, on one hand there&#x27;s (n)curses already available on ruby, on the other hand, you need an additional library for it. Any other benefit one should be aware of?
评论 #8196849 未加载
chazu超过 10 年前
Looks very cool, and more intuitive than a lot of the popular alternatives (urwid, blessings&#x2F;blessed). I&#x27;ll be giving this a shot soon, thanks for sharing it!
lucisferre超过 10 年前
Wow, I was searching for exactly this kind of framework to build a little Pomodoro clock to run in a Tmux window. Thanks so much for this!
taternuts超过 10 年前
This is pretty cool - been kind of looking for something similar in node-land, inquirer seems a bit lacking
thirdtruck超过 10 年前
Thanks! Looking forward to applying this to my personal productivity workflow.
zura超过 10 年前
I&#x27;d love to see modern Turbo Vision clone :)