简体中文 | English
FOLib is a full-language software supply chain service platform built for AI R&D.
- Language Support: Covers 23+ full-language repositories, including mainstream tools such as npm, Maven, PyPi, Docker, Gradle, SBT, Cocoapods, Swift, RPM, Debian, OPKG, PHP, Go, Pub, Ivy, NuGet, Conda, Cargo, Conan, Yarn, GitLFS, Helm, and OHPM;
- AI Model Library & Ecosystem: Supports proxy and synchronization of mainstream AI model repositories like Huggingface, Ollama, and ModelScope, as well as tool privatization upload and promotion distribution;
- AIAgent & MCP Support: Enables query and display of multi-dimensional graph data including metadata requirements, services, artifacts, security vulnerabilities, and dependency certificates. It also supports the MCP context protocol, allowing AIAgent to realize functions such as intelligent query and recommendation of artifact libraries, intelligent repair of security vulnerabilities, and intelligent promotion synchronization;
- Containerization & Cloud-Native Support: Supports Docker V1/V2/OCI image formats, multiple clients including nerdctl, crictl, ctr, and podman, layered transmission, and single-layer breakpoint resume. It supports webdav to provide cloud-native data mounting capabilities for large files.
Tips: MYSQL needs to be prepared in advance
1. Create a directory, take /data/folib as an example
mkdir -p /data/folib/folib-data/logs
2. Start the container
docker run -itd -p 38080:38080 -p 7010:7010 -p 7011:7011 -p 7199:7199 -p 49142:49142 -p 8182:8182 \
--name folib-server \
--restart=always --privileged=true \
-e FOLIB_PORT=38080 \
-e FOLIB_JVM_XMX=8192m \
-e FOLIB_JVM_XMS=8192m \
-e FOLIB_JVM_XSS=512k \
-e FOLIB_MYSQL_HOST=127.0.0.1 \
-e FOLIB_MYSQL_PORT=3306 \
-e FOLIB_MYSQL_DB=folib \
-e FOLIB_MYSQL_USER=root \
-e FOLIB_MYSQL_PASSWORD=folib@v587 \
-e FOLIB_ARTIFACT_UPLOAD_RESTRICTIONS=true \
-v /data/folib/folib-conf:/opt/folib/folib-3.0-SNAPSHOT/etc/conf \
-v /data/folib/folib-data:/opt/folib/folib-data \
-v /data/folib/tmp:/opt/folib/folib-3.0-SNAPSHOT/tmp \
public.folib.com/oss/docker/folib-server:latest
3. View logs
docker logs -f --tail 100 folib-server
4. Restart
docker restart folib-server
docker logs -f --tail 100 folib-server
# Username: admin
# Password: folib@v587
Tips: JAVA environment needs to be prepared in advance
-
Extract /target/folib-build-3.0-SNAPSHOT.tar.gz or /target/folib-build-3.0-SNAPSHOT.zip under the folib-build module
-
Copy folib-3.0-SNAPSHOT and folib-data under the extracted folib-build-3.0-SNAPSHOT directory to the /opt/folib directory of the deployment machine
-
Prepare the startup script
#!/bin/bash
# Configure environment variables
export FOLIB_PORT=38080 # Service external access port
export FOLIB_JVM_XMX=8192m
export FOLIB_JVM_XMS=8192m
export FOLIB_JVM_XSS=512k
export FOLIB_MYSQL_HOST=127.0.0.1 # Database IP
export FOLIB_MYSQL_PORT=3306 # Database port
export FOLIB_MYSQL_DB=folib # Database name
export FOLIB_MYSQL_USER=root # Database account
export FOLIB_MYSQL_PASSWORD=folib@v587 # Database password
export FOLIB_ARTIFACT_UPLOAD_RESTRICTIONS=true
# Start folib-server
nohup /opt/folib/folib-3.0-SNAPSHOT/bin/folib console > folib-server.log 2>&1 &
4. Save step 3 to folib-server-start.sh
5. Authorize
chmod u+x folib-server-start.sh
6. Start folib-server
sh folib-server-start.sh
7. View logs
tail -f -n 100 folib-server.log
8. After startup is complete, restart
/opt/folib/folib-3.0-SNAPSHOT/bin/folib stop
sh folib-server-start.sh
tail -f -n 100 folib-server.log
Username: admin Password: folib@v587
You can also quickly deploy Folib through HelmChat.
For intranet environments, it is recommended to use the offline installation package method for installation and deployment.
If you have more questions, you can communicate with us through the forum and technical exchange group.
Welcome to join our technical exchange group, where there are also various irregular activities.
FOLib releases a version approximately every quarter.
- v3.00: Release date is August 1, 2025, and it is continuously updated;
- v3.1: Some AI mcp-related functions will be released next;
FOLib product versions are divided into community edition and enterprise edition. For details, please refer to: FOLib Product Version Comparison
- Backend: Spring Boot3.x
- Frontend: Vue.js
- Relational database: Most databases are supported
- Infrastructure: Docker
- File storage: Both NFS/S3 protocols are supported
After the frontend is packaged into static resource files, it is packaged together with the backend.
- Install [OPENJDK 17](https://www.oracle.com/java/technologies
- Install maven 3.8.6
- Install node 14.21.3
Find the folib-package.sh file in the root path of the code and execute it
sh folib-package.shFolib - [New Generation AI Artifact Repository] Copyright (C) 2025 bocloud.com.cn folib@beyondcent.com
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is free software: you can redistribute and/or modify it in accordance with the terms of the GNU General Public License (GPL-3.0+), but any form of commercial sales (including but not limited to: direct sales, bundled sales, commercial use of cloud services) is prohibited.
This program is distributed WITHOUT ANY WARRANTY. Commercial sale of this software is expressly prohibited.
For license details, see: https://www.gnu.org/licenses/gpl-3.0.html For commercial authorization consultation, please contact: folib@beyondcent.com


