osslib-android
osslib-android copied to clipboard
Showcase all the open-source libraries that your project uses with a single line of code
osslib-android
I'm open-sourcing my tool to showcase all the open-source libraries that your project uses with a single line of code.
Honestly speaking I don't like the way the open-source libraries are displayed in projects and I would like to create a better exposure of libraries and more info for the users/developers to act on it.
I personally use this library to list the projects/libraries that my app use to the users so that they can view and even use these projects in their app.
Installation gradle
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
implementation 'com.github.codekidX:osslib-android:0.0.1'
How to use this library ?
This library works in 2 steps and 1 line of code:
2 steps:
-
Generate
osslib.json
contents by using osslib-web generator. Look at working here. -
Click on copy to clipboard option and save it as
osslib.json
into your project assets folder.
1 line of code:
Kotlin
startActivity(Intent(this@MainActivity, OSSLActivity::class.java))
Java
startActivity(new Intent(this, OSSLActivity.class))
And it will show you a screen like this
Easy right?!