最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Javascript resources for console like web applications? - Stack Overflow

programmeradmin1浏览0评论

Suppose I want to implement a curses/console like program in HTML/CSS/Javascript. Examples might be a online text adventure game or a simple interpreter similar to the "Try the XYZ programming language now" web pages you see for languages like Ruby or Haskell. Is there a library/plugin/etc... that implements these terminal like interfaces?

Note:

After digging around for quite some time I found jquery-console, which looks quite promising at first glance.

Any other alternatives or remendations?

Suppose I want to implement a curses/console like program in HTML/CSS/Javascript. Examples might be a online text adventure game or a simple interpreter similar to the "Try the XYZ programming language now" web pages you see for languages like Ruby or Haskell. Is there a library/plugin/etc... that implements these terminal like interfaces?

Note:

After digging around for quite some time I found jquery-console, which looks quite promising at first glance.

Any other alternatives or remendations?

Share Improve this question asked Dec 29, 2011 at 2:03 Rex ButlerRex Butler 1,0602 gold badges13 silver badges25 bronze badges 2
  • TryHaskell's footer says it uses jquery-console, so if you're looking for similar functionality that sounds like a good choice. You can make your own GitHub fork for custom features, too. – Ry- Commented Dec 29, 2011 at 2:09
  • Hey, I have a little webapp I made for my Minecraft server. Goto termtm./sites/mcos/admin.html in chrome, and check it out. Also email me @ [email protected] and I probably could help you out. – TERMtm Commented Dec 29, 2011 at 2:27
Add a ment  | 

1 Answer 1

Reset to default 11

I have been using the termlib.js library for a couple of projects and it works really great. It helps with a lot of stuff like handling keyboard and parsing inputs.

It should also be less bloated than any jQuery-based solution unless you were going to use jQuery anyway.

You might want to start off looking at the readme or try some samples.

发布评论

评论列表(0)

  1. 暂无评论