GithubHelp home page GithubHelp logo

12f23eddde / reclicense Goto Github PK

View Code? Open in Web Editor NEW

This project forked from osslab-pku/reclicense

0.0 0.0 0.0 129.13 MB

License: Mulan Permissive Software License, Version 2

Shell 4.91% JavaScript 0.15% Ruby 0.91% C++ 2.12% Python 80.61% Perl 0.59% C 7.48% PHP 0.97% Emacs Lisp 0.31% Objective-C 0.01% Java 1.14% Nu 0.01% Go 0.21% C# 0.09% Assembly 0.34% Ada 0.10% PowerShell 0.01% Kotlin 0.04% AppleScript 0.01% Awk 0.01%

reclicense's Introduction

LicenseRec

The tool is available at licenserec.com.

Environment: Ubantu20.04, Python3.8, Java1.8, Node.js v18.10.0

Backend

configure scancode:

cd scancode-toolkit

./configure --clean

./configure

source venv/bin/activate

Github API Access

You should create a file named token which contains your own Github token in backend/app/token.

MongoDB

File backend/app/compatibility_check.py uses MongoDB to query the license of a package. You can generate the collection projects by projects.json which is from libraries.io.

run flask:

cd backend

pip install -r requirements.txt

flask run -p 1120

Frontend

Dev

# install dependencies

cd frontend
npm install

# serve with hot reload at localhost:1121
npm run dev

Then you can visit http://localhost:1121/

Build

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

Image text

  • Mulan PSL v2 as the overall license.
  • Apache-2.0 for scancode-tookit. We modified detection rules of Mulan series licenses in scancode-toolkit/src/licensedcode/data/rules and scancode-toolkit/src/licensedcode/data/licenses.
  • The third-party tool, depends, is from https://github.com/multilang-depends/depends.

reclicense's People

Contributors

zhcxww avatar

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.