Sign inSign up

moul/wipchat

By moul

•Updated almost 5 years ago

Golang wip.chat client + CLI

Image
0

1.2K

moul/wipchat repository overview

⁠wipchat

:smile: wipchat

CI go.dev reference License GitHub release Go Report Card CodeFactor codecov Docker Metrics GolangCI Made by Manfred Touron

⁠Usage

$ export WIPCHAT_KEY=XXX
$ wipchat todo šŸ‘‹ hello world
{
  "CreateTodo": {
    "ID": "150865",
    "CreatedAt": "2020-05-24T23:43:14Z",
    "UpdatedAt": "2020-05-24T23:43:14Z",
    "Body": "šŸ‘‹ hello world",
    "User": {
      "ID": "1780",
      "URL": "https://wip.co/@moul"
    }
  }
}
$ wipchat done "šŸ‘‹ hello world #oss"wipchat
{
  "CreateTodo": {
    "ID": "150866",
    "CreatedAt": "2020-05-24T23:44:15Z",
    "CompletedAt": "2020-05-24T23:44:15Z",
    "UpdatedAt": "2020-05-24T23:44:15Z",
    "Body": "šŸ‘‹ hello world #oss",
    "Product": {
      "ID": "3493",
      "Hashtag": "oss",
      "URL": "https://wip.co/products/oss"
    },
    "User": {
      "ID": "1780",
      "URL": "https://wip.co/@moul"
    }
  }
}
$ wipchat me  | jq . | head -11
{
  "Viewer": {
    "ID": "1780",
    "URL": "https://wip.co/@moul",
    "Username": "moul",
    "Firstname": "Manfred",
    "Lastname": "Touron šŸ‡«šŸ‡·",
    "AvatarURL": "https://wip.imgix.net/cache/user/1780/avatar/acb8193abf5d107a8d644da41b071494.png?ixlib=rb-3.2.1&w=64&h=64&fit=crop&s=1b2e60b141240f8b3f975a2dc42f5cb5",
    "CompletedTodosCount": 128,
    "BestStreak": 16,
    "Streaking": true,
$ wipchat me | jq '.Viewer.Todos[].Body'
"🟨 join WIP #life"
"🟨 add #berty on WIP"
"🟨 add #oss on WIP"
"ā™»ļø find or make an integration to have my todos on WIP without leaving trello #life"
"šŸ› fix an AMP bug in a hugo-template, that I missed for multiple weeks on my personal website #life"
$ wipchat me | jq '.Viewer.Products[].Name'
"Missions"
"protoc-gen-gotemplate"
"Alfred TOTP"
"Scaleway"
"gRPCb.in"
"FranceP2P / Paris P2P"
"Ultreme"
"Wulo"
"WIP Tools"
"Berty"
"Manfred's Life"
"Open-source stuff"
"Millipede"
"multiarch"
"Pathwar"
"depviz"
"sshportal"
"assh"

⁠Install

⁠Using go
$ go get -u moul.io/wipchat
⁠Releases

See https://github.com/moul/wipchat/releases⁠

⁠License

© 2020-2021 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)

Tag summary

Content type

Image

Digest

Size

6.5 MB

Last updated

almost 5 years ago

docker pull moul/wipchat