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

URL shortener #820

Merged
merged 2 commits into from
Dec 15, 2024
Merged

URL shortener #820

merged 2 commits into from
Dec 15, 2024

Conversation

nwah
Copy link
Contributor

@nwah nwah commented Dec 14, 2024

Adds a simple URL shortener to the webserver, primarily for use with the new QR code encoding feature.

You are pretty limited in the amount of data you can encode in a QR code if it can only be 21x21, and this may be too short for many URLs. This URL shortener allows you to take an arbitrarily long URL and shorten to http://{fujinet_ip}/url/{id}.

For Atari, you can tell the QR encoder to shorten the supplied URL first by setting bit 4 on AUX2 (i.e. adding 16 to the desired error correction level).

@tschak909
Copy link
Collaborator

Thank you!

@tschak909 tschak909 merged commit f15b0c6 into FujiNetWIFI:master Dec 15, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants