20 Commits

Author SHA1 Message Date
Zeya Phyo
3328f89865 Fix AdminButton keyboard listener - use useEffect hook
- Move event listener to useEffect for proper lifecycle
- Add cleanup function to remove listener
- Add preventDefault to avoid browser shortcuts
- Toggle panel on/off with Alt+Shift+A
2026-02-26 09:42:16 +00:00
Zeya Phyo
f51ac4afa4 Add web admin features + fix scraper & translator
Frontend changes:
- Add /admin dashboard for article management
- Add AdminButton component (Alt+Shift+A on articles)
- Add /api/admin/article API endpoints

Backend improvements:
- scraper_v2.py: Multi-layer fallback extraction (newspaper → trafilatura → readability)
- translator_v2.py: Better chunking, repetition detection, validation
- admin_tools.py: CLI admin commands
- test_scraper.py: Individual source testing

Docs:
- WEB-ADMIN-GUIDE.md: Web admin usage
- ADMIN-GUIDE.md: CLI admin usage
- SCRAPER-IMPROVEMENT-PLAN.md: Scraper fixes details
- TRANSLATION-FIX.md: Translation improvements
- ADMIN-FEATURES-SUMMARY.md: Implementation summary

Fixes:
- Article scraping from 0 → 96+ articles working
- Translation quality issues (repetition, truncation)
- Added 13 new RSS sources
2026-02-26 09:17:50 +00:00
Zeya Phyo
8bf5f342cd Trigger deployment for CSS fixes 2026-02-21 10:49:36 +00:00
Zeya Phyo
0045e3eab4 Fix critical Burmese typography and layout issues
- Update .font-burmese line-height to 1.85 (critical fix for text overlap)
- Set article content line-height to 2.0 for better readability
- Add Padauk font as fallback for better Myanmar script support
- Update all heading line-heights to 1.75 for proper spacing
- Reduce hero section height (600px → 350px mobile, 450px desktop)
- Improve font-size consistency (1.125rem for body text)

Addresses typography crisis identified in site review.
2026-02-21 08:38:04 +00:00
Zeya Phyo
c274bbc979 🔧 Fix: Add DATABASE_URL runtime support for category pages
- Updated Dockerfile to accept DATABASE_URL at runtime
- Added .env.example for frontend
- Created Coolify environment setup guide

Fixes category pages 404 error - DATABASE_URL needs to be set in Coolify
2026-02-20 02:47:08 +00:00
Zeya Phyo
f9c1c1ea10 Trigger redeploy: Category pages + Quality control 2026-02-20 02:41:34 +00:00
Zeya Phyo
785910b81d Fix: Add category pages + MCP server for autonomous management
- Created /app/category/[slug]/page.tsx - category navigation now works
- Built Burmddit MCP Server with 10 tools:
  * Site stats, article queries, content management
  * Deployment control, quality checks, pipeline triggers
- Added MCP setup guide and config
- Categories fully functional: ai-news, tutorials, tips-tricks, upcoming
- Modo can now manage Burmddit autonomously via MCP
2026-02-19 15:40:26 +00:00
Deploy Bot
310fff9d55 Add force-dynamic to all pages for runtime DB queries 2026-02-19 15:04:03 +00:00
Deploy Bot
923d322273 Fix: use custom pg wrapper instead of @vercel/postgres 2026-02-19 14:53:59 +00:00
Zeya Phyo
defd82c8df Deploy UI/UX improvements - READY TO GO LIVE
 Modern design with better typography
 Hashtag/tag system with auto-tagging
 Full-width hero cover images
 Trending tags section
 Better article pages with share buttons
 Tag filtering pages (/tag/*)
 Build tested and passing
 CSS fixed and optimized
 @vercel/postgres added to dependencies

Ready to deploy to burmddit.qikbite.asia
2026-02-19 14:03:12 +00:00
Zeya Phyo
161dce1501 UI/UX Improvements: Modern design + hashtag system + cover images
- Added modern CSS design system with better typography
- Created hashtag/tag functionality with auto-tagging
- Improved homepage with hero section and trending tags
- Enhanced article pages with full-width cover images
- Added tag pages for filtering articles by hashtag
- Better mobile responsive design
- Smoother animations and transitions
- Auto-tag system analyzes content and assigns relevant tags
- 30+ predefined AI-related tags (ChatGPT, OpenAI, etc.)
2026-02-19 13:49:53 +00:00
Min Zeya Phyo
afa8fb8d78 Add 'use client' to ArticleCard for onClick handler 2026-02-19 21:20:19 +08:00
Min Zeya Phyo
4829f15010 Use claude-3-haiku model (configurable via CLAUDE_MODEL env) 2026-02-19 20:16:01 +08:00
Min Zeya Phyo
4ab83ba420 Upgrade anthropic SDK to fix httpx proxies compat 2026-02-19 20:13:41 +08:00
Min Zeya Phyo
4cb978cc22 Fix missing Optional import in compiler.py 2026-02-19 20:10:34 +08:00
Min Zeya Phyo
9d7e028550 Fix scraper: use newspaper4k, handle all RSS sources 2026-02-19 19:34:14 +08:00
Min Zeya Phyo
879fdc3849 Add lxml_html_clean dep for newspaper3k compat 2026-02-19 19:31:54 +08:00
Min Zeya Phyo
ba2c7955f4 Add backend pipeline Dockerfile with lightweight deps 2026-02-19 19:18:35 +08:00
Min Zeya Phyo
98af1c7cec Adapt for self-hosted deployment on Coolify
- Replace @vercel/postgres with standard pg library
- Add Dockerfile for Next.js standalone build
- Add tsconfig.json, postcss.config.js
- Fix globals.css undefined tailwind utilities
- Force dynamic rendering for DB-dependent pages
- Add .dockerignore
2026-02-19 16:51:31 +08:00
Zeya Phyo
dddb86ea94 Initial Burmddit deployment - AI news aggregator in Burmese 2026-02-19 02:52:58 +00:00