Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SURF the internet..? #311

Open
codeartisticninja opened this issue Sep 24, 2017 · 4 comments
Open

SURF the internet..? #311

codeartisticninja opened this issue Sep 24, 2017 · 4 comments
Labels
discussion Issues with no clear action or preferred solution SURF

Comments

@codeartisticninja
Copy link

codeartisticninja commented Sep 24, 2017

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 :)

@nesbox nesbox added the discussion Issues with no clear action or preferred solution label Sep 25, 2017
@nesbox
Copy link
Owner

nesbox commented Sep 25, 2017

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

@codeartisticninja
Copy link
Author

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"/>

@darkhog
Copy link

darkhog commented Sep 27, 2017

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.

@codeartisticninja
Copy link
Author

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..

@Anrock Anrock added the SURF label Nov 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Issues with no clear action or preferred solution SURF
Projects
None yet
Development

No branches or pull requests

4 participants