owc-insight

command module
v0.0.0-...-2356f49 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2022 License: MIT Imports: 11 Imported by: 0

README

owc-insight

openwechat insight

Features

  • Using the industry best practices, e.g., machine-readable&analyzable logging.
  • Trying to be as considerate/user-friendly as possible. E.g., display QR Code right in terminal, and even in small 80x25 size windows:
    image
  • Make every possible effort to be robust and fault-tolerance. E.g., trying to recover from any temporary failures:
    image
  • Using every possible attempt to stay alive & connected, while making the approach discreet (undetectable from the server end). E.g., stay-alive in debug mode:
    image

Execution

Fault-tolerance execution loop, until no longer able to do hot relogin:

while :; do OWCI_LOG=2 owc-insight ; [ $? -eq 9 ] && break; sleep 5m; done; rm storage.json; echo "Down at `date`", send Down Alert

image

This has been running for the whole day and is still going strong.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
test

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL