Commit Graph

37 Commits

Author SHA1 Message Date
lotherk
b42801b6c5 v0.1.2: Add VERSION.txt with build-time injection 2026-03-27 14:50:20 +00:00
lotherk
4a870dd5e3 fix: Use correct production URLs 2026-03-27 14:45:52 +00:00
lotherk
71e7cdc37a fix: Update docs nav links, add Blog link, rename GitHub to Git Repository 2026-03-27 14:44:51 +00:00
lotherk
1e3ed137ec fix: App.tsx syntax errors - proper template literal escaping 2026-03-27 14:38:07 +00:00
lotherk
a631e70b03 fix: Dockerfile.website - proper multi-stage build for blog generation 2026-03-27 14:35:23 +00:00
lotherk
98b29db8a0 rewrite: blog posts with unixsheikh-inspired tone - direct, opinionated, no fluff 2026-03-27 14:34:15 +00:00
lotherk
b2b2e80f0a feat: add blog system with static site generator
- Add blog posts in Markdown (_posts/)
- Build script converts MD to HTML at container build time
- First posts: building with AI lessons, quick start guide
- AGENTS.md documents blog writing style (unixsheikh-inspired)
2026-03-27 14:33:05 +00:00
lotherk
c37af7cdb1 feat: add website link to app footer, Join Alpha opens in new tab
Fixes #2 - Add website link to app footer
- Add VITE_WEBSITE_URL build arg for configurable website URL
- Add Git Repository and License links to app footer
- Update Join Free Alpha links to open in new tab (target=_blank)
2026-03-27 14:26:32 +00:00
lotherk
2858969f39 fix: copy www/docs to app container public folder
Fixes #1 - events and diary pages end up 404
2026-03-27 14:20:34 +00:00
lotherk
5b51de1214 docs: update README, clean up old files 2026-03-27 13:56:47 +00:00
lotherk
f6c4da1da3 v0.1.1: System default AI config, configurable URLs, single .env, website refactor 2026-03-27 13:51:15 +00:00
lotherk
749a913309 feat: add custom OpenAI-compatible provider with custom headers and parameters
- Add Custom provider for any OpenAI-compatible API
- All providers now support custom headers and parameters
- providerSettings stored per-provider with headers and parameters
- Example: disable thinking in Ollama, add tools, etc.
2026-03-27 12:49:08 +00:00
lotherk
4fb4df3e6a docs: update AGENTS.md with www/ structure 2026-03-27 10:42:47 +00:00
lotherk
36474db276 feat: replace Starlight docs with simple HTML product website
- Removed docs/ (Starlight)
- Added www/ with pure HTML/CSS/JS landing page
- Product website with features, how it works, get started
- Basic HTML documentation pages (installation, quick start, AI providers)
- Dockerfile.docs now serves static files from www/
- Updated README and AGENTS.md
2026-03-27 10:42:22 +00:00
lotherk
f414161fd8 feat: add API unit tests
Add Bun test suite covering:
- Auth: register, login, duplicate email, invalid password
- Events: create, location, validation, unauthorized
- Journals: get, generate, delete, list with pagination
- Settings: get, update, clear prompt, change password
- Export/Import: export data, events with location
- Search: search events, no matches, cross-date
- Days: list days, get day details, empty day
2026-03-27 09:50:31 +00:00
lotherk
5b82455627 refactor: rename systemPromptWithJson to systemPrompt 2026-03-27 09:34:00 +00:00
lotherk
9134892aa0 fix: use correct variable name systemPromptWithJson in task prompt 2026-03-27 09:32:47 +00:00
lotherk
18ba0a47e1 feat: add inline edit functionality for unlocked events
- EntryList now supports inline editing with pencil icon
- Click pencil to edit, Save/Cancel buttons appear
- Edit works on Home and Day pages
2026-03-27 09:28:47 +00:00
lotherk
0b4d5bad58 fix: add missing DELETE /api/v1/journal/:date endpoint 2026-03-27 02:58:32 +00:00
lotherk
8b7156ba3c fix: override zod version to fix compatibility 2026-03-27 02:51:00 +00:00
lotherk
104abe4d80 fix: correct social config syntax for starlight 0.34+ 2026-03-27 02:49:51 +00:00
lotherk
ac893ca8ea fix: correct GitHub URLs in docs, remove package-lock 2026-03-27 02:48:53 +00:00
lotherk
afacab4e36 fix: use npm in Dockerfile.docs for better resolution 2026-03-27 02:46:56 +00:00
lotherk
a67f2f1b34 fix: update gitignore, rebuild docs with fresh deps 2026-03-27 02:46:19 +00:00
lotherk
8c5c104986 fix: pin compatible astro/starlight versions 2026-03-27 02:44:00 +00:00
lotherk
7cc81434a9 fix: update GitHub URLs to lotherk/deardiary, fix Starlight config, use Docker build only 2026-03-27 02:42:16 +00:00
lotherk
73955bc318 fix: update starlight social config syntax for v0.33+ 2026-03-27 02:33:41 +00:00
lotherk
ad5772485f fix: improve light theme visibility and contrast 2026-03-27 02:32:34 +00:00
lotherk
906e4d6201 fix: docs service starts by default with docker compose up 2026-03-27 02:29:57 +00:00
lotherk
5c8ebc9a03 feat: add Docker setup for documentation site
- Dockerfile.docs for building docs container
- nginx.conf for serving static Starlight site
- docker-compose.yml updated with docs service (--profile docs)
- Updated docs installation/deployment pages
2026-03-27 02:29:27 +00:00
lotherk
0bdd71a4ed feat: v0.1.0 - geolocation capture, calendar, search, Starlight docs site
- Automatic browser geolocation capture on event creation
- Reverse geocoding via Nominatim API for place names
- Full-text search with SQLite FTS5
- Calendar view for browsing past entries
- DateNavigator component for day navigation
- SearchModal with Ctrl+K shortcut
- QuickAddWidget with Ctrl+J shortcut
- Starlight documentation site with GitHub Pages deployment
- Multiple AI provider support (Groq, OpenAI, Anthropic, Ollama, LM Studio)
- Multi-user registration support

