Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

aaq

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aaq


Version published
Maintainers
1
Created
Source

AAQ - Ascii Art Quine

Gem Version MIT License

Create ascii art quine from image file.

Demo.gif

Quick start with Docker

You can try aaq easily with yskoht/aaq.

# Download sample image
curl -O https://github-media-downloads.s3.amazonaws.com/Octocats.zip && unzip Octocats.zip

# Mount current directory to read image file
docker run --rm -v $(pwd):/root yskoht/aaq aaq Octocat/Octocat.png --color

Installation

$ gem install aaq

Usage

Simple quine.

aaq Octocat/Octocat.png

Colorful quine.

aaq Octocat/Octocat.png --color

Delete escape sequence.

aaq Octocat/Octocat.png --color | ruby -ne 'puts $_.gsub(/\e.*?m/, "")' | ruby

Put --color option.

aaq Octocat/Octocat.png | xargs -0 -J % ruby -e % '' --color

In your source code.

require 'aaq'

puts AAQ::AAQ.new(img_file_name).convert

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/yskoht/aaq.

License

The gem is available as open source under the terms of the MIT License.

FAQs

Package last updated on 17 Dec 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc