Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aomukai/Writingway2
/ functions
Functions
422 in github.com/aomukai/Writingway2
⨍
Functions
422
◇
Types & classes
2
Function
handleSceneSearch
* Search for scenes matching the query * @param {Object} app - Alpine app instance * @param {string} query - Search query
src/modules/beat-mentions.js:119
Function
handleTextareaSelection
()
src/app.js:274
Function
handleWorkshopKeydown
* Handle keyboard navigation in workshop dropdowns * @param {Object} app - Alpine app instance * @param {KeyboardEvent} e - Keyboard event
src/workshop.js:461
Function
handleWorkshopSceneSearch
* Search for scenes matching the query * @param {Object} app - Alpine app instance * @param {string} query - Search query
src/workshop.js:424
Function
hasGGUFModels
()
src/app.js:415
Function
hasLocalAIAvailable
()
src/app.js:411
Function
hasWorkshopSessions
()
src/state/app-state.js:302
Function
hideLoadingScreen
()
src/app.js:67
Function
import
(projectId, items = [], opts = { merge: true })
src/compendium.js:60
Function
importCompendium
* Import compendium entries
src/w1-importer.js:244
Function
importFromW1
(event)
src/app.js:1227
Function
importProject
* Import a Writingway 1 project from a folder * @param {Object} app - Alpine app instance * @param {FileList} files - Files from dir
src/w1-importer.js:10
Function
importProject
(e)
src/app.js:1358
Function
importProject
* Import a project from a ZIP file * @param {Object} app - Alpine app instance * @param {Event|File} e - File input event or File ob
src/modules/project-manager.js:865
Function
importPrompts
(app, fileInput)
src/prompts.js:195
Function
importPrompts
(fileInput)
src/app.js:1519
Function
importScene
* Import a single scene
src/w1-importer.js:127
Function
init
(app)
src/ai.js:4
Function
init
()
src/app.js:38
Function
init
(appInstance)
src/modules/tab-sync.js:42
Function
insertSpecialChar
(char)
src/app.js:2209
Function
insertSpecialChar
* Insert special character at cursor position in editor * @param {Object} app - Alpine app instance * @param {string} char - Charact
src/modules/editor.js:25
Function
installLlamaCpp
()
src/app.js:444
Function
isAutoBackupReady
(app)
src/modules/github-backup.js:72
Function
isCompendiumDirty
* Check if the current compendium entry has unsaved changes * Compares current entry to the original snapshot * @param {Object} app
src/modules/compendium-manager.js:11
Function
isPausedState
* Check if currently paused * @returns {boolean} True if paused
src/tts.js:138
Function
isProviderConfigured
(app)
src/modules/github-backup.js:50
Function
isSpeaking
* Check if currently speaking * @returns {boolean} True if speaking
src/tts.js:130
Function
isUpdateStaged
* Check if an update is already staged * @returns {Promise<boolean>}
src/update-checker.js:77
Function
isUpdaterAvailable
* Check if the updater service is running * @returns {Promise<boolean>}
src/update-checker.js:61
Function
listBackups
(app)
src/modules/github-backup.js:152
Function
listByCategory
(projectId, category)
src/compendium.js:27
Function
listGitHubBackups
(app)
src/modules/github-backup.js:260
Function
listLocalBackups
(app)
src/modules/github-backup.js:363
Function
load
* Load a template from the templates directory * @param {string} templateName - Name of the template file (without .html extension)
src/template-loader.js:14
Function
loadAISettings
()
src/app.js:518
Function
loadAISettings
* Load AI settings from localStorage * @param {Object} app - Alpine app instance
src/modules/ai-settings.js:335
Function
loadBackupSettings
(app)
src/modules/github-backup.js:526
Function
loadChapters
()
src/app.js:1526
Function
loadCompendiumCategory
(category)
src/app.js:1381
Function
loadCompendiumCategory
* Toggle a category open/closed (supports multiple open categories) * With unsaved changes guard when closing a category that contains the cu
src/modules/compendium-manager.js:193
Function
loadCompendiumCounts
()
src/app.js:1378
Function
loadCompendiumCounts
* Load entry counts for all categories * @param {Object} app - Alpine app instance
src/modules/compendium-manager.js:173
Function
loadContextPanel
()
src/app.js:1079
Function
loadInto
* Load and inject a template into a target element * @param {string} templateName - Name of the template file * @param {HTMLElement}
src/template-loader.js:52
Function
loadLastProject
()
src/app.js:690
Function
loadLastProject
* Load the last opened project or fallback to first available * @param {Object} app - Alpine app instance
src/modules/project-manager.js:107
Function
loadLightModePreference
()
src/app.js:596
Function
loadProjects
()
src/app.js:1121
Function
loadProjects
* Load all projects from database * @param {Object} app - Alpine app instance
src/modules/project-manager.js:99
Function
loadPromptHistory
* Load prompt history for current project * @param {Object} app - Alpine app instance
src/generation.js:571
Function
loadPromptHistory
()
src/app.js:2219
Function
loadPrompts
()
src/app.js:1363
Function
loadScene
(sceneId)
src/app.js:1625
Function
loadScene
* Load a scene and its content * @param {Object} app - Alpine app instance * @param {string} sceneId - ID of scene to load
src/modules/scene-manager.js:85
Function
loadSelectedProsePrompt
()
src/app.js:1236
Function
loadSelectedProsePrompt
* Load persisted prose prompt selection for the current project * @param {Object} app - Alpine app instance
src/modules/project-manager.js:182
Function
loadSelectedWorkshopPrompt
()
src/app.js:1453
Function
loadSelectedWorkshopPrompt
(app)
src/modules/workshop.js:127
Function
loadWorkshopSessions
()
src/app.js:1446
Function
loadWorkshopSessions
(app)
src/modules/workshop.js:5
Method
log_message
Custom log format.
tools/updater-server.py:219
Function
markdownToHtml
(text)
src/app.js:1725
Function
migrateMissingSceneProjectIds
()
src/app.js:1127
Function
migrateMissingSceneProjectIds
* Fix scenes that may have been saved without a projectId (legacy migration) * Uses chapter.projectId when available, otherwise assigns the f
src/modules/project-manager.js:124
Function
mountBeatSplitter
()
src/app.js:604
Function
mouseMove
(e)
src/app.js:631
Function
moveChapterDown
(chapterId)
src/app.js:1649
Function
moveChapterDown
* Move a chapter down in the order * @param {Object} app - Alpine app instance * @param {string} chapterId - ID of chapter to move
src/modules/chapter-manager.js:72
Function
moveChapterUp
(chapterId)
src/app.js:1645
Function
moveChapterUp
* Move a chapter up in the order * @param {Object} app - Alpine app instance * @param {string} chapterId - ID of chapter to move
src/modules/chapter-manager.js:57
Function
moveCompendiumEntryDown
(id)
src/app.js:1422
Function
moveCompendiumEntryDown
* Move compendium entry down in order * @param {Object} app - Alpine app instance * @param {string} id - Entry ID to move
src/modules/compendium-manager.js:479
Function
moveCompendiumEntryToCategory
(id, newCategory)
src/app.js:1425
Function
moveCompendiumEntryToCategory
* Move compendium entry to a different category (with guard if moving selected entry) * @param {Object} app - Alpine app instance *
src/modules/compendium-manager.js:507
Function
moveCompendiumEntryUp
(id)
src/app.js:1419
Function
moveCompendiumEntryUp
* Move compendium entry up in order * @param {Object} app - Alpine app instance * @param {string} id - Entry ID to move
src/modules/compendium-manager.js:452
Function
movePromptDown
(app, id)
src/prompts.js:131
Function
movePromptDown
(id)
src/app.js:1491
Function
movePromptUp
(app, id)
src/prompts.js:112
Function
movePromptUp
(id)
src/app.js:1480
Function
moveSceneDown
(sceneId)
src/app.js:1637
Function
moveSceneDown
* Move a scene down within its chapter * @param {Object} app - Alpine app instance * @param {string} sceneId - ID of scene to move
src/modules/scene-manager.js:184
Function
moveSceneToChapter
(sceneId, targetChapterId)
src/app.js:1629
Function
moveSceneToChapter
* Move a scene to a different chapter * @param {Object} app - Alpine app instance * @param {string} sceneId - ID of scene to move
src/modules/scene-manager.js:140
Function
moveSceneUp
(sceneId)
src/app.js:1633
Function
moveSceneUp
* Move a scene up within its chapter * @param {Object} app - Alpine app instance * @param {string} sceneId - ID of scene to move
src/modules/scene-manager.js:163
Function
needsLlamaInstall
()
src/app.js:419
Function
normalizeAllOrders
(app)
src/db-utils.js:3
Function
normalizeAllOrders
()
src/app.js:2256
Function
onBeatInput
(e)
src/app.js:1870
Function
onBeatInput
* Handle beat input changes to detect @ and # mentions * @param {Object} app - Alpine app instance * @param {Event} e - Input event
src/modules/beat-mentions.js:10
Function
onBeatKey
(e)
src/app.js:1878
Function
onBeatKey
* Handle keyboard navigation in mention dropdowns * @param {Object} app - Alpine app instance * @param {Event} e - Keyboard event
src/modules/beat-mentions.js:172
Function
onEditorChange
(e)
src/app.js:1710
Function
onWorkshopInput
* Handle workshop input changes to detect @ and # mentions * @param {Object} app - Alpine app instance * @param {Event} e - Input event
src/workshop.js:357
Function
openBackupSettings
()
src/app.js:2317
Function
openChapterSummary
(chapterId)
src/app.js:710
Function
openCompendium
()
src/app.js:1375
Function
openCompendium
* Open the compendium panel and load initial data * @param {Object} app - Alpine app instance
src/modules/compendium-manager.js:154
← previous
next →
201–300 of 422, ranked by callers