DailyTxT
Encrypted diary Web application to save your personal memories of each day. Includes a search function and encrypted file upload.
Alternatives
Tech stack
No tech stack added yet. Sign in to suggest some
Introduction
DailyTxT is an open-source encrypted journal web app. The frontend is written in Svelte and the backend in Go. Deploying with Docker is recommended, and the image supports both AMD64 and ARM64. The project is licensed under MIT, and an official online demo is available: https://dailytxt.phitux.de
Key Features
- Encrypted storage: Everything you write is encrypted before it is stored on the server, so even administrators cannot see your private content.
- File uploads: You can upload any files for each day, up to 500 MB per file, also stored encrypted. The system automatically recognizes images and places them in that day's gallery.
- Image viewer: Browse images by date, either as a gallery or in full-screen mode.
- Markdown editing: Write in Markdown with live preview. The editor saves automatically.
- Tags and search: You can tag your entries and search by any word, tag, or file name.
- Map: You can mark locations for each day and view them on a map. If you have a GPX file, the track is displayed as well.
- Custom templates: Create and use journal templates, and set a default template.
- Reading mode: A focused reading interface for browsing entries month by month, with adjustable date order.
- HTML export: Export your entries together with uploaded files as HTML.
- Multiple users and admin panel: Supports multiple accounts, each with its own encryption key. Administrators can manage users and can temporarily open registration for 5 minutes.
- Statistics panel: Shows journal statistics, including a writing distribution similar to the GitHub contribution graph.
- Mobile and PWA: The interface adapts to phone screens and can be installed on the home screen as a PWA. It supports swiping to switch between months and days.
- Multilingual: Supports English, German, French, Simplified Chinese, Traditional Chinese (Taiwan), Japanese, Italian, Dutch, and more.
Encryption and Data Storage
- Uses ChaCha20-Poly1305 encryption. On login, a key is derived from your password with Argon2id, and it is then used to unlock the randomly generated encryption key of the user. The encryption key never leaves the server.
- To keep search working, DailyTxT does not use client-side end-to-end encryption.
- A backup key is provided. It can be used in place of your password and lets you recover your data if you forget the password.
- All data is saved as JSON files. No database is used, which makes migration and long-term preservation easier.
Who It's For
- Privacy-conscious individuals who want to keep their journal data in their own hands
- Self-hosting enthusiasts who want to set up a shared journal service for family or friends, with everyone's content kept separate
- Users who want to combine travel, photos, and location tracks in their journal
Deployment
The official recommendation is to deploy with Docker Compose. Use the docker-compose.yml from the repository, modify it as needed, and run:
docker compose up -d
Common environment variables:
SECRET_TOKEN: the secret key, which can be generated withopenssl rand -base64 32ADMIN_PASSWORD: the admin panel passwordALLOW_REGISTRATION: whether registration is allowed. The official recommendation is to enable it only while creating the first userLOGOUT_AFTER_DAYS: the number of days the login cookie remains validBASE_PATH: use this when deploying under a subpathINDENT: makes the JSON files formatted with indentation
The container's internal port is 80, and the data directory is mounted at /data. The official recommendation is to bind the port only to 127.0.0.1 and expose it externally through a reverse proxy configured with TLS.
Notes
- Before upgrading from version 1.x (usually 1.0.15) to 2.x, be sure to back up your data first and follow the official migration instructions. Version 2.x automatically migrates data when a user logs in for the first time.
- Images with the
-testingtag are unstable test builds and should not be used in production. - The author does not guarantee backward compatibility between versions, so you should back up your data before every upgrade.
Discover more
Many Notes
Markdown note-taking web application designed for simplicity
NoteDiscovery
Your Self-Hosted Knowledge Base
SilverBullet
Note-taking application optimized for people with a hacker mindset.
flatnotes
Database-less note-taking web app that utilises a flat folder of markdown files for storage.
AFFiNE
There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
Blinko
A personal note tool with AI features.