Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/geyang/alice
A command line tool to pipe stdout to a logging server
https://github.com/geyang/alice
Last synced: about 2 months ago
JSON representation
A command line tool to pipe stdout to a logging server
- Host: GitHub
- URL: https://github.com/geyang/alice
- Owner: geyang
- Created: 2020-09-07T07:24:47.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-04-20T18:08:56.000Z (over 3 years ago)
- Last Synced: 2024-04-25T17:42:37.937Z (8 months ago)
- Language: Python
- Size: 154 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
Alice, real-time piping console outputs to the web
==================================================Examples
--------.. code-block:: bash
python train_lstm.py | alice --path $USER/$JOB_ID
now on `https://alice.io/username/job_id <>`__, you will be able to see
the console at real time.Configurations
--------------There are a few ways to configure ``alice``. Through command line:
.. code-block:: bash
usage: alice [-h] [--path PATH] [-q] [-i IP] [--port PORT] [-d DELAY]
[-u USERNAME] [--token TOKEN]optional arguments:
-h, --help show this help message and exit
--path specify the path to log to on the server
-q, --quiet disable stdin pass-through
-i, --ip host
--port server port
-d, --delay delay before starting to send data
-u, --username username for the server
--token access_tokenThrough environment variables, you can add the following to your
`~/.profile <~/.profile>`__.::
export ALICE_USERNAME=""
export ALICE_TOKEN=""
export ALICE_HOST=localhost
export ALICE_PORT=l337