This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
zacpier's profile picture

CCTerm - ComputerCraft in the TTY (ALPHA)

Started by zacpier, 05 April 2015 - 08:55 AM
zacpier #1
Posted 05 April 2015 - 10:55 AM
Have you ever been sitting around on your Linux box or Mac thinking, "Gee, I wish I could run ComputerCraft in my terminal?"

Well, wait no more!

With CCTerm, you can run a fully-featured ComputerCraft emulator in the comfort of your POSIX-compatible terminal!

I'll put more info in this thread in the coming days, because this project is VERY new!

Also note: This isn't finished yet. Some very basic features like the 'edit' program don't work properly.

If you know JavaScript, though, you can help!

Here's the repository, if you want to play with it or improve it.

https://github.com/zacpier/CCTerm

================== INSTALL ==================

Install nodejs:

Arch: sudo pacman -S nodejs
Ubuntu/Debian: sudo apt-get install nodejs

Install CCTerm:

Download from github.
Unzip to a folder.
Open a terminal in that folder.
Run nodejs ccterm.js
Edited on 06 April 2015 - 09:47 PM
Lupus590 #2
Posted 05 April 2015 - 01:06 PM
I wonder if this would work with my bash shell for windows?
zacpier #3
Posted 05 April 2015 - 06:55 PM
Probably. The thing is, it's a nodejs/iojs program, so if you can get node/io to run through it, then probably.
Lupus590 #4
Posted 05 April 2015 - 09:28 PM
google is saying no
ElvishJerricco #5
Posted 05 April 2015 - 10:51 PM
I have never before seen so many technologies bootstrapped together in ways that were never intended.

First, you have Lua in C, bootstrapped to javascript. Then you have Mimic bootstrapped from browser to console. And you have CC itself bootstrapped from a 3D Java game to a command line program. And finally you tape them all together with Node.js to make one big mess. It's glorious. I love it.
zacpier #6
Posted 05 April 2015 - 11:57 PM
*duct tape

You can't just go around implying that this was rigged together with scotch tape. This is heavy-duty duct tape. I'm sure it'll hold!
Geforce Fan #7
Posted 06 April 2015 - 12:55 AM
I have never before seen so many technologies bootstrapped together in ways that were never intended.

First, you have Lua in C, bootstrapped to javascript. Then you have Mimic bootstrapped from browser to console. And you have CC itself bootstrapped from a 3D Java game to a command line program. And finally you tape them all together with Node.js to make one big mess. It's glorious. I love it.
I'm confused by how you mention bootstrap. Bootstrap is where the computer slowly compiles into higher-level languages.
zacpier #8
Posted 06 April 2015 - 03:12 AM
I'm confused by how you mention bootstrap. Bootstrap is where the computer slowly compiles into higher-level languages.
Replace "bootstrapped" with "horribly rigged with ungodly spaghetti code," and it'll be completely valid.
apemanzilla #9
Posted 06 April 2015 - 03:53 AM
Well, I tried to run it on my Windows machine… Let's just say it didn't go well.
ItsRodrick #10
Posted 06 April 2015 - 04:55 PM
How I install it in a Linux terminal? I'm a bit noob in this…
zacpier #11
Posted 06 April 2015 - 11:46 PM
Install instructions now in OP :D/>
DannySMc #12
Posted 09 April 2015 - 12:49 PM
Have you ever been sitting around on your Linux box or Mac thinking, "Gee, I wish I could run ComputerCraft in my terminal?"

Well, wait no more!

With CCTerm, you can run a fully-featured ComputerCraft emulator in the comfort of your POSIX-compatible terminal!

I'll put more info in this thread in the coming days, because this project is VERY new!

Also note: This isn't finished yet. Some very basic features like the 'edit' program don't work properly.

If you know JavaScript, though, you can help!

Here's the repository, if you want to play with it or improve it.

https://github.com/zacpier/CCTerm

================== INSTALL ==================

Install nodejs:

Arch: sudo pacman -S nodejs
Ubuntu/Debian: sudo apt-get install nodejs

Install CCTerm:

Download from github.
Unzip to a folder.
Open a terminal in that folder.
Run nodejs ccterm.js

I wanted to test this on windows and noooooo hahaha, it doesn't work at all:(
LDDestroier #13
Posted 09 April 2015 - 12:58 PM
Now we're just one step further to making real computercraft computers.
While you're at it, why not make rednet work by making its range be the local network it's connected to?
zacpier #14
Posted 11 April 2015 - 12:14 AM
Now we're just one step further to making real computercraft computers.
While you're at it, why not make rednet work by making its range be the local network it's connected to?

That's a terribly useless idea.


I love it!
DannySMc #15
Posted 11 April 2015 - 12:25 AM
That's a terribly useless idea.


I love it!

We need more people like this guy in the world!
zacpier #16
Posted 13 April 2015 - 11:20 PM
We need more people like this guy in the world!

Thank you! I try :D/>
DannySMc #17
Posted 14 April 2015 - 09:20 AM
We need more people like this guy in the world!

Thank you! I try :D/>/>

haha, you're are my jesus!
ItsRodrick #18
Posted 14 April 2015 - 10:39 PM
Epic, finally got my ssh working… ITS EPIC! (Is it laggy or is it just for me? :P/>)

Oh, can't you use the HTTP Api?
zacpier #19
Posted 20 April 2015 - 01:29 AM
Oh, can't you use the HTTP Api?
Things are broken, and I've been having a hard time making any progress… :(/>
DannySMc #20
Posted 20 April 2015 - 10:04 AM
Oh, can't you use the HTTP Api?
Things are broken, and I've been having a hard time making any progress… :(/>

Need help?:D/>
zacpier #21
Posted 21 April 2015 - 12:43 AM
Need help? :D/>
Know nodejs?

If so, then yes x99999999
DannySMc #22
Posted 21 April 2015 - 09:22 AM
Need help? :D/>
Know nodejs?

If so, then yes x99999999

I do indeed :P/>
zacpier #23
Posted 24 April 2015 - 12:15 AM
Know nodejs?

I do indeed :P/>
Well go fix my code!
LDDestroier #24
Posted 10 July 2017 - 07:52 PM
Sorry for the necro, but is this still being worked on? It's still an interesting idea that I haven't seen elsewhere, and what with ComputerCraft becoming open source, I would imagine there'd be less trouble developing.
Bomb Bloke #25
Posted 11 July 2017 - 01:30 AM
I'm sure zacpier has worked on this every day in the years since he last posted anything. The fact that he's killed the repository means nothing.
LDDestroier #26
Posted 11 July 2017 - 02:34 AM
Bahhh.