{"id":18123248,"url":"https://github.com/puutaro/txtpdfviewer","last_synced_at":"2026-05-02T06:40:51.979Z","repository":{"id":210728552,"uuid":"727315587","full_name":"puutaro/txtPdfViewer","owner":"puutaro","description":"Text pdf viewer with tts in CommandClick","archived":false,"fork":false,"pushed_at":"2024-09-13T02:47:37.000Z","size":168,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T12:47:53.581Z","etag":null,"topics":["android","browser","browser-addon","cmdclick","commandclick","fannel","javascript","pdf-viewer","pdfviewer"],"latest_commit_sha":null,"homepage":"https://github.com/puutaro/CommandClick","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/puutaro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-04T16:08:30.000Z","updated_at":"2024-09-13T02:47:40.000Z","dependencies_parsed_at":"2024-02-25T13:29:00.818Z","dependency_job_id":"19962df7-da18-42b0-a5b9-37efb65a7123","html_url":"https://github.com/puutaro/txtPdfViewer","commit_stats":null,"previous_names":["puutaro/txtpdfviewer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/puutaro/txtPdfViewer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puutaro%2FtxtPdfViewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puutaro%2FtxtPdfViewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puutaro%2FtxtPdfViewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puutaro%2FtxtPdfViewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/puutaro","download_url":"https://codeload.github.com/puutaro/txtPdfViewer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puutaro%2FtxtPdfViewer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32525896,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T01:12:54.858Z","status":"online","status_checked_at":"2026-05-02T02:00:05.923Z","response_time":132,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","browser","browser-addon","cmdclick","commandclick","fannel","javascript","pdf-viewer","pdfviewer"],"created_at":"2024-11-01T07:08:47.722Z","updated_at":"2026-05-02T06:40:51.947Z","avatar_url":"https://github.com/puutaro.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003cdiv\u003e\u003cimg src=\"https://github.com/puutaro/txtPdfViewer/assets/55217593/7aa8a7cd-28e0-4353-afce-5538e08a0dd2\" width=\"300\"\u003e\u003c/div\u003e\n  \n\u003cdiv\u003e\u003cimg src=\"https://github.com/puutaro/selectTyper/assets/55217593/555e8f5f-656a-4faf-bb76-f663c01cfe47\" width=\"300\"\u003e\u003c/div\u003e \n\n\n# txtPdfViewer.js\n----------------\n\nText pdf viewer with tts @puutaro\n\n\nTable of Contents\n-------\n\n\u003c!-- vim-markdown-toc GFM --\u003e \n* [Installation](#installation)\n* [Support long press menu table](#support-long-press-menu-table)\n* [Toolbar buttons](#toolbar-buttons)\n\t* [Play Button](#play-button)\n\t* [Edit Button](#edit-button)\n* [Cmd Variables](#cmd-variables)\n\t* [txtPdfPath](#txtpdfpath)\n\t* [TTS_PLAY](#tts_play)\n\t* [toLang](#tolang)\n\t* [Pitch](#pitch)\n\t* [Speed](#speed)\n\t* [onTrack](#ontrack)\n\t* [menuTtsSwitch](#menuttsswitch)\n* [Setting variables](#setting-variables)\n\t* [terminalFontZoom](#terminalfontzoom)\n\t* [terminalFontColor](#terminalfontcolor)\n\t* [execPlayBtnLongPress](#execplaybtnlongpress)\n\t* [execEditBtnLongPress](#execeditbtnlongpress)\n\t* [homeFannelsPath](#homefannelspath)\n\n\n## Support long press menu\n---------\n\n| type | enable |\n| ----- | ----- |\n| src anchor | o |\n| src image anchor | o |\n| image | x |\n\n## Installation\n--------------\n\n1. Install [ComamndClick](https://github.com/puutaro/CommandClick#app-installation) to your android\n2. Install this fannel by [install repo](https://github.com/puutaro/CommandClick/blob/master/USAGE.md#install-fannel) or QR code\n\n\n## Toolbar buttons\n\n### Play Button\n\n1. Set `txtPdfPath`\n2. Click\n\n- long press -\u003e page search\n\n### Edit Button\n\n- long press -\u003e web search\n\n## Cmd Variables\n--------\n\n### txtPdfPath \nPdf file path\n\n### TTS_PLAY \ntext to speech play\n\n### toLang\nText to speech lang\n\n| code | lang |\n| ------ | ------ |\n| - | default language |\n| `en` | english |\n| `zh` | chinese |\n| `es` | spanish |\n| `ko` | korean |\n| `ja` | japanese |\n\n### Pitch\nText to speech pitch\n\n| pitch | description |\n| ------ | --------- |\n| 50 | normal |\n| 50 Up | pitch up |\n| 50 down | pitch down |\n\n### Speed\nText to speech speed\n\n| speed | description |\n| ------ | --------- |\n| 50 | normal |\n| 50 Up | speed up |\n| 50 down | speed down |\n\n### onTrack\n\n| switch | description |\n| ------ | --------- |\n| `ON` | Memory past number and step |\n| `OFF` | No memory past number and step |\n\n### menuTtsSwitch\n\n| switch | description |\n| ------- | ------- |\n| `ON` | Play text to speech in long press menu |\n| `OFF` | Text or pdf viewer in long press menu |\n\n\n## Setting variables\n---------\n\n### terminalFontZoom \nAdjust terminal font size (percentage)\n\n### terminalFontColor\nAdjust terminal font color\n\n### execPlayBtnLongPress\nExecute when play button long press\n\n| type or name | description |\n| ------- | ------- |\n| `WEB_SEARCH` | Apear web search bar |\n| `PAGE_SEARCH` | Apear page search bar |\n| js file path | Execute js file |\n\n### execEditBtnLongPress\nExecute when edit button long press\n\n| type or name | description |\n| ------- | ------- |\n| `WEB_SEARCH` | Apear web search bar |\n| `PAGE_SEARCH` | Apear page search bar |\n| js file path | Execute js file |\n\n### homeFannelsPath\nSpecified fannel put always bottom in app history \n\n| Button type | usage | \n| --------- | --------- |\n| DSL button | Drag and sort home fannels List |\n| ADD button | Add fannel to home fannels list |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpuutaro%2Ftxtpdfviewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpuutaro%2Ftxtpdfviewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpuutaro%2Ftxtpdfviewer/lists"}