Giter Club home page Giter Club logo

licensebat-1's Introduction

Licensebat

A tool to help you verify that your dependencies comply with your license policies.

What is Licensebat?

Licensebat is a CLI that you can use for free to verify that the dependencies of your project follow your license policies.

Let's say, for instance, that you are building a commercial application. In that case, you may consider avoiding the use of some software with a restrictive license like GPL.

By using Licensebat, you can check you don't have any dependency with such a restrictive license. Normally, it will look in all the the dependency tree of your project, so transient dependencies will also be considered.

Feel free to use the CLI in your CI/CD pipeline, or in your continuous integration server.

IMPORTANT: licensebat-cli is still in development so you may use it at your own risk.

Licensebat GitHub App

Licensebat can be used directly in your GitHub repositories by installing the GitHub App.

Note that this app is totally free for open source projects.

It has paid tiers for commercial projects, although you can still leverage the free tier if you don't have many changes in your repository.

Licensebat CLI

If you want to learn more about the CLI, take a look at the project's README.md. There you will find information about how to use it.

Supported languages

These are the languages that Licensebat is supporting right now:

Project structure

This is a monorepo exposing several crates.

Two of them correspond to the core traits and the cli, and the rest are dedicated to support specific languages.

Although in this repository there's only a bin (i.e the CLI), the language crates are also being use to support the Licensebat GitHub App.

Main crates

Crates.io Crates.io

Language crates

Crates.io Crates.io Crates.io

Supporting a new language

If you want to support a new language you must create a new crate named licensebat-<language>. Eventually, it will be published to crates.io.

Normally, you should create a README.md file in the licensebat-<language>. You can copy the README.md file from the licensebat-core crate.

Generally speaking, these projects will contain, at least, a Collector, which will parse the dependency file (Cargo.lock, package.json...) and retrieve information about the dependencies, most of the times using a Retriever. Note that a Collector doesn't necessarily need a Retriever or even parse the dependency file. There will be times where you'll probably can use a better strategy (e.g. using cargo-metadata instead of parsing Cargo.lock and using crates.io API).

licensebat-1's People

Contributors

robertohuertasm avatar

Stargazers

 avatar

Forkers

c33t33

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.