Coder Social home page Coder Social logo

nodebot's Introduction

#Nodebot

A helper robot written for the busy developer. Nodebot can (currently):

  • Compile javascripts using Uglify.js (And all javascripts in a directory)
  • Validate html (websites too), css, and javascript
  • Watch files for changes and validate them there is a supported validator
  • Report system information such as ip addresses, free memory, and host names
  • Query Wolfram|Alpha for definitions and answers to complex questions.

npm install nodebot -g

Example commands

$ nodebot What is the capital of Spain?

$ nodebot is nodebot.js valid?

$ nodebot watch ./nodebot.js

$ nodebot how much free memory do I have?

Validate Javascript, CSS, and HTML (websites work too)

$ nodebot is nodebot.js valid?

Nodebot: Oh snap! I found 1 error in nodebot.js: 
----------------------------------
48:12 - Don't make functions within a loop.
 

General Information

$ nodebot

Nodebot: What can I help you with?
 Response: what is the current directory

Nodebot: The current directory is /Users/nate/Sites/nodebot

Nodebot: What can I help you with?
 Response: what is my ip address?

Nodebot: User's ip address is 

   local - 127.0.0.1
external - 172.30.9.66

Nodebot: What can I help you with?
 Response: What is your name?

Nodebot: Nodebot's name is Nodebot

Compiling javascript

$ nodebot compile all javascript as min.js

Nodebot: I am now compiling all javascript into min.js

Nodebot: Files have changed. Compiling all javascript into min.js.

nodebot's People

Contributors

nhunzaker avatar

Watchers

James Cloos avatar

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.