makerlog
😄 makerlog
Usage
Login
# get a token by yourself or use the built-in login helper
$ makerlog login --username=YOUR_USERNAME --password=YOUR_PASS
cof2CuG3Aungiegi5udee9zaeBiemu1gohngiusa
# then use this token as parameter
$ makerlog --token=YOUR_TOKEN COMMAND
# or env var
$ export MAKERLOG_TOKEN=YOUR_TOKEN
$ makerlog COMMAND
Create raw tasks
$ makerlog raw tasks_create --content="new task from the API!" --done --description=❤️
{
"attachment": null,
"comment_count": 0,
"content": "new task from the API!",
"created_at": "2020-07-16T13:38:28.356311Z",
"description": "❤️",
"done": true,
"done_at": "2020-07-16T13:38:28.356079Z",
"due_at": null,
"event": null,
"id": 287858,
"in_progress": false,
"og_image": null,
"praise": 0,
"project_set": [],
"updated_at": "2020-07-16T13:38:28.356329Z",
"user": {
"accent": "#ff00e8",
"avatar": "https://gravatar.com/avatar/da14d5cef42c8142d3d40286f28f29bd?s=150\u0026d=mm\u0026r=pg",
"bmc_handle": "moul",
"dark_mode": false,
"date_joined": "2020-06-15T12:18:59.081300Z",
"description": "Coding every day since 2014",
"digest": true,
"donor": false,
"email_notifications": true,
"first_name": "Manfred",
"github_handle": "moul",
"gold": true,
"hardcore_mode": true,
"header": null,
"id": 5865,
"instagram_handle": "",
"is_live": false,
"is_staff": false,
"last_name": "Touron",
"maker_score": 406,
"nomadlist_handle": "moul",
"og_image": "https://ik.imagekit.io/makerlog/media/uploads/og/2020/07/16/156f001e-f0e0-4bf0-a679-7769cc970b75.jpg",
"private": false,
"product_hunt_handle": "m42am",
"shipstreams_handle": "moul42",
"status": null,
"streak": 8,
"telegram_handle": "",
"tester": false,
"timezone": "Europe/Paris",
"twitter_handle": "moul",
"username": "moul",
"verified": false,
"website": "https://manfred.life",
"week_tda": 2,
"weekends_off": false
}
}
Get raw tasks
# 5865 is my user id (moul), without this option, you get everybody's tasks
$ makerlog raw tasks_list --user=5865 | jq 'del(.results[].user)'
{
"count": 476,
"next": "https://api.getmakerlog.com/tasks/?limit=20&offset=20&user=5865",
"results": [
{
"id": 287829,
"done": true,
"content": "🎉 release a first version of my Golang's #makerlog API client + CLI",
"created_at": "2020-07-16T13:33:11.556909+02:00",
"updated_at": "2020-07-16T13:33:24.366567+02:00",
"done_at": "2020-07-16T13:33:11.556575+02:00",
"project_set": [
{
"id": 13807,
"name": "makerlog",
"user": 5865
}
],
"attachment": "https://ik.imagekit.io/makerlog/media/uploads/tasks/2020/07/16/Screenshot_-_Manfred_2020-07-16_at_13.32.16.png",
"og_image": "https://ik.imagekit.io/makerlog/media/uploads/tasks/2020/07/16/8c7c9ae2-3c24-4efb-9975-65a0833615b0.jpg"
},
{
"id": 287805,
"done": true,
"content": "🐙 yesterday on GitHub #oss #berty #sgtm",
"created_at": "2020-07-16T11:09:26.386739+02:00",
"updated_at": "2020-07-16T11:45:31.442381+02:00",
"done_at": "2020-07-16T11:09:26.386547+02:00",
"project_set": [
{
"id": 13767,
"name": "sgtm",
"user": 5865
},
{
"id": 13394,
"name": "berty",
"user": 5865
},
{
"id": 13405,
"name": "oss",
"user": 5865
}
],
"praise": 5,
"attachment": "https://ik.imagekit.io/makerlog/media/uploads/tasks/2020/07/16/320fc7e105e436af22eb1fa67c9cb415.png",
"og_image": "https://ik.imagekit.io/makerlog/media/uploads/tasks/2020/07/16/0c062ed4-32eb-487f-8b6b-32e9db41e607.jpg"
},
{
"id": 287472,
"done": true,
...
Get raw notifications
$ makerlog raw notifications_list | jq ". | length"
1
$ makerlog raw notifications_list | jq ".[0]"
{
"id": 238616,
"key": "received_praise",
"verb": "praised you",
"recipient": {
"id": 5865,
"username": "moul",
"first_name": "Manfred",
"last_name": "Touron",
"description": "Coding every day since 2014",
"avatar": "https://gravatar.com/avatar/da14d5cef42c8142d3d40286f28f29bd?s=150&d=mm&r=pg",
"streak": 8,
"timezone": "Europe/Paris",
"week_tda": 1,
"twitter_handle": "moul",
"product_hunt_handle": "m42am",
"github_handle": "moul",
"nomadlist_handle": "moul",
"bmc_handle": "moul",
"shipstreams_handle": "moul42",
"website": "https://manfred.life",
"digest": true,
"gold": true,
"accent": "#ff00e8",
"maker_score": 413,
"hardcore_mode": true,
"email_notifications": true,
"og_image": "https://ik.imagekit.io/makerlog/media/uploads/og/2020/07/16/612312ff-d17f-44e3-9203-264bff6655ec.jpg",
"date_joined": "2020-06-15T14:18:59.0813+02:00"
},
"actor": {
"id": 1070,
"username": "lori",
"first_name": "Lori",
"last_name": "Karikari",
"description": "web dev and ops",
"avatar": "https://ik.imagekit.io/makerlog/media/uploads/avatars/2020/02/29/IMG_20200210_131130_4055221726763142286.jpg",
"streak": 127,
"timezone": "Europe/Paris",
"week_tda": 3,
"twitter_handle": "LoriKarikari",
"instagram_handle": "lorikarikari",
"product_hunt_handle": "lorikarikari",
"github_handle": "lorikarikari",
"telegram_handle": "lorikarikari",
"gold": true,
"accent": "#9a35ce",
"maker_score": 659,
"dark_mode": true,
"weekends_off": true,
"og_image": "https://ik.imagekit.io/makerlog/media/uploads/og/2020/07/16/a8fd93d9-ab24-4425-beb0-c22cdab6c8d9.jpg",
"date_joined": "2018-12-12T13:49:09.353972+01:00"
},
"target": {
"id": 287805,
"done": true,
"content": "🐙 yesterday on GitHub #oss #berty #sgtm",
"created_at": "2020-07-16T11:09:26.386739+02:00",
"updated_at": "2020-07-16T11:45:31.442381+02:00",
"done_at": "2020-07-16T11:09:26.386547+02:00",
"user": {
"id": 5865,
"username": "moul",
"first_name": "Manfred",
"last_name": "Touron",
"description": "Coding every day since 2014",
"avatar": "https://gravatar.com/avatar/da14d5cef42c8142d3d40286f28f29bd?s=150&d=mm&r=pg",
"streak": 8,
"timezone": "Europe/Paris",
"week_tda": 1,
"twitter_handle": "moul",
"product_hunt_handle": "m42am",
"github_handle": "moul",
"nomadlist_handle": "moul",
"bmc_handle": "moul",
"shipstreams_handle": "moul42",
"website": "https://manfred.life",
"digest": true,
"gold": true,
"accent": "#ff00e8",
"maker_score": 413,
"hardcore_mode": true,
"email_notifications": true,
"og_image": "https://ik.imagekit.io/makerlog/media/uploads/og/2020/07/16/612312ff-d17f-44e3-9203-264bff6655ec.jpg",
"date_joined": "2020-06-15T14:18:59.0813+02:00"
},
"project_set": [
{
"id": 13767,
"name": "sgtm",
"user": 5865
},
{
"id": 13394,
"name": "berty",
"user": 5865
},
{
"id": 13405,
"name": "oss",
"user": 5865
}
],
"praise": 5,
"attachment": "https://ik.imagekit.io/makerlog/media/uploads/tasks/2020/07/16/320fc7e105e436af22eb1fa67c9cb415.png",
"og_image": "https://ik.imagekit.io/makerlog/media/uploads/tasks/2020/07/16/0c062ed4-32eb-487f-8b6b-32e9db41e607.jpg"
},
"created": "2020-07-16T11:45:15.248305+02:00",
"target_type": "task"
}
Install
Using go
$ go get -u moul.io/makerlog/cmd/makerlog
Releases
See https://github.com/moul/makerlog/releases
Contribute
I really welcome contributions. Your input is the most precious material. I'm well aware of that and I thank you in advance. Everyone is encouraged to look at what they can do on their own scale; no effort is too small.
Everything on contribution is sum up here: CONTRIBUTING.md
Contributors ✨
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
Stargazers over time
License
© 2020 Manfred Touron
Licensed under the Apache License, Version 2.0 (LICENSE-APACHE
) or the MIT license (LICENSE-MIT
), at your option. See the COPYRIGHT
file for more details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)