Commit Graph

5 Commits

Author SHA1 Message Date
Jeff Emmett 89fcbf0595 refactor: split content from AI tooling, prepare for rename to p2pwiki-ai
CI/CD / deploy (push) Successful in 1m6s Details
- Remove blog_static/ and blog_sample/ files (moved to p2pfoundation-wiki repo)
- Update CI/CD: rename p2pwiki-content → p2pwiki-ai (image, deploy path)
- Make content paths configurable via CONTENT_DIR env var in config.py
- Update parser.py to use settings.articles_dir instead of hardcoded path
- Update docker-compose.yml: HOST_XMLDUMP_DIR for flexible content mounting
- Rewrite README.md: link to content repo, document env vars
- Update .env.example with content path configuration

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-14 14:24:05 -04:00
Jeff Emmett 7633ea6781 Add wiki draft approval UI, MediaWiki client, HitCounters extension, and blog parser
- Add MediaWiki API client (src/mediawiki.py) for draft management and authentication
- Add wiki draft approval endpoints (GET /wiki/drafts, POST /wiki/approve, GET /wiki/auth)
- Add Wiki Drafts panel to web UI with approval workflow and confirmation modal
- Install HitCounters extension on wiki server (106M+ historical page views restored)
- Fix HitCounters deprecation warning (Language::convert -> LanguageConverterFactory)
- Add blog parser for static blog content processing
- Update .gitignore to exclude large data/blog_static directories
- Increase Ollama timeout to 5 min for large content generation
- Initialize backlog task tracking

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 21:03:20 -07:00
Jeff Emmett 88bb049a24 Add MediaWiki client and gadget installation script
- src/mediawiki.py: MediaWiki API client with login, edit, and draft approval support
- wiki_scripts/install_gadgets.py: Bot-based script to install draft approval gadgets

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 12:57:53 +00:00
Jeff Emmett dcd576944c Make ingress async to avoid Cloudflare timeout
The LLM analysis step was taking too long and causing 524 errors.
Now returns immediately and processes in background.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 10:46:09 +01:00
Jeff Emmett 4ebd90cc64 Initial commit: P2P Wiki AI system
- RAG-based chat with 39k wiki articles (232k chunks)
- Article ingress pipeline for processing external URLs
- Review queue for AI-generated content
- FastAPI backend with web UI
- Traefik-ready Docker setup for p2pwiki.jeffemmett.com

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 13:53:29 +01:00