Spaces:
Running
Running
Commit History
14 days ago
-
feat: update UI and add video 404 page
souliya_pps +1: Devin- Add new UI components (app-ui.css, app-ui.js) - Update Tailwind configuration - Add video 404 page - Update controllers for search, sutra, video, and uttarayndham - Add favicon and service worker updates - Refactor main layout Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>282827b
20 days ago
-
fix(book): redirect to direct link for non-Google Drive books
souliya_pps +1: Devin- Add detection for non-Google Drive links - Redirect directly to external links instead of showing PDF viewer - Maintains existing Google Drive PDF viewer functionality Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>722f273
22 days ago
-
fix(book): resolve requestFullscreen user gesture error, auto-fullscreen on view, and align button positions
souliya_pps1790e5d
26 days ago
-
Fix imgbb cover images with wsrv.nl proxy and improved fallbacks
souliya_pps4f3a06d
-
feat(tts): serve pre-generated Gemini Charon audio for Lao sutras
souliya_pps +1: Claude Opus 5.5Lao sutra chunks are generated once with Gemini TTS (Charon voice, Vientiane-accent style prompt) by scripts/generate-lao-library.php and published to the Space repo's tts-library branch. At play time the server reads that library first, so listening needs no API calls or quota; chunks not generated yet fall back to the Edge voice. The generator reproduces the sutra page's text extraction and 800-char chunking exactly (verified against Chrome for all 1,412 sutras, including UTF-16 handling of emoji), so library keys match what the browser sends. Lao no longer uses the device's speechSynthesis voice. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>798f9fe -
fix(tts): serve real Lao voice instead of Thai fallback
souliya_pps +1: Claude Opus 5.5Microsoft's Edge TTS now requires a v2 Sec-MS-GEC token, so the PHP library and browser WebSocket were rejected (403). Google has no Lao voice, so Lao text fell through to the Thai Google voice and was cached. - Use the maintained Python edge-tts CLI first (lo-LA-ChanthavongNeural) - Drop the Thai-voice fallback for Lao text - Version the TTS cache key so cached Thai audio is not served again - Locate edge-tts outside PATH, serve audio when cache dir is read-only, fix MP3 duration estimate and word-highlight timing - Skip the broken in-browser Edge attempt on the sutra page - Install edge-tts in the Docker image - Load gitignored .env.local for local secrets Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>078f847
-
fix(book): track slide narration data ignored by .gitignore
souliya_pps +1: Claude Opus 5.5Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>824a055 -
feat(book): re-clone timeline slides 8→end and add Lao/Thai narration
souliya_pps +1: Claude Opus 5.5- scripts/sync-book-slides.py re-clones the CV deck (now 14 slides incl. the 3 sutta similes) with every slide index/number shifted - Play/pause (P) narrates each slide with male Edge voices (Chanthavong / Niwat, as in TtsService) and auto-advances; ລາວ/ไทย toggle and subtitles - Pre-generated MP3s in public/assets/audio/slides (LFS), falling back to /api/tts/synthesize, then the device voice Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>d476260
-
feat(book): add paticca wheel cover card opening full-screen slide deck
souliya_pps +1: Claude Opus 5.5Adds a cover card at the start of /book that opens /book/slides, a standalone full-screen deck copied from the CV timeline (slide 8 to end). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>8607af0
-
feat: auto-sync to HF bucket on notification create/delete
souliya_pps96f68cd -
fix: delete notification 'Missing id' - fallback match by title for empty ID bucket data
souliya_ppsb5229dd -
fix: notification send 'Missing title' bug + improved Chrome permission UX
souliya_pps- PushData: generate ID when empty string (not just null) - PushController::send: fallback to input fields when notification ID lookup fails - sendNow: send full notification data (title/body/url) not just ID - toggleNotifyUI: improved Chrome permission flow with clear Lao language messages - SW version bump v12 to force cache refresh9313ac7 -
fix: set writable HF_HOME so hf/xet CLI can run as www-data (permission denied on /root)
souliya_pps6232012 -
feat: surface hf cp output/exit in bucket pull response for diagnostics
souliya_pps09f04ee -
feat: surface hf cp error output in bucket sync response for diagnostics
souliya_ppsc5936ad -
feat: add push notification management (admin CRUD, web push, HF bucket sync)
souliya_pps3750964
-
fix: paginate sync-sutras API to stay under Vercel's 4.5MB payload limit
souliya_pps- Add ?page=N parameter (150 sutras per page) - Return totalPages, total, page metadata - Update client to fetch pages sequentially and merge95c417b -
fix: cross-platform cache support for Vercel + HuggingFace deployment
souliya_pps- Add app/Helpers/cache.php with environment detection (Vercel /tmp vs HF writable fs) - Update Sutra/Book/Video/Calendar models to use cache helper - Update ApiController to use cache helper functions - Update EtipitakaService, TtsService, TtsLibrary for cross-env caching - Update vercel.json with maxDuration and fixed API routes - Update .vercelignore for deployment - Fix .env for production03bdc4a
-
fix: real-time data sync from Google Sheets with 30s debounce, fix search filter, remove tracked cache files
souliya_pps- Fix search filter on sutra page (parse data.results from API response) - Always fetch fresh API data when online (remove !cached guard) - Make categories Alpine-reactive for live updates from API - Add 30s server debounce to sync endpoints (prevent quota exhaustion) - Remove cached-only guard, sync all 4 data types on every page load - Stop tracking cache/*.json files (already gitignored)d41d880 -
fix: reverse video list in model so newest appears first on all pages
souliya_pps6d8cf3e -
fix: add _ytId and _thumbnail to Video model so API responses include them
souliya_pps3beb45f -
fix: re-add cache files as fallback, disable SSL verify in httpGet for HF container
souliya_pps060a0b2 -
fix: replace file_get_contents with cURL+fallback httpGet(), untrack cache files, add TTS fallback
souliya_ppsea02d49 -
fix: preserve .env API URLs on HF deploy, add auto-sync, return sutra data from sync endpoint
souliya_ppsb413eb7
-
add .env
souliya_pps2ac4f60
-
Add search persistence across page navigation and fix video search result URL
souliya_pps8c6453c
-
Expand Anakame to scrape all 5 categories and add Uttayarndham tag-based browsing
souliya_pps- Anakame: scrape Sutta, Sutta Set, Short Sutta, Person, Misc categories instead of only Sutta_number.htm - Add category metadata to each Anakame item (name, icon, categoryIndex) - Remove prev/next navigation from Anakame show page (no longer meaningful with multi-category listing) - Uttayarndham: switch from /dhamma-sharing to /keyword/tags for browsing and search - Add tag listing page at /uttayarndham/tag routee43a832 -
Add 5-second timeout to all file_get_contents() calls via stream context
souliya_pps- Add getStreamContext() helper in AnakameController, UttayarndhamController, SearchController - Apply stream_context_create(['http' => ['timeout' => 5]]) to all external HTTP requests - Prevents indefinite hangs when scraping anakame.com or uttayarndham.org0db9baa
-
fix: strip RDF metadata from Uttayarndham content so TTS doesn't read schema text
souliya_pps- Remove entire .rdf-meta elements (tags + text) before strip_tags - Also remove empty field-name-title containers that held metadata - Apply same strip_tags sanitization as apiContent() endpoint - Add CSS safety net to hide any remaining .rdf-meta elements6d07399 -
Change "ອານາຄົມສູດ" to "Anakame" across Anakame UI and metadata
souliya_pps81ab81c -
Revert "Fix prev/next navigation for duplicate URLs in Anakame and Uttayarndham readers"
souliya_ppsThis reverts commit 634de84a44a3af116e6d97c75590d2c9a9a34da1.dfd19e2 -
Fix prev/next navigation for duplicate URLs in Anakame and Uttayarndham readers
souliya_pps634de84 -
Fix canonicalUrl() to preserve query string params (og:url share fix)
souliya_ppsf27e856 -
Add volume/page jump selector on E-Tipitaka detail page
souliya_ppscbb329e -
Add E-Tipitaka, Anakame, Uttayarndham results to global search with type badges
souliya_pps4a04c54 -
Fix uttayarndham image URLs: make relative src absolute; ignore TTS cache JSON files
souliya_pps893b05c -
Fix E-Tipitaka search 500: add error handling, pre-cache DBs in Dockerfile, raise memory limit to 256M
souliya_ppsf2f9f87 -
Add reader features to Etipitaka, Anakame, Uttayarndham: TTS, font-size, fullscreen, share, favorites, prev/next nav, dark mode, swipe
souliya_pps7326e89 -
Fix Anakame listing and content parsing, add infinite scroll to Uttayarndham
souliya_pps40102c4 -
feat: add E-Tipitaka, Anakame, Uttayarndham menus with More menus dropdown
souliya_ppsdfb0e6b
-
feat: add REST API endpoints for book listing, details, filtering, and page navigation
souliya_ppsadd apiList, apiDetails, apiFilter, and apiPageNav methods to PdfBookController with JSON responses. include cover URL resolution, book metadata, text preview, pagination, and query-based filtering. register new API routes for /list, /details, and /filter endpoints.27aeaab
-
chore: update all site configs and assets to new domain
souliya_ppsmigrate the site from www.buddhaword.net to buddhaword-web.hf.space across all configuration files, static assets, and helper functions. modify robots.txt, sitemap generators, env files, service worker, privacy policy, and canonical URL handling. additionally add a new Lao TTS audio file and its associated metadata.4de7755
-
fix tts check
souliya_pps7c4c4b4 -
first commit
souliya_pps7731906