A Cloudflare Worker script for the Houseki no Kuni community, using Cloudflare KV to redirect chapter numbers to MangaDex links, among a few other redirecting services.
Many routes have convenience aliases, displayed in the tables of each route. You are free to use any of the listed aliases as they’re functionally identical.
All routes are relative to the base URL https://hnk.rocks
.
Table of Contents
uselessphos
Discord emote/ |
Redirects to the MangaDex title page for Houseki no Kuni.
Usage: https://hnk.rocks
/c/[number] |
/chapter/[number] |
/chapters/[number] |
Redirects to the MangaDex reader for the chapter in question. If the chapter doesn’t exist, redirects to the MangaDex title page for Houseki no Kuni.
Requires providing a chapter number.
Parameters:
[number]
- integers or decimals (don’t add the brackets)Example: https://hnk.rocks/chapter/1
/p/[pageNumber] |
/page/[pageNumber] |
/pages/[pageNumber] |
Parameters:
[pageNumber]
- integers (don’t add the brackets)Redirects to the MangaDex reader at the given page for the chapter in question. If the chapter doesn’t exist, redirects to the MangaDex title page for Houseki no Kuni. If the page doesn’t exist, MangaDex will display the first page by default.
Requires providing a chapter number.
Example: https://hnk.rocks/chapter/1/page/2
/i |
Provides a specially formatted HTML response which will be rendered as an image embed of the specified page number.
Requires providing a chapter and a page number.
Example: https://hnk.rocks/chapter/1/page/2/i
/latest |
/newest |
/new |
Redirects to the latest released chapter as scanlated by the MangaDex user Tissal.
Note that this link will always redirect to the newest chapter, so it is not suitable as a permanent link to any one chapter.
Example: https://hnk.rocks/latest
/p/[pageNumber] |
/page/[pageNumber] |
/pages/[pageNumber] |
Redirects to the MangaDex reader at the given page for the latest released chapter as scanlated by the MangaDex user Tissal. If the page doesn’t exist, MangaDex will display the first page by default.
Parameters:
[pageNumber]
- integers (don’t add the brackets)Requires providing a page number.
Example: https://hnk.rocks/latest/page/1
/i |
Provides a specially formatted HTML response which will be rendered as an image embed of the specified page number.
Requires providing a page number.
Example: https://hnk.rocks/latest/page/1/i
/next |
Provides a countdown to the (estimated) next chapter release. The exact hours, minutes, and seconds aren’t perfectly accurate, but give a broad picture.
Supports Social Media link previews, so just sending the link to e.g. Discord will show the remaining time.
Usage: https://hnk.rocks/next
/since |
Provides a counter of the time elapsed since the last chapter was released, as scanlated by the MangaDex user Tissal.
Usage: https://hnk.rocks/since
/minimalist |
Redirects to the MangaDex title page for the Houseki no Kuni Minimalist Coloured version fan project.
Example: https://hnk.rocks/minimalist
/color |
/colored |
/colour |
/coloured |
Redirects to the MangaDex title page for the Houseki no Kuni Coloured version fan project.
Example: https://hnk.rocks/colour
uselessphos
Discord emote/uselessphos |
Shows the uselessphos
Discord Emote.
Usage: https://hnk.rocks/uselessphos
/feedback |
Redirects to a Google Form to provide feedback and bug reports about HnK.rocks.
Usage: https://hnk.rocks/feedback
/about |
Redirects to this Redirection Overview.
Usage: https://hnk.rocks/about
/fandub |
/fandub/playlist |
Redirects to the YouTube Playlist for the Houseki no Kuni Fandub Project.
Example: https://hnk.rocks/fandub
/fandub/e/[number] |
/fandub/episode/[number] |
/fandub/episodes/[number] |
Redirects to the YouTube video for the Fandub episode in question. If the episode doesn’t exist, redirects to the YouTube Playlist for the Fandub Project.
Parameters:
[number]
- integers (don’t add the brackets)Requires providing an episode number.
Example: https://hnk.rocks/fandub/episode/1
/stories-fandub |
/stories-fandub/playlist |
Redirects to the YouTube Playlist for the Ichikawa Short Stories Fandub project.
Example: https://hnk.rocks/stories-fandub
/stories-fandub/[work] |
Redirects to the YouTube video for the Ichikawa Short Stories Fandub episode in question. If the episode doesn’t exist, redirects to the YouTube Playlist for the Ichikawa Short Stories Fandub project.
Parameters:
[work]
- titles of works as described below (don’t add the brackets).Requires providing a work title.
/on-pandora
| /pandora
Example: https://hnk.rocks/stories-fandub/on-pandora
/other/[work] |
/etc/[work] |
Redirects to other works by Haruko Ichikawa. Not all links redirect to MangaDex, as not all works are available there.
Requires providing a work, see list below.
Parameters:
[work]
- titles of works as described below.All these work URLs are relative to https://hnk.rocks/other
or https://hnk.rocks/etc
.
/artbook |
/pseudomorph |
/pseudomorph-of-love |
Redirects to the Houseki no Kuni fandom wiki article with the Artbook.
Example: https://hnk.rocks/other/pseudomorph
/freedom |
/love-freedom |
/love-freedom-hell |
/vol10-extra |
Redirects to the Houseki no Kuni fandom wiki article with the Artbook. This includes the original Houseki no Kuni one-shot chapter.
Example: https://hnk.rocks/other/freedom
/one-shot |
/oneshot |
Redirects to the section of the Houseki no Kuni fandom wiki article with the Freedom Love Hell Artbook, which includes this one-shot chapter.
Example: https://hnk.rocks/other/one-shot
/lorebook |
/hnk-lorebook |
/vol11-extra |
Redirects to the Imgur post with the machine-translated, non-typeset version of the Volume 11 Lorebook extra.
Example: https://hnk.rocks/other/lorebook
/party |
/party-at-the-end |
/vol12-extra |
Redirects to the GitHub repository of the translated Volume 12 Extra book titled “Party at the End”.
Example: https://hnk.rocks/other/party
/25-ji-no-vacances |
/25-hour-vacation |
/vacances |
Redirects to the MangaDex chapter reader for the story “25 Hour Vacation” in the Haruko Ichikawa Anthology.
Example: https://hnk.rocks/other/vacances
/anthology |
/ichikawa-haruko-sakuhinshuu |
/sakuhinshuu |
Redirects to the MangaDex title page for the Haruko Ichikawa Anthology.
Example: https://hnk.rocks/other/anthology
/moshimo |
/moshimo-tokyo |
Redirects to the MangaDex title page for “Moshimo, Tokyo”, which includes a contribution by Haruko Ichikawa.
Example: https://hnk.rocks/other/moshimo
/mushi |
/mushi-to-uta |
Redirects to the MangaDex chapter reader for the story “Mushi to Uta” in the Haruko Ichikawa Anthology.
Example: https://hnk.rocks/other/mushi
/ouji |
/ouji-no-himitsu |
Redirects to the MangaDex title page for “Ouji no Himitsu”.
Example: https://hnk.rocks/other/ouji
/saegusa |
/saegusa-sensei |
Redirects to the MangaDex title page for “Saegusa-Sensei”.
Example: https://hnk.rocks/other/saegusa
/oembed |
oEmbed API to facilitate enhanced embedding of hnk.rocks
links. Only useful for the redirection
backend.
/latest
, /since
, and /next
/submit |
Protected Route. Used to add new chapter links and to update the /latest
, /since
, and /next
endpoints.
hnk.rocks made by @majortanya
on Discord.