v1.0.5
This is a Java Based open source self-hosted project useful to manage the creation and the storage of your passwords with the Glider ecosystem
Add the JitPack repository to your build file
-
Add it in your root build.gradle at the end of repositories
repositories { ... maven { url 'https://jitpack.io' } }
repositories { ... maven("https://jitpack.io") }
-
Add the dependency
dependencies { implementation 'com.github.N7ghtm4r3:Glider:1.0.5' }
dependencies { implementation("com.github.N7ghtm4r3:Glider:1.0.5") }
- Add it in your root build.gradle at the end of repositories
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
- Add the dependency
<dependency>
<groupId>com.github.N7ghtm4r3</groupId>
<artifactId>Glider</artifactId>
<version>1.0.5</version>
</dependency>
- Java
This project will be constantly developed to reach different platforms to work on, following the platforms releases steps:
- Mobile
- Android -> available!
- iOS
- Desktop Glider version -> available!
- Backend service "out-of-the-box"
To start the Glider service on your own backend infrastructure you will need to following these steps
public static void main(String[] args) {
/**
* if set on true this session will allow only one device connected, if set on false this session allow
* multiple devices connected
* **/
boolean isSingleUseMode = //flag value
/**
* if set on true this session will create a QRCode (hosted on the next port that you choose, e.g. 21 -> 22)
* with the credentials to connect at the session create, if set on false this option will be disabled
* **/
boolean QRCodeLoginEnabled = //flag value
/**
* the service port where the Glider' service will accept the requests
* **/
int hostPort = //port value
/**
* whether the session can accept requests outside localhost
* **/
boolean runInLocalhost = //flag value;
//Creation of the launcher
GliderLauncher launcher = new GliderLauncher("your_database_path", "session_password", isSingleUseMode,
QRCodeLoginEnabled, hostPort, runInLocalhost);
//Starting of the service
launcher.startService();
/**
* This will make throw an Exception to make you save the session data:
* {
* "databasePath": "your_database_path.db",
* "secretKey": "your_secret_key",
* "ivSpec": "your_iv_spec",
* "token": "your_token"
* }
**/
}
public static void main(String[] args) throws Exception {
//Pass the credentials created at the first run with a file in JSON format
GliderLauncher launcher = new GliderLauncher(new File("path_to_credentials_file.json"));
//Pass the credentials created at the first run in JSON format
GliderLauncher launcher = new GliderLauncher(new JSONObject("{\n" +
" \"databasePath\": \"your_database_path.db\",\n" +
" \"secretKey\": \"your_secret_key\",\n" +
" \"ivSpec\": \"your_iv_spec\",\n" +
" \"token\": \"your_token\"\n" +
"}"));
//Pass the credentials created at the first run one by one
GliderLauncher launcher = new GliderLauncher("your_database_path", "your_token", "your_iv_spec",
"your_secret_key");
//Starting of the service
launcher.startService();
}
If you need help using the library or encounter any problems or bugs, please contact us via the following links:
Thank you for your help!
If you want support project and developer
Crypto | Address | Network |
---|---|---|
3H3jyCzcRmnxroHthuXh22GXXSmizin2yp | Bitcoin | |
0x1b45bc41efeb3ed655b078f95086f25fc83345c4 | Ethereum |
If you want support project and developer with PayPal
Copyright © 2024 Tecknobit