https://github.com/attomos/bear_todo_counter
🐻 A simple Python script to put a TODO progress in Bear note's title.
https://github.com/attomos/bear_todo_counter
bear note-taking todo
Last synced: 8 months ago
JSON representation
🐻 A simple Python script to put a TODO progress in Bear note's title.
- Host: GitHub
- URL: https://github.com/attomos/bear_todo_counter
- Owner: attomos
- License: mit
- Archived: true
- Created: 2019-07-27T02:54:35.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-11-02T03:08:15.000Z (over 5 years ago)
- Last Synced: 2025-01-28T17:39:34.436Z (over 1 year ago)
- Topics: bear, note-taking, todo
- Language: Python
- Homepage:
- Size: 5.35 MB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bear_todo_counter
[](https://travis-ci.com/attomos/bear_todo_counter)

Visual progress bar provided by Bear is nice, but sometimes I need to know how many tasks need to
be done.
`bear_todo_counter` addresses this problem, allowing you to put a TODO progress in [Bear][bear]
note's title.
## Motivation
Inspired by [org-mode][org-mode]'s [subtasks progress][org-mode-tasks], this simple Python script
will:
1. read the text from clipboard
2. count number of completed items and total items
3. set the clipboard with the original text + TODO progress in the first line
### Org mode Subtasks Progress

### :bear: with bear_todo_counter

## Usage
I trigger this script using [BetterTouchTool][btt] with a simple sequence of actions.
Screenshots below should explain everything.


## Running tests
```bash
# in virutalenv or whatever env management of your choice
pip install -r requirements.txt
pytest
pytest --cov bear_todo_counter # with coverage
```
[bear]: https://bear.app/
[org-mode]: https://orgmode.org/
[org-mode-tasks]: https://orgmode.org/manual/Breaking-down-tasks.html
[btt]: https://folivora.ai/