BREAKING: Events now include latitude/longitude/placeName fields
2026-03-27 02:27:55 +00:00
lotherk
deaf496a7d feat: terminology fix (Entry→Event), diary page generation, settings refactor
- Rename Entry→Event throughout frontend and backend
- Change 'journal' terminology to 'diary page'
- Add professional footer with links
- Redirect to diary page after generation
- Error handling for generation failures
- Fix settings to store per-provider configs in providerSettings
- Backend reads API key from providerSettings
- Use prisma db push instead of migrate for schema sync
- Clean up duplicate entries.ts file
2026-03-26 23:10:33 +00:00
lotherk
754fea73c6 feat: immutable entries + full task logging
Entries now immutable once journal is generated:
- Edit/delete returns ENTRY_IMMUTABLE error if journal exists
- Frontend shows lock message and hides delete button
- Delete Journal button to unlock entries

Task logging now stores full JSON:
- request: full JSON request sent to AI provider
- response: full JSON response from AI provider
- prompt: formatted human-readable prompt

Prompt structure:
1. System prompt
2. Previous diary entries (journals)
3. Today's entries
2026-03-26 22:05:52 +00:00
lotherk
5c217853de feat: v0.0.1 - Groq provider, timezone, journal context, test connection, task logging
Added:
- Groq AI provider (free, fast with llama-3.3-70b-versatile)
- Timezone setting (22 timezones)
- Journal context: include previous journals (3/7/14/30 days)
- Test connection button for AI providers
- Per-provider settings (API key, model, base URL remembered)
- Detailed task logging (full prompts and responses)
- Tasks page with expandable details
- Progress modal with steps and AI output details

Fixed:
- Groq API endpoint (https://api.groq.com/openai/v1/chat/completions)
- Ollama baseUrl leaking to other providers
- Database schema references
- Proper Prisma migrations (data-safe)

Changed:
- Default AI: OpenAI → Groq
- Project renamed: TotalRecall → DearDiary
- Strict anti-hallucination prompt
- Docker uses prisma migrate deploy (non-destructive)
2026-03-26 21:56:29 +00:00
lotherk
37871271cc fix: strict anti-hallucination default prompt
- Replace creative/warm tone with factual summarization
- Explicitly forbid invention, assumption, or hallucination
- Model must ONLY use information from provided entries
- Acknowledge gaps rather than fill them
2026-03-26 20:29:40 +00:00
lotherk
a4e7132244 feat: add theme system, branding, and task logging
- Add light/dark/system theme toggle in settings
- Add DearDiary.io branding in navbar
- Add task logging for journal generation with request/response
- Rename project from TotalRecall to DearDiary
- Update Docker configuration
2026-03-26 20:03:52 +00:00
lotherk
3f9bc1f484 Initial commit: deardiary project setup 2026-03-26 19:57:20 +00:00