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

language-usage-charts

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

language-usage-charts

  • 0.1.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Language Usage Charts

What is this project?

This project started life as a way to add Github language usage-esque graphics to an independent CI/CD pipeline.

Installation

System Dependencies

This package relies on Github Linguist which in turn relies on charlock_holmes and rugged. These dependencies require quite a few system packages to work properly.

If you're using a Debian variant distro all dependencies can be installed via:

sudo apt-get install cmake pkg-config libicu-dev zlib1g-dev libcurl4-openssl-dev libssl-dev ruby-dev

Package installation

From the project root directory (the one containing the .gempspec file) run the following command.

bundle exec rake install

Usage

Once things have been installed with bundle language usage charts can be generated from anywhere using generate_usage_chart $OPTS. The following options are supported.

OptionUsageExample
-r. --repoPath to a git repository."."
-o, --outPath where usage chart should go."./usage_chart.png"

Example usage:

generate_usage_chart -r "." -o "./language_usage_chart.png"

FAQs

Package last updated on 19 Mar 2019

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