https://github.com/l-lin/trello-daily-logs
Track daily activities from Trello cards in a single list
https://github.com/l-lin/trello-daily-logs
golang trello
Last synced: 3 months ago
JSON representation
Track daily activities from Trello cards in a single list
- Host: GitHub
- URL: https://github.com/l-lin/trello-daily-logs
- Owner: l-lin
- License: mit
- Archived: true
- Created: 2020-02-06T13:48:35.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-11-30T08:33:36.000Z (over 3 years ago)
- Last Synced: 2025-01-20T15:17:09.356Z (3 months ago)
- Topics: golang, trello
- Language: Go
- Size: 29.3 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# trello-daily-logs
[](https://godoc.org/l-lin/trello-daily-logs)
I want to track what I did during the day, and as I'm using Trello to manage my daily tasks, I can
use the [Trello APIs](https://developers.trello.com/docs/api-introduction) to fetch the card
information, especially the ones from my `DONE` list.This CLI is used to:
- get the Trello card information
- append/prepend today's content into a file `/path/to/daily-logs/2020/02.md`:```md
## Sunday 09**ABANDONED**
api@spec: write OpenAPI specifications
**PERSO**
career@interview: find good questions for interview
career: find good path
**WORK**
api@gravitee: install in prod environment
# Gravitee in prod
## Getting started- get up from bed
- brush teethapi@spec: write OpenAPI specifications
---
UNFINISHED
**PERSO**
shopping: buy milk
**WORK**
projectA@taskA: study solutions
projectB@taskB: implement solution
```
## Getting started
```bash
# Build
make compile
```## Usage
```bash
# Run binary
./bin/trello-daily-logs -h
# Or directly using go
go run .
# Install
go install
# Don't forget to run at least once to initialize the config file
trello-daily-logs
```Add to the crontab:
```bash
25 18 * * 1-5 /home/llin/.asdf/shims/trello-daily-logs -f file 1> /dev/null 2> /tmp/trello-daily-logs.log
26 18 * * 1-5 /home/llin/perso/trello-daily-logs/commit.sh 1> /dev/null 2> /tmp/trello-daily-logs.commit.log
```