Coder Social home page Coder Social logo

stylus's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar mmastrac avatar trivikr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

stylus's Issues

OSX 'Unable to parse configuration'

thread 'main' panicked at 'Unable to parse configuration: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/main.rs:69:18
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

I followed the docker example and also from the sh manually.

My directory being mounted looks like
-config.yml
-monitor.d
-- dns
---config.yaml
---dns.sh

STR.

  1. docker run --rm -it -p 8000:8000 -v $PWD:/srv mmastrac/stylus:latest sh
  2. I can confirm /srv has my files
  3. running stylus stylus srv/config.yaml results in the error mentioned above.

Add pup tool to docker image

pup is useful for parsing HTML. It's not perfect but seems to be the best way to parse HTML at the command-line.

Automated Mac builds

We currently offer builds for multiple versions of Linux, but we don't offer builds for Mac.

Test mode

Ideally a "test mode" option would allow users to quickly test scripts in an easier environment than having to boot the whole stack up.

For example:

stylus --test my_server

Would output the test log and a final summary of the status.

"matrix" style monitoring

A matrix should allow you to configure a single file that can use multiple axes to simplify configuration.

For example:

matrix:
  - axis: [1,2,3]
  - variable: index
  - config:
      id: raspberry-pi-{{index}}
      test:
        timeout: 30s
        interval: 60s
        command: test.sh

It should be valid to nest matrix configurations.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.