All Projects → unnawut → Licensir

unnawut / Licensir

Licence: mit
An Elixir mix task that lists all the licenses used by your Mix project dependencies.

Programming Languages

elixir
2628 projects

Projects that are alternatives of or similar to Licensir

Gh License
Scan your online repo, check if it is missing the license or install the Git Hooks
Stars: ✭ 35 (-27.08%)
Mutual labels:  hacktoberfest, license
Th rosenheim
Cross-Platform Flutter App that displays customizable timetables as well as cantine information for students of the Rosenheim Technical University of Applied Sciences.
Stars: ✭ 48 (+0%)
Mutual labels:  hacktoberfest
Mserver
Server zum Steuern des Crawler
Stars: ✭ 45 (-6.25%)
Mutual labels:  hacktoberfest
Share Backported
Extension to get back the Firefox Share modal
Stars: ✭ 47 (-2.08%)
Mutual labels:  hacktoberfest
Csv To Geojson
Convert a CSV to GeoJSON
Stars: ✭ 46 (-4.17%)
Mutual labels:  hacktoberfest
Nookies
🍪 A set of cookie helpers for Next.js
Stars: ✭ 1,035 (+2056.25%)
Mutual labels:  hacktoberfest
Pwa Module
Zero config PWA solution for Nuxt.js
Stars: ✭ 1,033 (+2052.08%)
Mutual labels:  hacktoberfest
Mindconnect Nodejs
NodeJS Library for MindSphere Connectivity - TypeScript SDK for MindSphere - MindSphere Command Line Interface - MindSphere Development Proxy - typescript-sdk is waiting for your contributions!
Stars: ✭ 48 (+0%)
Mutual labels:  hacktoberfest
Abs cd
CI/CD for the Arch build system with webinterface.
Stars: ✭ 48 (+0%)
Mutual labels:  hacktoberfest
Libratbag
A DBus daemon to configure input devices, mainly high-end and gaming mice
Stars: ✭ 1,036 (+2058.33%)
Mutual labels:  hacktoberfest
Al Go Rithms
🎵 Algorithms written in different programming languages - https://zoranpandovski.github.io/al-go-rithms/
Stars: ✭ 1,036 (+2058.33%)
Mutual labels:  hacktoberfest
Flutter shuttletracker
Shuttle Tracker in Flutter
Stars: ✭ 47 (-2.08%)
Mutual labels:  hacktoberfest
Audioplayers
A Flutter plugin to play multiple audio files simultaneously (Android/iOS)
Stars: ✭ 1,042 (+2070.83%)
Mutual labels:  hacktoberfest
Camunda Webapp Translations
Translations for Camunda Cockpit/Tasklist/Admin. Your language missing? Make a PR!
Stars: ✭ 46 (-4.17%)
Mutual labels:  hacktoberfest
Data Structure And Algorithms
A complete and efficient guide for Data Structure and Algorithms.
Stars: ✭ 48 (+0%)
Mutual labels:  hacktoberfest
Php Open Graph
This package provides a fluent PHP OOP builder for Open Graph protocol.
Stars: ✭ 46 (-4.17%)
Mutual labels:  hacktoberfest
Sgdigittextfield
Elegant and Simplest Digit UITextField
Stars: ✭ 47 (-2.08%)
Mutual labels:  hacktoberfest
Lion
Fundamental white label web component features for your design system.
Stars: ✭ 1,040 (+2066.67%)
Mutual labels:  hacktoberfest
Pocket Casts Desktop App
The Pocket Casts webapp, packaged for the Linux Desktop.
Stars: ✭ 48 (+0%)
Mutual labels:  hacktoberfest
Ember Octane Vs Classic Cheat Sheet
A cheat sheet for converting classic Ember app to Octane
Stars: ✭ 48 (+0%)
Mutual labels:  hacktoberfest

Licensir Build Status Coverage Status

An Elixir mix task that list the license(s) of all installed packages in your project.

Installation

The package can be installed by adding licensir to your list of dependencies in mix.exs:

def deps do
  [
    {:licensir, "~> 0.6", only: :dev, runtime: false}
  ]
end

This mix task in most cases only needs to be run on a development machine and independent from the runtime applications, hence the only: dev, runtime: false options.

Install locally

If you do not wish to include this tool as part of your dependencies, you may also install it locally by running:

$ mix archive.install hex licensir 0.6.2

Now you can access this tool from any path on your local machine that has access to mix.

Usage

Run mix licenses to get the list of packages and their licenses:

$ mix licenses
+---------------------+---------+--------------------------------------------------------+
| Package             | Version | License                                                |
+---------------------+---------+--------------------------------------------------------+
| certifi             |         | BSD                                                    |
| earmark             | 1.3.2   | Apache 2.0                                             |
| ex_doc              | 0.20.2  | Apache 2.0                                             |
| excoveralls         |         | Unsure (found: MIT, Unrecognized license file content) |
| hackney             |         | Apache 2.0                                             |
| idna                |         | Unsure (found: BSD, MIT)                               |
| jason               |         | Apache 2.0                                             |
| makeup              | 0.8.0   | Unsure (found: BSD, Unrecognized license file content) |
| makeup_elixir       | 0.13.0  | BSD                                                    |
| metrics             |         | BSD                                                    |
| mimerl              |         | MIT                                                    |
| nimble_parsec       | 0.5.0   | Apache 2.0                                             |
| ssl_verify_fun      |         | MIT                                                    |
| table_rex           | 2.0.0   | MIT                                                    |
| unicode_util_compat |         | Unsure (found: Apache 2.0, BSD)                        |
+---------------------+---------+--------------------------------------------------------+

Run mix licenses --csv to output in csv format:

Package,Version,License
certifi,,BSD
earmark,1.3.2,Apache 2.0
ex_doc,0.20.2,Apache 2.0
excoveralls,,"Unsure (found: MIT, Unrecognized license file content)"
hackney,,Apache 2.0
idna,,"Unsure (found: BSD, MIT)"
jason,,Apache 2.0
makeup,0.8.0,"Unsure (found: BSD, Unrecognized license file content)"
makeup_elixir,0.13.0,BSD
metrics,,BSD
mimerl,,MIT
nimble_parsec,0.5.0,Apache 2.0
ssl_verify_fun,,MIT
unicode_util_compat,,"Unsure (found: Apache 2.0, BSD)"

Flags

  • --top-level-only - Only fetch license information from top level dependencies (e.g. packages that are directly listed in your application's mix.exs). Excludes transitive dependencies.

Usage as a library

You may call the function Licensir.Scanner.scan() from your Elixir application to get a list of license data per dependency.

iex> Licensir.Scanner.scan([])
[
  %Licensir.License{
    app: :jason,
    dep: %Mix.Dep{
      app: :jason,
      deps: ...
    },
    file: "Apache 2",
    hex_metadata: ["Apache 2.0"],
    license: "Apache 2.0",
    mix: nil,
    name: "jason",
    version: nil
  },
  %Licensir.License{...},
  ...
]

License

Copyright (c) 2017-2019, Unnawut Leepaisalsuwanna.

Licensir is released under the MIT License.

This project contains 3rd party work as follow:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].