Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
UNOFFICIAL standard module for Cosense UserScript
Add an event listener to the #text-input element with automatic re-registration
Anchor FM Embed Node Represents an Anchor FM podcast episode embed. Extracts the episode ID from Anchor FM URLs to enable podcast episode playback directly within Scrapbox pages.
Retrieves the current cursor position and text selection information
Cursor information contained within the React Component that builds #text-input
Emulate click event sequences
Function type for creating commits to be pushed
connect to websocket
Delete a specified page whose title is title from a given project
Disconnect the websocket
Encode a title into a URI-safe format
Export all pages from a Scrapbox project
Extract code blocks from scrapbox.Page.lines
Requests a cache update for the specified API
Retrieves the latest response from the cache storage managed by scrapbox.io
Get the timestamp when a response was cached by the ServiceWorker
Retrieve text content from a specified code block
Extract all code blocks from a Scrapbox page
Retrieve the CSRF token for secure requests
Retrieve an OAuth access token for uploading images to Gyazo
Get the number of indented lines under the specified line
Get the line id from value
Get the line number from value
Retrieve link data from a specified Scrapbox project
Retrieves JSON data for a specified page
Get detailed information about a Scrapbox project
Retrieve a specific version of a page from its snapshot history
Retrieve a specified table in CSV format from a Scrapbox page
Retrieves the timestamp IDs for a specific page in a project.
Retrieve information about a specified Tweet
Retrieve the title of a web page through Scrapbox's server
Move cursor to a specific character position
Move to the end of line
Move to the last non-whitespace character
Move to the start of line
Move to the start of the first line
Move to the start of line excluding indentation
Move to the end of the last line
Move to the end of a specified line
Emulate long tap event sequence
Import pages into a Scrapbox project
Error that occurs when an invalid followingId is provided for pagination
Error that occurs when an invalid timestampId is provided to getSnapshot
Subscribe to WebSocket events from Scrapbox
Lists pages from a specified project
List information for multiple Scrapbox projects
Function used in patch to generate a patch from the current page state
Move the cursor down using ArrowDown key
Move the cursor left using ArrowLeft key
Move the cursor right using ArrowRight key
Move the cursor up using ArrowUp key
Open a page
Open a page in the same tab
Represents the state of a page-to-page navigation Used to track navigation between two specific pages within Scrapbox
Represents the state when navigating from search results to a specific page Used to track navigation that originates from a full-text search
Parse external link syntax from scrapbox-parser into specific embed types
Modify an entire Scrapbox page by computing and sending only the differences
Pin a Scrapbox page to keep it at the top of the project
Calculate a pin number for sorting pinned pages
Executes prefetch operations for specified API URLs
Dispatches a keyboard event programmatically via JavaScript
Push changes to a specific page using WebSocket
Comprehensive error type for push operations
Registers the page transition state and enables automatic scrolling to the linked content This function stores navigation context in localStorage, which is used to determine where to scroll on the next page load. This is particularly useful for maintaining context when users navigate between related pages or from search results.
Retrieve all link data from a specified project one by one
Retrieve all link data from a specified project in bulk
Replaces all links within the specified project
Convert underscores (_) to single-byte spaces ( )
Saves a response to the REST API cache storage managed by scrapbox.io
A pre-configured Socket type for Scrapbox
Scroll one page down using PageDown key
Scroll half a page down
Scroll half a page up
Scroll one page up using PageUp key
Search across all projects that the user has joined
Search for pages within a specific project
Search within a list of watched projects
Interface for specifying code block content and metadata for updates
Union type of all possible errors that can occur when retrieving a page snapshot
Union type of all possible errors that can occur when retrieving snapshot timestamp IDs
Get a reference to Scrapbox's internal page content data
Retrieve Scrapbox's internal cursor and selection stores from the DOM
Convert a title to a URI-safe format while minimizing percent encoding
Convert a string to titleLc format
Unpin a Scrapbox page, removing it from the pinned list
Update the content of a code block in a Scrapbox page
Update or create code blocks in a Scrapbox page via REST API
Configuration options for updateCodeFile function
Upload any file to scrapbox.io
Get a section of the status bar and return functions to manipulate it
Add an event listener to the #text-input element with automatic re-registration
Retrieves the current cursor position and text selection information
Cursor information contained within the React Component that builds #text-input
Emulate click event sequences
Function type for creating commits to be pushed
connect to websocket
Delete a specified page whose title is title from a given project
Disconnect the websocket
Extract code blocks from scrapbox.Page.lines
Requests a cache update for the specified API
Retrieves the latest response from the cache storage managed by scrapbox.io
Get the number of indented lines under the specified line
Get the line id from value
Get the line number from value
Move cursor to a specific character position
Move to the end of line
Move to the last non-whitespace character
Move to the start of line
Move to the start of the first line
Move to the start of line excluding indentation
Move to the end of the last line
Move to the end of a specified line
Emulate long tap event sequence
Subscribe to WebSocket events from Scrapbox
Function used in patch to generate a patch from the current page state
Move the cursor down using ArrowDown key
Move the cursor left using ArrowLeft key
Move the cursor right using ArrowRight key
Move the cursor up using ArrowUp key
Open a page
Open a page in the same tab
Represents the state of a page-to-page navigation Used to track navigation between two specific pages within Scrapbox
Represents the state when navigating from search results to a specific page Used to track navigation that originates from a full-text search
Modify an entire Scrapbox page by computing and sending only the differences
Pin a Scrapbox page to keep it at the top of the project
Calculate a pin number for sorting pinned pages
Executes prefetch operations for specified API URLs
Dispatches a keyboard event programmatically via JavaScript
Push changes to a specific page using WebSocket
Comprehensive error type for push operations
Registers the page transition state and enables automatic scrolling to the linked content This function stores navigation context in localStorage, which is used to determine where to scroll on the next page load. This is particularly useful for maintaining context when users navigate between related pages or from search results.
Saves a response to the REST API cache storage managed by scrapbox.io
A pre-configured Socket type for Scrapbox
Scroll one page down using PageDown key
Scroll half a page down
Scroll half a page up
Scroll one page up using PageUp key
Interface for specifying code block content and metadata for updates
Get a reference to Scrapbox's internal page content data
Retrieve Scrapbox's internal cursor and selection stores from the DOM
Unpin a Scrapbox page, removing it from the pinned list
Update the content of a code block in a Scrapbox page
Update or create code blocks in a Scrapbox page via REST API
Configuration options for updateCodeFile function
Get a section of the status bar and return functions to manipulate it
Add an event listener to the #text-input element with automatic re-registration
Retrieves the current cursor position and text selection information
Cursor information contained within the React Component that builds #text-input
Emulate click event sequences
Class for managing cursor operations in the Scrapbox editor
- blur
- clear
- data
- emitScroll
- fixPosition
- focus
- focusTextarea
- getNextLineHead
- getPosition
- getPrevLineTail
- getVisible
- getWordHead
- getWordTail
- goBackward
- goBottom
- goByAction
- goDown
- goForward
- goLeft
- goLineHead
- goLineTail
- goPageDown
- goPageUp
- goRight
- goTop
- goUp
- goWordHead
- goWordTail
- hasFocus
- hide
- hidePopupMenu
- isAtLineHead
- isAtLineTail
- lines
- page
- setPosition
- show
- showEditPopupMenu
- startedWithTouch
- sync
- syncNow
- temporalHorizontalPoint
- updateTemporalHorizontalPoint
- visible
- visiblePopupMenu
Extract code blocks from scrapbox.Page.lines
Requests a cache update for the specified API
Retrieves the latest response from the cache storage managed by scrapbox.io
Get the number of indented lines under the specified line
Get the line id from value
Get the line number from value
Move cursor to a specific character position
Move to the end of line
Move to the last non-whitespace character
Move to the start of line
Move to the start of the first line
Move to the start of line excluding indentation
Move to the end of the last line
Move to the end of a specified line
Emulate long tap event sequence
Move the cursor down using ArrowDown key
Move the cursor left using ArrowLeft key
Move the cursor right using ArrowRight key
Move the cursor up using ArrowUp key
Open a page
Open a page in the same tab
Represents the state of a page-to-page navigation Used to track navigation between two specific pages within Scrapbox
Represents the state when navigating from search results to a specific page Used to track navigation that originates from a full-text search
Executes prefetch operations for specified API URLs
Dispatches a keyboard event programmatically via JavaScript
Registers the page transition state and enables automatic scrolling to the linked content This function stores navigation context in localStorage, which is used to determine where to scroll on the next page load. This is particularly useful for maintaining context when users navigate between related pages or from search results.
Saves a response to the REST API cache storage managed by scrapbox.io
Scroll one page down using PageDown key
Scroll half a page down
Scroll half a page up
Scroll one page up using PageUp key
Get a reference to Scrapbox's internal page content data
Retrieve Scrapbox's internal cursor and selection stores from the DOM
Get a section of the status bar and return functions to manipulate it
Function type for creating commits to be pushed
connect to websocket
Delete a specified page whose title is title from a given project
Disconnect the websocket
Subscribe to WebSocket events from Scrapbox
Function used in patch to generate a patch from the current page state
Modify an entire Scrapbox page by computing and sending only the differences
Pin a Scrapbox page to keep it at the top of the project
Calculate a pin number for sorting pinned pages
Push changes to a specific page using WebSocket
Comprehensive error type for push operations
A pre-configured Socket type for Scrapbox
Interface for specifying code block content and metadata for updates
Unpin a Scrapbox page, removing it from the pinned list
Update the content of a code block in a Scrapbox page
Update or create code blocks in a Scrapbox page via REST API
Configuration options for updateCodeFile function
parseAbsoluteLink
Parse LinkNode of @progfay/scrapbox-parser in detail
Anchor FM Embed Node Represents an Anchor FM podcast episode embed. Extracts the episode ID from Anchor FM URLs to enable podcast episode playback directly within Scrapbox pages.
Parse external link syntax from scrapbox-parser into specific embed types
rest
Cosense REST API wrapper
Export all pages from a Scrapbox project
Get the timestamp when a response was cached by the ServiceWorker
Retrieve text content from a specified code block
Extract all code blocks from a Scrapbox page
Retrieve the CSRF token for secure requests
Retrieve an OAuth access token for uploading images to Gyazo
Retrieve link data from a specified Scrapbox project
Retrieves JSON data for a specified page
Get detailed information about a Scrapbox project
Retrieve a specific version of a page from its snapshot history
Retrieve a specified table in CSV format from a Scrapbox page
Retrieves the timestamp IDs for a specific page in a project.
Retrieve information about a specified Tweet
Retrieve the title of a web page through Scrapbox's server
Import pages into a Scrapbox project
Error that occurs when an invalid followingId is provided for pagination
Error that occurs when an invalid timestampId is provided to getSnapshot
Lists pages from a specified project
List information for multiple Scrapbox projects
Retrieve all link data from a specified project one by one
Retrieve all link data from a specified project in bulk
Replaces all links within the specified project
Search across all projects that the user has joined
Search for pages within a specific project
Search within a list of watched projects
Union type of all possible errors that can occur when retrieving a page snapshot
Union type of all possible errors that can occur when retrieving snapshot timestamp IDs
Upload any file to scrapbox.io
Count the number of leading whitespace characters (indentation level)
Count the number of subsequent lines that are indented under the specified line
Encode a title into a URI-safe format
Convert underscores (_) to single-byte spaces ( )
Convert a title to a URI-safe format while minimizing percent encoding
Convert a string to titleLc format
Exports 1-hop links for a given page in a project as AI-readable text format.
Options for export1HopLinks
Exports 2-hop links for a given page in a project as AI-readable text format.
Options for export2HopLinks
Retrieves the commit history for a specified page
Retrieves a specified page image
Retrieve link data from a specified Scrapbox project
Retrieve all link data from a specified project one by one
Retrieves JSON data for a specified page
Get detailed information about a Scrapbox project
Retrieves a specified page text
get the user profile
Lists pages from a specified project
Lists pages from a given project with pagination
Constructs a request for the /api/smart-context/export-1hop-links/:project.txt endpoint
Constructs a request for the /api/smart-context/export-2hop-links/:project.txt endpoint
Constructs a request for the /api/commits/:project/:pageId endpoint
Constructs a request for the /api/pages/:project/:title/icon endpoint
Create a request to GET /api/pages/:project/search/titles
Constructs a request for the /api/pages/:project/:title endpoint
Create a request to GET /api/projects/:project
Constructs a request for the /api/pages/:project endpoint
Constructs a request for the /api/pages/:project/:title/text endpoint
Constructs a request for the /api/users/me endpoint
Constructs a request for the /api/pages/:project/replace/links endpoint
Constructs a request for the /api/pages/:project/search/query endpoint
Retrieves JSON data for a specified page
Search for pages within a specific project
Retrieves the commit history for a specified page
Constructs a request for the /api/commits/:project/:pageId endpoint
Retrieves the commit history for a specified page
Constructs a request for the /api/commits/:project/:pageId endpoint
Retrieves the commit history for a specified page
Constructs a request for the /api/commits/:project/:pageId endpoint
Retrieves a specified page image
Retrieve link data from a specified Scrapbox project
Retrieve all link data from a specified project one by one
Retrieves JSON data for a specified page
Retrieves a specified page text
Lists pages from a specified project
Lists pages from a given project with pagination
Constructs a request for the /api/pages/:project/:title/icon endpoint
Create a request to GET /api/pages/:project/search/titles
Constructs a request for the /api/pages/:project/:title endpoint
Constructs a request for the /api/pages/:project endpoint
Constructs a request for the /api/pages/:project/:title/text endpoint
Constructs a request for the /api/pages/:project/replace/links endpoint
Constructs a request for the /api/pages/:project/search/query endpoint
Retrieves JSON data for a specified page
Search for pages within a specific project
Retrieves a specified page image
Retrieve link data from a specified Scrapbox project
Retrieve all link data from a specified project one by one
Retrieves JSON data for a specified page
Retrieves a specified page text
Lists pages from a specified project
Lists pages from a given project with pagination
Constructs a request for the /api/pages/:project/:title/icon endpoint
Create a request to GET /api/pages/:project/search/titles
Constructs a request for the /api/pages/:project/:title endpoint
Constructs a request for the /api/pages/:project endpoint
Constructs a request for the /api/pages/:project/:title/text endpoint
Constructs a request for the /api/pages/:project/replace/links endpoint
Constructs a request for the /api/pages/:project/search/query endpoint
Retrieves JSON data for a specified page
Search for pages within a specific project
Constructs a request for the /api/pages/:project/replace/links endpoint
Retrieves JSON data for a specified page
Constructs a request for the /api/pages/:project/replace/links endpoint
Retrieves JSON data for a specified page
Retrieve link data from a specified Scrapbox project
Retrieve all link data from a specified project one by one
Create a request to GET /api/pages/:project/search/titles
Constructs a request for the /api/pages/:project/search/query endpoint
Search for pages within a specific project
Constructs a request for the /api/pages/:project/search/query endpoint
Search for pages within a specific project
Retrieve link data from a specified Scrapbox project
Retrieve all link data from a specified project one by one
Create a request to GET /api/pages/:project/search/titles
Retrieves a specified page image
Retrieves JSON data for a specified page
Retrieves a specified page text
Constructs a request for the /api/pages/:project/:title/icon endpoint
Constructs a request for the /api/pages/:project/:title endpoint
Constructs a request for the /api/pages/:project/:title/text endpoint
Retrieves a specified page image
Constructs a request for the /api/pages/:project/:title/icon endpoint
Retrieves a specified page text
Constructs a request for the /api/pages/:project/:title/text endpoint
Get detailed information about a Scrapbox project
Create a request to GET /api/projects/:project
Get detailed information about a Scrapbox project
Create a request to GET /api/projects/:project
Exports 1-hop links for a given page in a project as AI-readable text format.
Options for export1HopLinks
Exports 2-hop links for a given page in a project as AI-readable text format.
Options for export2HopLinks
Constructs a request for the /api/smart-context/export-1hop-links/:project.txt endpoint
Constructs a request for the /api/smart-context/export-2hop-links/:project.txt endpoint
Exports 1-hop links for a given page in a project as AI-readable text format.
Options for export1HopLinks
Constructs a request for the /api/smart-context/export-1hop-links/:project.txt endpoint
Exports 2-hop links for a given page in a project as AI-readable text format.
Options for export2HopLinks
Constructs a request for the /api/smart-context/export-2hop-links/:project.txt endpoint
get the user profile
Constructs a request for the /api/users/me endpoint
get the user profile
Constructs a request for the /api/users/me endpoint