NuGet Next released, a new version privatizes NuGet Management

NuGet Next released, a new version privatizes NuGet Management

NuGet Next is a private NuGet management platform based on BaGet. We have extended BaGet and provided more functions.

最后更新 11/4/2024 8:33 PM
tokengo
预计阅读 5 分钟
分类
.NET
标签
.NET C# NuGet privatization

NuGet Next is a private NuGet management platform based on BaGet. We have extended BaGet and provided more functions.

For the latest version of NuGet's open source privatization package management, we have added more functions based on BaGet and made more compatible with the China market, such as localization support.

图片

图片

** Function introduction **

  • Support user management
  • Support package management traceability
  • Support package management
  • User support custom keys
  • Support SqlServer database
  • Support PostgreSql database
  • Support for MySql database
  • Support DM (Dameng) database

** Rapid deployment **

Rapid deployment 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 # 请注意手动创建data目录,负责在Linux下可能出现权限问题导致无法写入
    environment:
      - Database:Type=SqLite
      - Database:ConnectionString=Data Source=/app/data/nuget.db # 数据库连接字符串
      - Mirror:Enabled=true # 是否启用镜像源
      - Mirror:PackageSource=https://api.nuget.org/v3/index.json # 镜像源,如果本地没有会自动从镜像源拉取
      - RunMigrationsAtStartup:true # 是否在启动时运行迁移,如果是第一次启动请设置为true
docker-compose up -d

** Localization 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 # 请注意手动创建data目录,负责在Linux下可能出现权限问题导致无法写入
    environment:
      - Database:Type=DM # 达梦数据库
      - Database:ConnectionString=Server=localhost;User id=SYSDBA;PWD=SYSDBA;DATABASE=NUGET # 数据库连接字符串
      - Mirror:Enabled=true # 是否启用镜像源
      - Mirror:PackageSource=https://api.nuget.org/v3/index.json # 镜像源,如果本地没有会自动从镜像源拉取
      - RunMigrationsAtStartup:true # 是否在启动时运行迁移,如果是第一次启动请设置为true
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 # 请注意手动创建data目录,负责在Linux下可能出现权限问题导致无法写入
    environment:
      - Database:Type=PostgreSql
      - Database:ConnectionString=Host=postgres;Port=5432;Database=nuget-next;Username=token;Password=dd666666;
      - Mirror:Enabled=true # 是否启用镜像源
      - Mirror:PackageSource=https://api.nuget.org/v3/index.json # 镜像源,如果本地没有会自动从镜像源拉取
      - RunMigrationsAtStartup:true # 是否在启动时运行迁移,如果是第一次启动请设置为true
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 # 请注意手动创建data目录,负责在Linux下可能出现权限问题导致无法写入
    environment:
      - Database:Type=MySql
      - Database:ConnectionString=Server=mysql;Port=3306;Database=nuget-next;Uid=root;Pwd=dd666666;
      - Mirror:Enabled=true # 是否启用镜像源
      - Mirror:PackageSource=https://api.nuget.org/v3/index.json # 镜像源,如果本地没有会自动从镜像源拉取
      - RunMigrationsAtStartup:true # 是否在启动时运行迁移,如果是第一次启动请设置为true
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 # 请注意手动创建data目录,负责在Linux下可能出现权限问题导致无法写入
    environment:
      - Database:Type=SqlServer
      - Database:ConnectionString=Server=sqlserver;Database=nuget-next;User Id=sa;Password=dd666666;
      - Mirror:Enabled=true # 是否启用镜像源
      - Mirror:PackageSource=https://api.nuget.org/v3/index.json # 镜像源,如果本地没有会自动从镜像源拉取
      - RunMigrationsAtStartup:true # 是否在启动时运行迁移,如果是第一次启动请设置为true
docker-compose up -d

** Instructions for use **

  • Default username: admin
  • Default password: Aa123456.

** Contact Us **

  • official website
  • GitHub
  • Gitee
  • mailbox
  • QQ group

GitHub: https://github.com/AIDotNet/NuGet.Next

Gitee: https://gitee.com/aidotnet/NuGet.Next

Example website: https://nuget.token-ai.cn/

图片

Keep Exploring

延伸阅读

更多文章
同分类 / 同标签 5/24/2025

Hello. NET run file, bye csproj

This article introduces the new file-based program feature of the. NET CLI, which allows developers to run C#source files directly without creating project files. This feature makes it easy to develop scripts and simple applications by generating virtual project files in memory and supporting NuGet dependency packages and project property settings. The article also looks forward to the future of this feature, including target path extensions, unified command line parameters, performance improvements, and more file-based program command support.

继续阅读
同分类 / 同标签 4/22/2026

Support for. NET by operating system versions (250707 update)

Use virtual machines and test machines to test the support of each version of the operating system for. NET. After installing the operating system, it is passed by measuring the corresponding running time of the installation and being able to run the Stardust Agent.

继续阅读