←  Programs

ComputerCraft | Programmable Computers for Minecraft

»

Weby -- the first multi-universe web browser

syfygirl's Photo syfygirl 29 Apr 2014

hi i am new to the computercraft forums :D . I built this program, Weby, so that anyone from any server (running computercraft with internet) can access a website.

to get program type: pastebin get pxa5wdRW


to access a website you would type 'website name.ma'

currently I only have weby.ma as the website

--------------------------------------------------------------------
how to make a website
--------------------------------------------------------------------

to make a website just make a lua coded file and name it name.ma and send it to me at [email protected]
Quote

CometWolf's Photo CometWolf 29 Apr 2014

I don't get it... This appears to be a glorified shell.run?
Quote

syfygirl's Photo syfygirl 29 Apr 2014

sorta, you can run a website from any server
Quote

Saldor010's Photo Saldor010 29 Apr 2014

test:42:attempt to index ? (a nil value)

This is what it errored with when I tried running the installer. Also, the buttons confused me at first. I thought you were supposed to click them, and after 10 seconds of trying to figure them out, I realized you used the arrow keys. A good button system should be intuitive. I can't really say much else on the subject, considering your installer broke before it had a chance to install.
Quote

syfygirl's Photo syfygirl 29 Apr 2014

Do you have http api enabled?
Quote

Saldor010's Photo Saldor010 30 Apr 2014

View Postsyfyguy13, on 29 April 2014 - 11:57 PM, said:

Do you have http api enabled?

Yes, otherwise I couldn't have downloaded the installer. :rolleyes:
Quote

syfygirl's Photo syfygirl 30 Apr 2014

If you would be be so kind to try the installer again :) there is so much that can go wrong in a download
Quote

Saldor010's Photo Saldor010 30 Apr 2014

View Postsyfyguy13, on 30 April 2014 - 12:50 AM, said:

If you would be be so kind to try the installer again :) there is so much that can go wrong in a download

I tried it about 3 times. Unless you're wanting me to re-download the installer?
Quote

syfygirl's Photo syfygirl 30 Apr 2014

i have updated the installer i am terribly sorry i cannot post more often i am having thunderstorms
Quote

Saldor010's Photo Saldor010 30 Apr 2014

Okay, I've done a little debugging on your installer. The content does indeed have content in it, so that's not the problem. I also tried changing it to f.write("hi!"), but it still errored, so I don't know. Also, I'm running this on Computercraft 1.5 (Tekkit Lite).
Quote

syfygirl's Photo syfygirl 30 Apr 2014

Ok thanks that means that its not opening the file properly, probably
Quote

syfygirl's Photo syfygirl 30 Apr 2014

do you use windows? If so you need to check some thingS:


in computercraft type
Lua


Then
Fs.makeDir("/weby")
Exit()

Edited by syfyguy13, 30 April 2014 - 02:56 PM.
Quote

Saldor010's Photo Saldor010 30 Apr 2014

View Postsyfyguy13, on 30 April 2014 - 02:55 PM, said:

do you use windows? If so you need to check some thingS:


in computercraft type
Lua


Then
Fs.makeDir("/weby")
Exit()

Lua is case sensitive, so obviously none of those worked. They did work however when I removed the first letter capitalization.
Quote

syfygirl's Photo syfygirl 30 Apr 2014

I just relised that android capitolizes every new sentance sorry :D
Edited by syfyguy13, 30 April 2014 - 05:10 PM.
Quote

Agoldfish's Photo Agoldfish 30 Apr 2014

Yep. Another glorified shell.run().
Quote

syfygirl's Photo syfygirl 30 Apr 2014

Do to errors and complaints saying its just a shell.run program i'm abandoning the project :(
Quote

Agoldfish's Photo Agoldfish 30 Apr 2014

View Postsyfyguy13, on 30 April 2014 - 07:23 PM, said:

Do to errors and complaints saying its just a shell.run program i'm abandoning the project :(

View Postsyfyguy13, on 30 April 2014 - 07:23 PM, said:

Do to errors and complaints saying its just a shell.run program i'm abandoning the project :(
You don't have to quit! It's just a start, wasn't Windows just a keyboard and a black screen when it first started?
Quote

syfygirl's Photo syfygirl 30 Apr 2014

alright, well technically windows started with a kernel and file system, not a black screen. although i do often get blue screens :D
Edited by syfyguy13, 30 April 2014 - 09:00 PM.
Quote

Agoldfish's Photo Agoldfish 30 Apr 2014

View Postsyfyguy13, on 30 April 2014 - 08:59 PM, said:

alright, well technically windows started with a kernel and file system, not a black screen. although i do often get blue screens :D
I'm being encouraging, don't make me stop. :P
Quote

CoLDarkness's Photo CoLDarkness 01 May 2014

A little basic but if you can make some stuff with PHP and automatic website creating, would be great.
Quote