Skip to content

bvrvl/den-den-ink

Repository files navigation

Den Den Ink 🐌

Den Den Ink is a fast, simple, and thematic command-line tool for taking notes, inspired by the loyal communication snails 🐌 of One Piece 🐌 .

🐌🐌🐌

License: MIT Release Made with C++ Platform

🐌🐌🐌

Features

  • General & Programming Notes: Supports standard notes and specialized notes for developers that automatically capture context like the current directory and Git branch.
  • Flexible Tagging: Add #tags anywhere in your noteβ€”before, after, or even inside the text.
  • Powerful Search: Quickly find notes by text and tags.
  • Quick Listing: List recent notes or filter by a specific tag.
  • Insightful Stats: Get an overview of your note-taking habits, including top tags and project activity.
  • Thematic Flair: Fun, 🐌 snail-themed 🐌 confirmations and icons.

Installation

You can install Den Den Ink by building it from the source.

Prerequisites

You will need:

  • A C++17 compliant compiler (like clang++ on macOS or g++ on Linux).
  • The SQLite3 development libraries.

On macOS (with Homebrew):

brew install sqlite

On Debian/Ubuntu:

sudo apt-get update
sudo apt-get install libsqlite3-dev build-essential

Build from Source

  1. Clone the repository
git clone https://github.com/bvrvl/den-den-ink.git
cd den-den-ink
  1. Compile the application
clang++ -std=c++17 -o ink main.cpp database.cpp metadata_collector.cpp note_formatter.cpp stats_engine.cpp -lsqlite3
  1. Make it globally accesible:
sudo mv ink /usr/local/bin/

Usage

Here are the 5 core commands:

  1. Add a General Note:
# Tags can be anywhere
ink "This is a general note" #idea
ink #shopping "Buy milk and eggs"
ink "Remember to call #mom"
  1. Add a Programming Note

(The p command must immediately follow ink)

ink p "Refactored the database module" #cpp #refactor
  1. Search for Notes
# Search by text
ink search "database"

# Search by text and tag
ink search "refactor" #cpp
  1. List Notes
# List the last 10 notes
ink list

# List all notes with a specific tag
ink list #shopping
  1. Show Statistics
ink stats

Contributing

Found a bug or have a feature request? We'd love your help! Please open an issue or submit a pull request on our GitHub Repository

License

This project is licensed under the MIT License. See the LICENSE file for details.

🐌🐌🐌

About

🐌 A fast, simple, and thematic C++ command-line tool for taking notes, inspired by the loyal snails of One Piece.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages