explaingit

henan0o0/ao3-to-arxiv

Analysis updated 2026-05-18

17JavaScriptAudience · generalComplexity · 1/5Setup · easy

TLDR

Two Tampermonkey userscripts that restyle AO3 fan fiction pages to look like arXiv or bioRxiv academic papers, purely as a local visual change.

Mindmap

mindmap
  root((ao3-to-arxiv))
    What it does
      Restyles AO3 pages
      arXiv paper look
      bioRxiv PDF look
    Tech stack
      JavaScript
      Tampermonkey
    Use cases
      Read fic as a paper
      Change page zoom
      Toggle paper mode
    Audience
      AO3 readers
      Fandom fans

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Read AO3 fan fiction in an arXiv style two-column academic paper layout.

USE CASE 2

Read AO3 fan fiction as a bioRxiv style preprint PDF with line numbers.

USE CASE 3

Toggle paper mode and adjust zoom while browsing AO3 works and chapters.

What is it built with?

JavaScriptTampermonkey

How does it compare?

henan0o0/ao3-to-arxivajaxfnc-yt/d.w.i.falanhuang168/ai-project-workflow
Stars171717
LanguageJavaScriptJavaScriptJavaScript
Setup difficultyeasymoderateeasy
Complexity1/52/53/5
Audiencegeneraldeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Requires installing a userscript manager like Tampermonkey first.

No license information is provided in the README.

In plain English

This project is a pair of browser userscripts that change how AO3 (Archive of Our Own, a large fan fiction site) work pages look on screen, turning them into something that resembles an academic paper. Nothing about the underlying story or the site itself changes: the scripts only alter the visual display inside your own browser. There are two styles to choose from. The first mimics the look of an arXiv paper, with a title block, author line, abstract area, and a two column layout split across simulated pages, complete with a running header, page numbers, and a date stamp down the side of each page. The second mimics a bioRxiv preprint PDF instead, using a single column with double spacing, a preprint notice banner at the top of each page, continuous line numbers down the margin, and links to the previous or next chapter at the bottom. Both scripts require a userscript manager, with Tampermonkey recommended, and are installed by pasting the script's code into a new Tampermonkey entry. Once installed, visiting an AO3 work page shows a small toolbar in the corner that lets you toggle the paper view on or off, zoom in and out, and reset the zoom level, with matching keyboard shortcuts available as well. The scripts also work on a couple of AO3 mirror sites, though the author encourages using the main AO3 site when possible to support the platform and its authors. Because everything runs locally in the browser, the scripts make no network requests, do not track reading activity, and do not save or copy any part of a work outside the page you are viewing. The only thing stored is a small amount of local browser state, like whether paper mode is turned on and your current zoom level. The author is explicit that this is only a visual reading tool with no affiliation to AO3, its parent organization, arXiv, or bioRxiv, and that it grants no rights to copy, repost, or redistribute anyone's work. The README notes that pagination is only an estimate based on how the browser lays out text, so results can vary slightly depending on browser, zoom, and the specific work's formatting. The code and documentation were written with help from ChatGPT and Claude.

Copy-paste prompts

Prompt 1
Walk me through installing this userscript with Tampermonkey step by step.
Prompt 2
Explain the difference between the arXiv style and bioRxiv style readers in this project.
Prompt 3
Show me which parameters to change in ao3toarxiv.js to adjust font size and page width.
Prompt 4
Help me troubleshoot why the paper mode toolbar button is not appearing on an AO3 page.

Frequently asked questions

What is ao3-to-arxiv?

Two Tampermonkey userscripts that restyle AO3 fan fiction pages to look like arXiv or bioRxiv academic papers, purely as a local visual change.

What language is ao3-to-arxiv written in?

Mainly JavaScript. The stack also includes JavaScript, Tampermonkey.

What license does ao3-to-arxiv use?

No license information is provided in the README.

How hard is ao3-to-arxiv to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is ao3-to-arxiv for?

Mainly general.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.