An open API service indexing awesome lists of open source software.

https://github.com/rochelvi/notion-cli

notion-cli or clition is a simple command-line note manager with tags, search, and localization (English/Russian). All data is stored locally in ~/.local/share/notion_data.json.
https://github.com/rochelvi/notion-cli

cli-app linux-app notes notes-app productivity programming

Last synced: 6 months ago
JSON representation

notion-cli or clition is a simple command-line note manager with tags, search, and localization (English/Russian). All data is stored locally in ~/.local/share/notion_data.json.

Awesome Lists containing this project

README

          

# notion-cli

**notion-cli** or **clition** is a simple command-line note manager with tags, search, and localization (English/Russian). All data is stored locally in `~/.local/share/clition/clition_data.json`.

## Features

- Create, rename, and delete notes
- Add text and tags to notes
- View and edit note content in your external editor (`nano`, `vim`, etc.)
- Search by title, tags, and content
- Show all notes
- Automatic interface localization (based on system language)

## Installation

### Build

```bash
./build.sh
```

### Install

- For current user:
```bash
./install.sh --user
```
- System-wide (requires sudo):
```bash
./install.sh
```

### Uninstall

```bash
./install.sh --remove
```

## Usage

```bash
clition --create "Note title"
clition --rename
clition --remove
clition --add "Text"
clition --tags tag1 tag2
clition --show
clition --edit
clition --search
clition --all
clition --help
```

- To show all notes:
```bash
clition --all
```
or
```bash
clition --search '*'
```

- To edit note content in your external editor:
```bash
clition --edit
```
By default, the editor from the `EDITOR` environment variable is used (e.g., `nano`).

## Data Storage

All notes are stored in:
```
~/.local/share/notion_data.json
```

## Localization

The interface language is automatically detected from the `LANG` environment variable. If translation is unavailable, English is used.

## Dependencies

- Python 3.x (mavbe you will need python3-venv to create isolated env) and Python3-dev
- [pyinstaller](https://pypi.org/project/pyinstaller/) and binutils (for building, installs automatically in isolated environment)

---

## Contributing

You can create pull request in this project

**This project is designed for local note management and does not require nor communicate with any external servers.**

### What about creating installation packages?
I will work on this!