Code Monkey home page Code Monkey logo

ducksay's Introduction

Ducksay

An example use

Introduction

Ducksay Instant brings the whimsy of unix utilities like cowsay and fortune into the modern era, leveraging the DuckDuckGo Instant Answer API. This novel twist allows your terminal's duck to do more than merely echo your input; it attempts to provide a concise answer to your queries. Whether you're looking for quick facts, definitions, or just a bit of terminal fun, Ducksay Instant is here to quack you up!

Motivation

The motivation behind Ducksay Instant was to blend the charm of terminal-based ASCII art utilities with the functionality of modern APIs. It's a nod to the playful side of programming, while also offering a unique utility for fetching quick answers straight from your terminal.

Features

  • Instant answers to a wide range of questions, powered by the DuckDuckGo Instant Answer API.
  • A friendly ASCII art duck that brings a touch of humor and personality to your terminal.
  • Easy-to-use command-line interface for fast and fun interactions.

Installation

To install Ducksay Instant globally on your system, simply run:

npm install -g ducksay-instant

This will install the package globally, allowing you to use ducksay from anywhere in your terminal.

Usage

Using Ducksay Instant is as simple as typing:

ducksay <your question here>

Example

ducksay who is Satoshi Nakamoto?

This will display an ASCII art duck alongside the answer to your question as fetched from DuckDuckGo Instant Answers.

Examples

Here are some questions you might try:

  • ducksay does p=np?
  • ducksay what is the largest planet in the solar system?
  • ducksay are you sentient?

Contributing

Contributions are welcome! Whether you're looking to add more ASCII animals, enhance the functionality, or improve the documentation, your input is valued.

License

ducksay-instant is released under the MIT License. See LICENSE for more details.

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.