If you're wanting to make a CCML page, checkout this tutorial.
TL;DR This is a super-mega-awesome HTML based web browser to surf the interwebs… in ComputerCraft.
Download
Client (you probably want this): pastebin get VDUGPdiA quest
Wi-Fi Server: pastebin get qpWzu0HA questserver
Be aware, this is still kinda buggy.
Screenshots
If you make any awesome websites let me know, I might but them here!The Hub homepage.
A 'The Hub' search results page.
The interface for editing your Quest Host site.
The registration page for Quest Host.
The Wi-Fi server settings page.
The Wi-Fi server log interface.
The Overly Verbose Backstory and Details
Since I started making OneOS I wanted to make a web browser that would actually work like your standard web browser. It would display pages off the internet in some form of HTML. Firewolf and similar programs are good, but you have to do everything in Lua and you have to run it off an in-game sever (at least I think, I haven't really used them that much). Some of them also use Pastebin which really isn't ideal.
It doesn't support full HTML pages, it's simply not possible due to the screen limitations. But the customised version is very close to the real thing. Here's a few of the notable things it does support:
- Embedded images
- Links (both absolute and relative)
- Session persistence (i.e. cookies or being able to login, etc)
- Forms (text boxes, buttons, etc.)
- Embedded Lua with a jQuery like API
The first is called 'The Hub'. At this stage it's a pretty barebones (but still neat) search engine, but it will eventually hopefully become a bit more of a hub for everything with news, etc.
The second is called 'Quest Host'. Basically it allows you to easily host your own static (i.e. no PHP) web pages with your own domain. Any site hosted on Quest Host uses the .qst TLD. So, if you're site is called 'mygames' it will be found at 'mygames.qst'.
You can also host a server over Wi-Fi, like you could using Rednet with Firewolf. At the moment they're only static pages, but I might make a PHP type language for it (or someone else could, nudge nudge wink wink :P/>). Each server has it's own name, such as basesite, and you can then go to wifi://basesite to access it.
More Rambling/Known Issues
Quest Host is a little annoying to use at the moment, but you don't have to use it. If you've got a web server on the internet (use 000webhost if you don't) you can host a site easily.
The Hub search engine isn't amazing really. I'm fairly happy with it, but it's no where near as good as Google.
Everything is probably super buggy, please let me know about any bugs you find.
This will be added to OneOS 1.3 when it's stable enough.