AnkiWeb
- Rating
- 2 (π 2 Β· π 0)
- Updated
- 2024-12-17
- Anki versions
- 2.1.1~
- Description language
- en
AnkiWeb addon 1301163260
Hosts a static web interface on port 7227 automatically, with access through a Tools menu option.
Open on AnkiWeb GitHub Ask about alternatives
active
| Min Anki | Max Anki | Updated |
|---|---|---|
| 2.1.1 | + | 2024-12-17 |
Loadingβ¦
Provides an Open WebUI-based sidebar for reviewing, enabling selected text to be sent to chat or custom prompts with configurable auto-send, temporary chats, and shortcuts.
Lets users easily run Anki's built-in self-hosted sync server over local Wi-Fi, auto-starting and closing with Anki for faster syncing.
Adds a side panel of customizable emoji bubbles in Ankiβs main window for one-click access to favorite websites or program paths.
Bridges Anki Desktop to an Apple Watch app over local Wi-Fi, letting users view answers, grade cards, undo, bury, and suspend during reviews.
Imports flash card questions from a self-hosted ebook highlight manager into Anki decks for spaced repetition review.
Provides searching, PDF reading, and note-taking in the add dialog, but the Qt6 port is broken as of Anki 25.04.
Please note that texthooker-ui is currently not actively worked on. Feel free to report further bugs / feature requests and / or open pull requests but don't expect (timely) responses on them
A web interface for using websocket-based interfaces, such as:
An online version of the page can be accessed here.
An offline version of the page can be downloaded from the docs folder (make sure to also download the assets folder and content in case you want to use some of the custom online fonts) or build locally by your own.
When facing connection issues check the FAQ for common issues like ad blocker extensions (uBlock) or wrong websocket urls.
Note: If you are interested in persistent statistics, history and additional mining capabitilies / workflows you may want to checkout GameSentenceMiner which runs a forked version of this web interface.
# Install pnpm
npm install --global pnpm
# Install dependencies
pnpm install
# Build the Page
pnpm run build
# Optional - serve the Page via local Server
pnpm run preview
The page can be opened via the index.html inside the "docs" folder and is usable without the need of hosting it via a server.
There are multiple ways of deleting a line:
Note: By default, the undo history is stored in memory only. If you want to keep it across tab reloads, make sure to enable the respective setting.
#pip-container p {color: red;} will only apply to paragraphs in the floating window and not the main window). Further customizations like exeeding height, transparency etc. is not possibleNote: The actions are only executed when settings/notes are closed, no (confirmation) dialog is displayed and no line is in edit mode.
| Keybind | Description |
|---|---|
| <kbd>Delete</kbd> | Deletes current highlighted lines on the page. |
| <kbd>Esc</kbd> | Deselects Lines. |
| <kbd>Alt</kbd> + <kbd>Delete</kbd> | Deletes last line if no lines are highlighted |
| <kbd>Alt</kbd> + <kbd>a</kbd> | Deletes all Lines and resets the Timer to 00:00:00. |
| <kbd>Alt</kbd> + <kbd>q</kbd> | Deletes all Lines. |
| <kbd>Alt</kbd> + <kbd>g</kbd> | Toggles Websocket Icon. |
| <kbd>Control</kbd> + <kbd>Space</kbd> | Toggles the Timer. |
The following section contains explanations and details on the settings you can configure. The settings can be accessed by clicking on the gear at the top right corner.
<details style="cursor: pointer;"> <summary>Settings List</summary>
| Setting | Description |
|---|---|
| Presets | Allows you to save the current Settings as a Preset and to quickly switch between them.<br/>Note: Changes to Settings needs to be manually saved to a Preset by clicking on the Save button. The Dialog to apply Settings to current Lines or Storage like "Store X persistently", "Prevent Last Line Duplicate", "Remove all Whitespace" etc. will not be triggered by switching between Presets. You can still execute them by toggling respective Setting. |
| Replacements | Allows you to configure (regex) patterns and replacements which are getting applied to new lines. See this documentation for more Information. You can change the order of patterns by holding down your mouse on the box and moving it to the item you want to swap the position with |
| Window Title | Lets you set the current document title. This can be used with Yomichan to tag your created cards (with the {document-title} marker). |
| Primary WebSocket | URL of the primary WebSocket to which you want to connect. |
| Secondary WebSocket | URL of the secondary WebSocket to which you want to connect. |
| Font Size | The font size, in number of pixels. |
| Character Milestone | Interval of Characters after which a milestone section will be inserted (< 2 = disabled) |
| Online Font | Lets you select a font from a predefined selection. An internet connection is required in order for this work. |
| Prevent Last Line Duplicate | This will prevent the insertion/pasting of a line if the text is equal to one of the last n configured lines. |
| Max lines | Sets the maximum number of lines allowed. Once the limit is reached, the oldest line is automatically removed when a new one is added. The feature is active only when the limit is greater than 0. Undo Action will enforce this setting on execution. |
| AFK Timer (s) | Number of seconds after which the timer will automatically pause without page interaction (no new line, text selection, or pointer move). |
| Adjust Timer after AFK | If enabled, the timer will be subtracted by the configured AFK Timer (s) value whenever the timer was paused due to no page interaction. |
| Enable external Clipboard Monitor | If enabled, this will allow the texthooker page to handle lines pasted by extensions like Clipboard Inserter or lap-clipboard-inserter. |
| Show Preset Quick Switch | If enabled and you have more than 2 preset stored, this will display a preset selector in the page header for quick access to your presets. |
| Skip Reset Confirmations | If enabled, reset / delete actions like "Reset Lines" will be immediately executed without asking for confirmation. |
| Store Stats persistently | If enabled, the stats (time, speed, etc.) will be stored in your local browser storage. This means the stats will be available after tab reloads, etc. |
| Store Notes persistently | If enabled, the text within the notes section will be stored in your local browser storage. |
| Store Lines persistently | If enabled, the inserted/pasted lines will be stored in your local browser storage. |
| Store Action History persistently | If enabled, the revertible actions will be stored in your local browser storage. |
| Enable Paste | If enabled, this will allow the user to manually paste new lines to the texthooker page (i.e. with ctrl+v). |
| Block Copy from Page | If enabled, this will block the next line insertion by an external clipboard monitor after copying text from the page |
| Allow Paste during Pause | If enabled, this will allow the page to paste new lines even with a paused timer. |
| Allow new Line during Pause | If enabled, this will allow the page to insert new lines from other sources than pasting even with a paused timer. |
| Autostart Timer by Paste during Pause | If enabled, the time will automatically re-start if it was paused and new lines were pasted. |
| Autostart Timer by Line during Pause | If enabled, the time will automatically re-start if it was paused and new lines were inserted by sources than pasting. |
| Prevent Global Duplicate | This is the same as "Prevent Last Line Duplicate", except the line is checked against the entire document. The line will not be inserted/pasted if it is found anywhere within the document. |
| Merge equal Line Start | If enabled, a new text line will be merged with the previous one in case it starts with the exact same content |
| Filter lines without jp content | If enabled, lines without any Japanese character or punctuation will be ignored and not added to the list of lines. |
| Flash on missed Line | If enabled, the page will flash every time a line is inserted/pasted if your timer is paused. These lines will be ignored from stats collection. |
| Display Text vertically | If enabled, the lines will be displayed vertically instead horizontally. |
| Reverse Line Order | If enabled, the new lines will be appended on top (horizontal mode) / left (vertical mode) instead of bottom / right respectively. |
| Preserve Whitespace | If enabled, all existing whitespace (such as spaces, new line characters, etc.) within the line will be fully displayed. If left disabled, newlines and multiple spaces in a row will be collapsed to a singular space. This has no effect if the whitespace is already removed (i.e. with the Remove all Whitespace option enabled). |
| Remove all Whitespace | If enabled, all whitespace will be removed from the lines before they are inserted into the page. |
| Show Timer | If enabled, the page will display the current passed (active) time in the header. |
| Show Speed | If enabled, the page will display the current characters per hour in the header. |
| Show Character Count | If enabled, the page will display the current number of displayed characters within the page. |
| Show Line Count | If enabled, the page will display the current number of inserted lines within the page. |
| Blur Stats | If enabled, the displayed stats will be blurred. These stats are unblurred on hover. |
| Enable Line Animation | If enabled, adds Lines with a short animated Transition. |
| Enable AFK Blur | If enabled the screen will be blurred when the afk timer gets activated. You can exit by double clicking/tapping on the page. |
| Restart Timer after AFK Blur | If enabled the timer will automatically restart when you exit the afk blur mode. |
| Continuous Reconnect | If enabled, supresses Connection Error Messages and retries to connect to the Websocket Url continuously. |
| Custom CSS | Lets you insert custom CSS rules to customize the page further. |
</details>