krepo
is a maven repository server, built with Kotlin Native, it supports linux amd64
and linux arm64
.
Memory usage is around 15~20 MB after running continuously for 12 hours.
- Low memory usage
- High performance
- Mirroring repositories
- Etag and last-modified header verification
- Staged upload
Copy the following commands and execute it line by line(Important!!!)
$ ./init.sh
$ ./gradlew replaceDef jsBrowserDistribution
$ ./gradlew generateResources linkReleaseExecutableLinuxX64
This might take a long time to build the binary file
If you want to build linux arm64 executable, run the following command
$ ./gradlew replaceDef generateResources linkReleaseExecutableLinuxArm64
At the first startup krepo will generate the web static resources into disk and exit quickly.
- This project is open source under Apache-2.0 license, that is:
- You can directly use the functions provided by this project without any authorization
- You can distribute, modify and derive the source code at will under the condition of indicating the source copyright information
JetBrains Open Source
provided the powerful IDE support