NuGet Next is a private NuGet management platform based on BaGet, with extended features and additional functionality.
We have enhanced BaGet and added more capabilities, with better support for the Chinese market, such as localization for domestic environments.


Features
- User management support
- Package management traceability support
- Package management support
- Custom API key support for users
- SqlServer database support
- PostgreSql database support
- MySql database support
- DM (Dameng) database support
Quick Deployment
Deploy quickly using docker compose:
version: '3.8'
services:
nuget.next:
image: registry.token-ai.cn/ai-dotnet/nuget-next
build:
context: .
dockerfile: src/NuGet.Next/Dockerfile
container_name: nuget-next
ports:
- "5000:8080"
volumes:
- ./nuget:/app/data # Note: manually create the data directory, otherwise permission issues may occur on Linux preventing writes
environment:
- Database:Type=SqLite
- Database:ConnectionString=Data Source=/app/data/nuget.db # Database connection string
- Mirror:Enabled=true # Whether to enable mirror source
- Mirror:PackageSource=https://api.nuget.org/v3/index.json # Mirror source; if not found locally, package will be pulled from mirror
- RunMigrationsAtStartup:true # Whether to run migrations on startup; set to true for first startup
docker-compose up -d
Domestic Database Support
version: '3.8'
services:
nuget.next:
image: registry.token-ai.cn/ai-dotnet/nuget-next
build:
context: .
dockerfile: src/NuGet.Next/Dockerfile
container_name: nuget-next
ports:
- "5000:8080"
volumes:
- ./nuget:/app/data # Note: manually create the data directory, otherwise permission issues may occur on Linux preventing writes
environment:
- Database:Type=DM # Dameng database
- Database:ConnectionString=Server=localhost;User id=SYSDBA;PWD=SYSDBA;DATABASE=NUGET # Database connection string
- Mirror:Enabled=true # Whether to enable mirror source
- Mirror:PackageSource=https://api.nuget.org/v3/index.json # Mirror source; if not found locally, package will be pulled from mirror
- RunMigrationsAtStartup:true # Whether to run migrations on startup; set to true for first startup
docker-compose up -d
PostgreSql Database
version: '3.8'
services:
nuget.next:
image: registry.token-ai.cn/ai-dotnet/nuget-next
build:
context: .
dockerfile: src/NuGet.Next/Dockerfile
container_name: nuget-next
ports:
- "5000:8080"
volumes:
- ./nuget:/app/data # Note: manually create the data directory, otherwise permission issues may occur on Linux preventing writes
environment:
- Database:Type=PostgreSql
- Database:ConnectionString=Host=postgres;Port=5432;Database=nuget-next;Username=token;Password=dd666666;
- Mirror:Enabled=true # Whether to enable mirror source
- Mirror:PackageSource=https://api.nuget.org/v3/index.json # Mirror source; if not found locally, package will be pulled from mirror
- RunMigrationsAtStartup:true # Whether to run migrations on startup; set to true for first startup
docker-compose up -d
MySql Database
version: '3.8'
services:
nuget.next:
image: registry.token-ai.cn/ai-dotnet/nuget-next
build:
context: .
dockerfile: src/NuGet.Next/Dockerfile
container_name: nuget-next
ports:
- "5000:8080"
volumes:
- ./nuget:/app/data # Note: manually create the data directory, otherwise permission issues may occur on Linux preventing writes
environment:
- Database:Type=MySql
- Database:ConnectionString=Server=mysql;Port=3306;Database=nuget-next;Uid=root;Pwd=dd666666;
- Mirror:Enabled=true # Whether to enable mirror source
- Mirror:PackageSource=https://api.nuget.org/v3/index.json # Mirror source; if not found locally, package will be pulled from mirror
- RunMigrationsAtStartup:true # Whether to run migrations on startup; set to true for first startup
docker-compose up -d
SqlServer Database
version: '3.8'
services:
nuget.next:
image: registry.token-ai.cn/ai-dotnet/nuget-next
build:
context: .
dockerfile: src/NuGet.Next/Dockerfile
container_name: nuget-next
ports:
- "5000:8080"
volumes:
- ./nuget:/app/data # Note: manually create the data directory, otherwise permission issues may occur on Linux preventing writes
environment:
- Database:Type=SqlServer
- Database:ConnectionString=Server=sqlserver;Database=nuget-next;User Id=sa;Password=dd666666;
- Mirror:Enabled=true # Whether to enable mirror source
- Mirror:PackageSource=https://api.nuget.org/v3/index.json # Mirror source; if not found locally, package will be pulled from mirror
- RunMigrationsAtStartup:true # Whether to run migrations on startup; set to true for first startup
docker-compose up -d
Usage Notes
- Default username: admin
- Default password: Aa123456.
Contact Us
- Official website
- GitHub
- Gitee
- QQ group
GitHub: https://github.com/AIDotNet/NuGet.Next
Gitee: https://gitee.com/aidotnet/NuGet.Next
Demo site: https://nuget.token-ai.cn/
