Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

scripting/1999client

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Client for 1999.io

Important note: There's a more recent version of this app as part of the 1999-project repository. I'm leaving this here as documentation. DW 4/17/2016.

1999.io is my new liveblogging project. It's the software I use to edit Scripting News. When you reply to a post on my blog you are using 1999.io.

The server is running a recent version of nodeStorage. It provides simple storage services for browser-based JavaScript apps, using Twitter-hosted identity.

nodeStorage has a WebSockets interface, which we use in this app to get a stream of updates from the server.

I wrote a blog post that explains why I provided this app, and an overview of how to test it.

Demo app

The demo app is a copy of client.html above.

Details

Every time the server updates you get a message.

The first line of the message has the world update followed by a \r. This makes it possible for other kinds of data to be returned at some time in the future.

Following the first line is a JSON structure containing all the information about a top-level message.

Here's an example of such a structure. It's the JSON source for this post.

You can view the JSON structure for any post.

Updates

v0.44 -- rewritten to work with new WebSockets code in nodeStorage, not yet released.

v0.45 -- use the new 1999.io server, node2.1999.io.

About

A client app for 1999.io, in JavaScript, using WebSockets.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.