Favicon of Dnote

Dnote

Quickly save commands, snippets, and insights from your terminal. Find them instantly with full-text search and sync across devices with a self-hosted server.

Capture commands, code snippets, and important notes without ever leaving your command line. This simple notebook is designed for developers who want to quickly save and retrieve information. Find exactly what you need in seconds with powerful full-text search, eliminating the need to scroll through endless command history.

It's built for simplicity and portability:

  • Single binary: No dependencies or package managers needed. Just download and run on macOS, Linux, FreeBSD, or Windows.
  • Bring your own editor: Works seamlessly with your favorite terminal or GUI text editor.
  • SQLite format: Your entire knowledge base is a single file, making backups and migration straightforward.

For multi-device access, you can run an optional self-hosted server to sync your notes. This also provides a REST API, allowing you to build custom integrations and access your data programmatically. As a free and open-source tool, you have full control and ownership of your knowledge.

Directory Structure

dnote
db-data
.env
docker-compose.yml

docker-compose.yml

services:
  db:
    image: postgres:14-alpine
    restart: unless-stopped
    environment:
      POSTGRES_USER: dnote
      POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
      POSTGRES_DB: dnote
    volumes:
      - ./db-data:/var/lib/postgresql/data

  server:
    image: dnote/server:latest
    restart: unless-stopped
    depends_on:
      - db
    ports:
      - "5044:5044"
    environment:
      - POSTGRES_URL=postgres://dnote:${POSTGRES_PASSWORD}@db:5432/dnote?sslmode=disable
      - API_SECRET=${API_SECRET}

.env

POSTGRES_PASSWORD=your_secure_postgres_password
API_SECRET=your_super_secret_api_key_for_jwt

Share:

Ad
Favicon

 

  
 

Similar to Dnote

Favicon

 

  
  
Favicon

 

  
  
Favicon