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

Make client launchable from the browser given a special link #1478

Closed
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
2 participants
@needs
Copy link
Contributor

needs commented Oct 2, 2016

It's the exact same mechanism than mailto:foo@bar.com links, adapted to
teeworlds. Such links looks like:

teeworlds:1.2.3.4:8300
teeworlds:localhost

Browsers may require extra configuration to be able to open them.

Once everything is set up, clicking on a link in any webpage will prompt
the user to pick an application to open it. Choosing (a compatible)
teeworlds client will launch it and automatically connect it to the given
address.

Behind the scene, the browser will run the client with only one
argument: the full address. Hence it is the same than running the
teeworlds client with the following command line:

teeworlds "teeworlds:1.2.3.4:8300"

The rational for this change is to allow websites like teerank.com,
teeworlds-stats.info, and others to provide a link to directly connect
to a server. Users or webpages could also link a server.

Make client launchable from the browser given a special link
It's the exact same mechanism than mailto:foo@bar.com links, adapted to
teeworlds.  Such links looks like:

	teeworlds:1.2.3.4:8300
	teeworlds:localhost

Browsers may require extra configuration to be able to open such
links[1].

Once everything is set up, clicking on a link in any webpage will prompt
the user to pick an application to open the link.  Choosing (a
compatible) teeworlds client will open it and automatically connect it
to the given address.

Behind the scene, the browser will run the client with only one
argument: the full address.  Hence it is the same than running the
teeworlds client with the following command line:

	teeworlds "teeworlds:1.2.3.4:8300"

The rational for this change is to allow websites like teerank.com,
teeworlds-stats.info, and others to provide a link to directly connect
to a server.  Also users or webpages could also link a server.

[1]: http://kb.mozillazine.org/Register_protocol
@oy

This comment has been minimized.

Copy link
Member

oy commented Dec 10, 2017

Added.

@oy oy closed this Dec 10, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment