> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hayami.moe/llms.txt
> Use this file to discover all available pages before exploring further.

# Custom websites

> How to configure custom websites (that is websites that aren't already provided out-the-box) with Hayami.

<Frame>
  <img src="https://mintcdn.com/hayami/qEyR_zxOUdIwzUZr/images/customWebsite_pageWelcomer-2.png?fit=max&auto=format&n=qEyR_zxOUdIwzUZr&q=85&s=bfe0f3b13aeaf17122504d1797bb2aa5" alt="Custom Website Page Welcomer" width="1200" height="400" data-path="images/customWebsite_pageWelcomer-2.png" />
</Frame>

Hayami has support for [some websites](/getting-started#all-done-from-there) out-of-the-box, but due to the plethora of rapidly-growing online forums, communities, and anime streaming websites globally, Hayami may not support *everything* at once. But, with custom websites, any site can support Hayami, setup by you.

## How to configure custom websites with Hayami

Right click on the website you want to map to Hayami, and click "Map this site to Hayami". If Hayami doesn't have permission to access the site, you may get a popup requesting this permission. If you do, click 'Allow'.

<Frame>
  <img src="https://mintcdn.com/hayami/mBxFhz2wwUMQQnxu/images/image-4.png?fit=max&auto=format&n=mBxFhz2wwUMQQnxu&q=85&s=b137a406a518ede579559276eecb2de2" alt="Image" title="Image" className="mx-auto" style={{ width:"34%" }} width="613" height="841" data-path="images/image-4.png" />
</Frame>

You should be faced with the 'Map this site to Hayami' prompt, allowing you to configure many features. You'll need to choose *how* you want Hayami to mount onto the site.

### Choosing your mapping mode

<Frame>
  <img src="https://mintcdn.com/hayami/xCP-ZqR0V6oFtZlb/images/image-73.png?fit=max&auto=format&n=xCP-ZqR0V6oFtZlb&q=85&s=78018c7d6e9a81bc6325601290692944" alt="Image" width="1945" height="260" data-path="images/image-73.png" />
</Frame>

See how each rendering mode performs down below.

<Tabs>
  <Tab title="Below element">
    **Below element**: This puts the Hayami comments section ***below*** such element. You might want to put it below an existing comments section, below a title on the page, or just literally at the end of the page (HTML "body"). Choice is yours. An example is shown on below on a simulated anime platform example with just a video player with nothing on-page. There are many other use-cases this mode works effectively.

    <Frame>
      <img src="https://mintcdn.com/hayami/xCP-ZqR0V6oFtZlb/images/mapsitetohayami_showcase-ezgif.com-optimize-2.gif?s=29e2dfdd645bc6cefd412d390eb5dc36" alt="Mapsitetohayami Showcase Ezgif Com Optimize" width="3168" height="1566" data-path="images/mapsitetohayami_showcase-ezgif.com-optimize-2.gif" />
    </Frame>
  </Tab>

  <Tab title="Insert inline">
    **Insert inline**: This puts Hayami ***inside*** such element. There are varying use cases for this depending on site layouts. Hayami works this way on Crunchyroll, situated where the site's comments used to go, simulating a familiar feel.

    <Frame>
      <img src="https://mintcdn.com/hayami/f7pIabYSxL87cryr/images/image-42.png?fit=max&auto=format&n=f7pIabYSxL87cryr&q=85&s=67901399dc4e2026e7623228550ea0ab" alt="Image" width="3199" height="1327" data-path="images/image-42.png" />
    </Frame>
  </Tab>

  <Tab title="Replace element">
    **Replace element**: This *replaces* the chosen element with Hayami's comment section. You might want to use this if there's an element on-page you don't interact with, but would be perfect to mount Hayami. In the example below, where the comments section *used to be* there now is the Hayami comments section. Of course, you may still want to see the site's comments, so you could choose another element, or head over to icon/text trigger or popup mode instead.

    <Frame>
      <img src="https://mintcdn.com/hayami/f7pIabYSxL87cryr/images/image-41.png?fit=max&auto=format&n=f7pIabYSxL87cryr&q=85&s=9ee3622217be59c1bc887c9e514a48b0" alt="Image" width="1618" height="775" data-path="images/image-41.png" />
    </Frame>
  </Tab>

  <Tab title="Popup only">
    **Popup only**: This shows a floating Hayami icon on-site, and on-click, shows a popup of the Hayami comments section. As per the example below, the floating Hayami widget sits floating, and on-click opens the UI as a popup.

    <Frame>
      <img src="https://mintcdn.com/hayami/f7pIabYSxL87cryr/images/image-39.png?fit=max&auto=format&n=f7pIabYSxL87cryr&q=85&s=01574c39051ac9ef92f4bb1b389c3632" alt="Image" title="Image" className="mx-auto" style={{ width:"71%" }} width="2126" height="1172" data-path="images/image-39.png" />
    </Frame>

    <Frame>
      <img src="https://mintcdn.com/hayami/f7pIabYSxL87cryr/images/image-40.png?fit=max&auto=format&n=f7pIabYSxL87cryr&q=85&s=7aa12cbabbc82a6e49714fee115b9db0" alt="Image" width="2099" height="1632" data-path="images/image-40.png" />
    </Frame>
  </Tab>

  <Tab title="Icon/text trigger">
    **Icon/text trigger**: This mode allows interchangeable switching between the site's comments and Hayami's comments, intertwining with the site's styles to make it appear natural. "Interchangeable" means it can swap out the site's comments with Hayami's (and vice-versa), or, allow popup mode on-click (instead of a floating icon). This "interchangeable" feature can be triggered via an icon-click or text-click. Icon-click is intended for full-screen video player websites (i.e. Netflix), and text-click is intended for sites that have an embedded video player with other elements surrounding it.

    This mode requires a bit more setup, but is worth it, depending if this is how you want Hayami to look on your given website. An example GIF is below on-use on Bilibili for replace mode.

    <Frame>
      <img src="https://mintcdn.com/hayami/f7pIabYSxL87cryr/images/icontext_mode_replcomm.gif?s=4c0d288bb9f35591082726b548c51885" alt="Icontext Mode Replcomm" width="3168" height="1587" data-path="images/icontext_mode_replcomm.gif" />
    </Frame>
  </Tab>
</Tabs>

Once you've made your selection, select it, and continue on with the guide.

### How to choose anime title and episode

Choosing the anime title and episode selector can vary by site, but Hayami should make it fairly straightforward. You can do this either via manually selecting it.

**Anime title selector**: Click 'Pick' and choose the name of the anime on the site.

<Frame>
  <img src="https://mintcdn.com/hayami/mBxFhz2wwUMQQnxu/images/image-6.png?fit=max&auto=format&n=mBxFhz2wwUMQQnxu&q=85&s=f363b93d48989082185a41be3e8ed096" alt="Image" width="1043" height="234" data-path="images/image-6.png" />
</Frame>

**Episode selector**: Choose the episode number on the page. Refrain choosing elements added by other extensions (e.g. MAL-Sync).

<Frame>
  <img src="https://mintcdn.com/hayami/mBxFhz2wwUMQQnxu/images/image-7.png?fit=max&auto=format&n=mBxFhz2wwUMQQnxu&q=85&s=3d4595c5dafb9b692a348194c22f1bab" alt="Image" width="915" height="261" data-path="images/image-7.png" />
</Frame>

For popup only, no extra configuration required, your all done from here.

### Setting mount selector, and side padding

For all the other modes, one last step: you need to configure the rest.

<Frame>
  <img src="https://mintcdn.com/hayami/xCP-ZqR0V6oFtZlb/images/image-74.png?fit=max&auto=format&n=xCP-ZqR0V6oFtZlb&q=85&s=70608f333a44d1b3cb71b90f51a6ed0a" alt="Image" width="1974" height="703" data-path="images/image-74.png" />
</Frame>

**Mount selector**: Where comments should appear or icon should sit. You can put "body" to append Hayami to the end of the page, if desired.

**Display target**: This can be ignored.

**Side padding**: How much y-padding is added to each side of the Hayami comments section. I'd recommend 240 side padding, but you can adjust how you wish.

After clicking "Save & Embed" (might also need a page refresh), the comments section should be successfully embedded.

## Configuring for metadata-less player site layouts

This is an advanced use-case that Hayami does support, but requires a bit of fiddling. You can read more on how to setup your site on [this page >](/custom-websites-advanced)

## How to import & export custom website mappings

You can export individual custom site mappings by clicking on Hayami, navigating to:\
**Settings > Custom websites >** <Icon icon="circle-info" />  **info icon on website you want to export > Export**

<Frame>
  <img src="https://mintcdn.com/hayami/QUJfUfTUA4JoXBss/images/image-60.png?fit=max&auto=format&n=QUJfUfTUA4JoXBss&q=85&s=a1bbd5598702ff7fd908d21f0a9df2b3" alt="Image" title="Image" className="mx-auto" style={{ width:"58%" }} width="825" height="789" data-path="images/image-60.png" />
</Frame>

You can also, instead of individually exporting websites, click 'Export all', exporting all custom mappings you've created into one importable file.

<Frame>
  <img src="https://mintcdn.com/hayami/xCP-ZqR0V6oFtZlb/images/image-72.png?fit=max&auto=format&n=xCP-ZqR0V6oFtZlb&q=85&s=721a405ec9434d2bc817001ba040f962" alt="Image" title="Image" className="mx-auto" style={{ width:"61%" }} width="838" height="645" data-path="images/image-72.png" />
</Frame>

You can share this custom mapping file for others to import if desired. Once you've imported a new custom website mapping, you may notice the Hayami extension with a (!) badge.

<Frame>
  <img src="https://mintcdn.com/hayami/mBxFhz2wwUMQQnxu/images/image-8.png?fit=max&auto=format&n=mBxFhz2wwUMQQnxu&q=85&s=76676502e3102a6cdb3a63448c5a1a57" alt="Image" width="151" height="78" data-path="images/image-8.png" />
</Frame>

This indicates you need to allow the extension permission to access the site as a host. Open the Hayami popup, you should see a prompt to allow those permissions.

<Frame>
  <img src="https://mintcdn.com/hayami/mBxFhz2wwUMQQnxu/images/Screenshot2026-03-13161701.png?fit=max&auto=format&n=mBxFhz2wwUMQQnxu&q=85&s=69006adb1cc7a8bf8904ff28d73d8ed3" alt="Screenshot 2026 03 13 161701" width="430" height="442" data-path="images/Screenshot2026-03-13161701.png" />
</Frame>

## How to sync with custom website mappings

Community members who have combined multiple mappings into one may update their mappings regularly as a visitor of many sites and forums. You can import this JSON directly via the import feature, or you can keep up-to-sync all the time if you desire.

If you want to sync regularly with a mapping source, you can do so by going to:\
**Hayami settings > Custom websites > Custom Sites Sync > New source**, and adding the URL to the sync location.

<Frame>
  <img src="https://mintcdn.com/hayami/yC1f9oOH-xLsS1oh/images/image-70.png?fit=max&auto=format&n=yC1f9oOH-xLsS1oh&q=85&s=8bae74c48ee9699bcec0c1b168ffa456" alt="Image" title="Image" className="mx-auto" style={{ width:"50%" }} width="787" height="1081" data-path="images/image-70.png" />
</Frame>

## How to make your own custom website sync location

### Automatically managed by Hayami

Hayami has GitHub Gist/GitLab Snippet auto-publishing functionality for custom sites, automatically syncing the sites you want to share. Setting it up and sharing your configurations with others is extremely easy to do.

<Steps>
  <Step title="Connect GitHub/GitLab: Hayami > Settings > Custom websites > Publish Custom Sites">
    This screen should expose you to two possible connections: GitHub or GitLab. Choose whatever one you prefer. If unsure, I'd recommend GitHub for an easier setup experience. Connect your account, and when finished, it should show logged in and ready to go.

    <Frame>
      <img src="https://mintcdn.com/hayami/mm_iRND2ALoNM4_Y/images/image-89.png?fit=max&auto=format&n=mm_iRND2ALoNM4_Y&q=85&s=5724fb8a75c7ab94faa1bb5db2cfe843" alt="Image" title="Image" className="mx-auto" style={{ width:"52%" }} width="896" height="1166" data-path="images/image-89.png" />
    </Frame>
  </Step>

  <Step title="Click 'New collection', give it a name and choose what to share, then hit Publish">
    Give your mapping a name, and choose if you want to share all current + future mappings with others, *just* all current mappings, or you can individually choose and curate the collection for specific sites, if you want. When you're done, hit Publish.

    <Frame>
      <img src="https://mintcdn.com/hayami/mm_iRND2ALoNM4_Y/images/image-91.png?fit=max&auto=format&n=mm_iRND2ALoNM4_Y&q=85&s=d81fc54ad08a0fa652aedcff95900328" alt="Image" title="Image" className="mx-auto" style={{ width:"64%" }} width="749" height="539" data-path="images/image-91.png" />
    </Frame>
  </Step>

  <Step title="Copy that link. You can then share it with others for them to sync to.">
    You now have a sharable link to share with others. They go to the exact same place within Hayami, but to Custom Sites Sync (not Publish Custom Sites). Whoever wants to sync to your source adds that link as a source, accepts permissions for those sites on their end, then they're good to go.

    If in-future you decide to do further mappings to Hayami, there may be a delay before Hayami in the background publishes those changes. You can click 'Republish' manually if you want to force a publish right away.

    <Frame>
      <img src="https://mintcdn.com/hayami/mm_iRND2ALoNM4_Y/images/Screenshot-2026-04-16-010116.png?fit=max&auto=format&n=mm_iRND2ALoNM4_Y&q=85&s=ac01897b43d45a0181d62a43ba6971f0" alt="Screenshot 2026 04 16 010116" title="Screenshot 2026 04 16 010116" className="mx-auto" style={{ width:"73%" }} width="750" height="546" data-path="images/Screenshot-2026-04-16-010116.png" />
    </Frame>
  </Step>
</Steps>

### Manually managing, and uploading mappings yourself

Using the above guide on importing/exporting your custom-made Hayami mappings, you can then make your own sync to share with others in the community by doing the following:

<Steps>
  <Step title="Export all the custom sites you want to export via Hayami custom websites.">
    Click on the info icon on each individual site, and export the sites you want to merge into one configuration intended for sync. If you intend to share *all* of your mappings, click 'Export all' to export all your mappings.
  </Step>

  <Step title="Merge all of these site mapping files into a single one using Hayami's site merger.">
    *If you clicked 'Export all' and don't plan to add any more sites, skip this step.*

    Using Hayami's custom site merger ([https://custom-site-merger.hayami.moe/](https://custom-site-merger.hayami.moe/)), upload all of your site mapper configurations (it's processed locally), and export them as one config by clicking 'Download JSON'.

    The importer also supports expanding mappings (e.g. if you clicked 'Export all', or you've already got exported mappings),  you can import that file in-future on-top of other mappings communities have made to expand it if desired.

    <Frame>
      <img src="https://mintcdn.com/hayami/QUJfUfTUA4JoXBss/images/image-61.png?fit=max&auto=format&n=QUJfUfTUA4JoXBss&q=85&s=7f7604d64bc34a37152794bdf7d0a8d0" alt="Image" width="3165" height="1718" data-path="images/image-61.png" />
    </Frame>
  </Step>

  <Step title="Upload this JSON to a Gist site, Pastebin, or web host - which you can edit.">
    GitHub Gist ([https://gist.github.com/](https://gist.github.com/)) will be used in the following example. Drag to import your exported JSON directly into GitHub Gist, or open up your JSON and just copy and paste it directly.

    <Frame>
      <img src="https://mintcdn.com/hayami/QUJfUfTUA4JoXBss/images/githubgist_mappingsyncsave.gif?s=beea3320a9ce23d4f8b5ddc5a4361fb3" alt="Githubgist Mappingsyncsave" width="3168" height="1702" data-path="images/githubgist_mappingsyncsave.gif" />
    </Frame>

    Then click 'Create secret gist', which should create the Gist successfully.
  </Step>

  <Step title="Click 'Raw' to get the URL to share with others, then change out the URL slightly.">
    <Frame>
      <img src="https://mintcdn.com/hayami/QUJfUfTUA4JoXBss/images/image-62.png?fit=max&auto=format&n=QUJfUfTUA4JoXBss&q=85&s=4741fcf5882c9ee6eb587aeb30d72559" alt="Image" width="2074" height="541" data-path="images/image-62.png" />
    </Frame>

    <Frame>
      <img src="https://mintcdn.com/hayami/QUJfUfTUA4JoXBss/images/image-63.png?fit=max&auto=format&n=QUJfUfTUA4JoXBss&q=85&s=384e0db02243bac092e89bff08b94cfb" alt="Image" width="2591" height="246" data-path="images/image-63.png" />
    </Frame>

    The portion *after* /raw would mean we'd only sync to this version everytime, no matter if you update it. We don't want that. Remove everything *after* /raw, so it looks like this.

    <Frame>
      <img src="https://mintcdn.com/hayami/QUJfUfTUA4JoXBss/images/image-66.png?fit=max&auto=format&n=QUJfUfTUA4JoXBss&q=85&s=0db467211adaab8488df2778471545d0" alt="Image" width="1068" height="66" data-path="images/image-66.png" />
    </Frame>

    This URL can be shared with others to sync their custom sites with your mappings.
  </Step>

  <Step title="Whenever you wish to edit your mapping, just click Edit.">
    <Frame>
      <img src="https://mintcdn.com/hayami/QUJfUfTUA4JoXBss/images/image-65.png?fit=max&auto=format&n=QUJfUfTUA4JoXBss&q=85&s=c3524b0ccfc4b6632d7331859bddd88f" alt="Image" width="2745" height="420" data-path="images/image-65.png" />
    </Frame>

    Edit your mapping, hit save, and it'll sync across to others as well whenever their weekly sync is due. Or you can tell your community you've updated it, and they can manually click 'Sync now' if they prefer.
  </Step>
</Steps>
