Jump to content

Sharing my "new" idea the "ComputerCraft Web Bridge"


Recommended Posts

Current version: 0.0.1-InDev

MUST TO READ
Very important note
This program is dependendant on OpenPeripherals so you might want to install that mod or ask to your server admin to add to the server modpack sorry for the inconvenient

Some days ago i posted an idea on this forum (http://www.computerc...post__p__178043)
(if you dont want to see the post maybe you want to see this video http://www.youtube.com/watch?v=gW0LUueZVdM)
Tonight (00:07 here) im releasing the first dev version of this idea and citing some of what i said, this program its mainly focused for smp servers but if you want let your ssp world opened and then go to school/work/party ... well ...you can
For now, my main problem is the time, but i hope it can be working (the program) in a few weeks, but i do really want to know what do you think about it

Instructions for instalation:
Instructions

  • If its disabled, enable (ask to your server admin to enable) the http api of computercraft (just go to the config its very easy)
  • Install on your computer the CCWP Installer copypasteringo ► pastebin get w4DZjPR3 installer
  • Run the installer
  • The installer program will automatically update a file called "installer" with the last version of it and will create/update a folder called CCWP wich contains all the codes to work with CCWP DONT DELETE IT.
  • If you choosed to not have an startup file, you can run the main program with this command: "CCWP/webcontrol"
  • When running it will throw a 10 alphanumeric code that is your "ComputerKey", copy and save it in a safe place
  • Login to http://ccwp.herobo.com/ write your ComputerKey in the input box and click "Get Status" to see all your items in the web page!

IMPORTANT NOTE
Every computer running the program will throw a different Key, so you may need multiple windows if you run multiple instances of the program

I hope to continually update this project, but i'll always welcome your reviews, suggestions, comments or whatever

Feature List:

  • Online view of connected chests
    • Current Mods supported for storage view:
      • Iron Chests
      • Better Storage
      • Applied Energistics (must connect via cable to a ME Controller)

Changelog:

  • 20/10/14 0.0.2-inDev
  •  
    • Changed (again) the web server to a brand new one
    • Changed web side login system to a simple key asking system, you only need the computer key to access the info
    • Changed a bit the code so it won't overload the web server
    • Still only allows visualization of inventories
    • Edited install instructions on the main post
  • 19/05/14 0.0.1-InDev
    • First dev version of the app
    • Features:
    • Online view of storage
      • Current Mods supported for storage view:
        • Iron Chests
        • Better Storage
        • Applied Energistics (must connect to a ME Controller)

WIP

  • More mods compatibility
  • Energy net view

TO-DO list

  • Web-side rs signals toggling
Edited by TrovaGamer
Link to post
Share on other sites

I think this is a really awesome idea! :D Do you really think this can be done using only what ComputerCraft has to offer? Something like this would be very helpful and great to have! The only suggestions I have is to add a bit more organization to the webpage because if someone is monitoring 20 to 50 items it would take them a while to find exactly which one! Perhaps a search box of some sort would be helpful :) and what mods do you plan to support in this system?

Link to post
Share on other sites

From the webside Im using just a script to "decode" a json into a table, but the idea is to have jquery menus to nav, on the other hand, to send all the info to the web, im using a very very basic node server, but i hope i can found a free node server on the web, otherwise i will need to change to php+mysql or something like that

Link to post
Share on other sites

From the webside Im using just a script to "decode" a json into a table, but the idea is to have jquery menus to nav, on the other hand, to send all the info to the web, im using a very very basic node server, but i hope i can found a free node server on the web, otherwise i will need to change to php+mysql or something like that

 

http://cloudno.de/#!/home

Link to post
Share on other sites

Will there be a way to send signals to computers?  This would be extremely useful, so that one could turn off an overheating reactor or whatever.

Actualy, the main idea was born when creating a HUD for a computer controlled reactor array so, one of the main concepts that i want to introduce in the program is the capability of toggling the state of one (or many) reactors

BTW i could be releasing a beta at the end of the week, but it will only support the abiity to see the actual storage, and a few list of mods iron chests, better storage and maybe anothers)

Link to post
Share on other sites

Actually yes, most mc hosts offer php+mysql hosting in their packages, and by now im using php+mysql due to the fact that im pretty new on node.js coding and git repositories, but im gonna try hard to take this project forward

 

Edit: Maybe when i can set up my openshift account or my cloudnode account got aproved ill rewrite the whole server to node.js

Edited by TrovaGamer
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...