Tic-80: SURF the internet..?

Created on 24 Sep 2017  路  4Comments  路  Source: nesbox/TIC-80

Might it be possible to get surf to access websites other than just tic.computer..?

Not necessarily like a HTML-browser, but just basic directory browsing on websites that have TIC-80 carts on them..

That way we might be able to create own little TIC-80 internet :)

SURF discussion

Most helpful comment

hmm, yes it's possible if you implement some API on your side
you can see how it looks here for example https://tic.computer/api?fn=dir&path=play/Games
and I could add mounted folders list to the _config_

All 4 comments

hmm, yes it's possible if you implement some API on your side
you can see how it looks here for example https://tic.computer/api?fn=dir&path=play/Games
and I could add mounted folders list to the _config_

We might have to standardize the api a bit.. It would also be nice if it didn't require any server-side code, but could work with a simple static webserver..

Perhaps SURF could discover a TIC-80 compatible page by looking for something like

<link rel="tic-80" type="application/json" href="my_games.json"/>

You mean, like a crawler? Nah, I think it'd better if it would just look for ticgames.json in the root of the site's directory in the same way browsers look for index.html if no specific file is provided in the url. That would make it even easier since you won't need to make custom html changes which may not be possible in your cms of choice, just plop a file with a specific name on the server.

Why not both..? It could start by looking for the <link rel="tic-80"> in the html, failing that it will look for tic80.json (or whatever) in the same directory..

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Spreit picture Spreit  路  4Comments

fangzhangmnm picture fangzhangmnm  路  3Comments

theFox6 picture theFox6  路  3Comments

frsgrn picture frsgrn  路  5Comments

Skaruts picture Skaruts  路  5Comments