Coding
PromptBeginner5 minmarkdown
Nano Banana Pro
Agent skill for nano-banana-pro
7
TEXTBot is a LINE Bot with text processing and OCR capabilities, using Flex Messages for a rich UI and LIFF integration for editing.
Sign in to like and favorite skills
TEXTBot is a LINE Bot with text processing and OCR capabilities, using Flex Messages for a rich UI and LIFF integration for editing.
https://ocr.wwoom.com/api)backend/: Backend code (Node.js, GraphQL)
line/: LINE Bot related code
utils/flexMessages.js: Flex Message templatesresolvers/: GraphQL resolversschema/: GraphQL schema definitionsindex.js: Main application filefrontend/: Frontend code (LIFF Apps)
main.js: LIFF app for editing messagessent.html: LIFF app for testing Flex Messages.specstory/: SpecStory files (AI chat history, rules)ai_rules_backups/: Backup folder for AI rulescopilot-instructions.md: AI coding assistant rules file.project.json: Project identity file.gitignore: Version control settingslogs/error.log: Error logsimport/export).console.log statements for debugging purposes.curl.lineService.addMessage().lineService.replyFlexMessage().https://ocr.wwoom.com/api.{"text": "ผลลัพธ์ OCR"}.https://ocr.wwoom.com/api supports both URL and Base64 formats:
{ "url": "https://iili.io/FNrnLOJ.png" }
{ "base64": "data:image/png;base64,iVBORw0KGg..." }
{ "text": "ข้อความที่อ่านได้จากรูปภาพ" }
specstory.autoSave.enabled: true - Enable automatic saving of conversations.specstory.autoSave.interval: 30000 - Set the save interval to 30 seconds.specstory.autoSave.onChatEnd: true - Save the conversation when the chat ends.specstory.derivedRules.enabled: true - Enable automatic updating of AI rules.specstory.derivedRules.backupOnChange: true - Create a backup before changing AI rules..project.json.ai_rules_backups folder..gitignore file manages version control settings.The project uses four main Flex Message templates:
createTextResultFlex():
createEditResultFlex():
createOCRResultFlex():
createLiffMessageFlex():
createTextResultFlex()