An open API service indexing awesome lists of open source software.

https://github.com/forrany/Awesome-Ollama-Server

这是一个用于监控和检测 Ollama 服务可用性和性能的系统。它提供了一个现代化的 Web 界面,支持多语言(中文/英文),并具有实时检测和数据展示功能。
https://github.com/forrany/Awesome-Ollama-Server

List: awesome-ollama-server

Last synced: 9 days ago
JSON representation

这是一个用于监控和检测 Ollama 服务可用性和性能的系统。它提供了一个现代化的 Web 界面,支持多语言(中文/英文),并具有实时检测和数据展示功能。

Awesome Lists containing this project

README

        

# Ollama Service Monitoring System

[中文版](README.md)

This is a system for monitoring and detecting the availability and performance of Ollama services. It provides a modern web interface, supports multiple languages (Chinese/English), and features real-time detection and data visualization.

[Online Demo](https://ollama.vincentko.top)

Support online model testing


您的浏览器不支持视频播放。

## Features

- 🔍 Service Detection
- Supports batch detection of Ollama services
- Real-time display of detection status and results
- Supports exporting detection results
- Supports automatic FOFA scanning

- 📊 Performance Monitoring
- Tests service response time and TPS
- Displays a list of available models
- Visualizes performance data

- 🌐 Multi-language Support
- Chinese interface
- English interface
- One-click language switching

- 🎯 Advanced Filtering
- Model filtering
- TPS/Update Time sorting
- Paginated display

## Technology Stack

- ⚡️ Next.js 14 - React Framework
- 🔥 TypeScript - Type Safety
- 🎨 Tailwind CSS - CSS Framework
- 🌍 next-intl - Internationalization
- 🔄 Server Components - Server Components
- 📱 Responsive Design - Mobile Adaptation

## Quick Start

### Prerequisites

- Node.js 18.0 or higher
- npm or yarn package manager

### Installation

```bash
# Clone the project
git clone [email protected]:forrany/Awesome-Ollama-Server.git
cd Awesome-Ollama-Server

# Install dependencies
npm install
# or
yarn install
```

### Development Environment

```bash
# Start the development server
npm run dev
# or
yarn dev
```

Visit http://localhost:3000 to view the application.

### Production Environment

```bash
# Build the project
npm run build
# or
yarn build

# Start the server
npm start
# or
yarn start
```

## Usage Instructions

### Detect Services

1. Click the "Service Detection" button
2. Enter Ollama service addresses in the pop-up dialog (one per line)
3. Click "Start Detection"
4. Wait for the detection to complete and view the results
5. Option to download detection results

### Filter and Sort

- Use the model filter to select specific models
- Click TPS or Update Time to sort
- Use the search box to quickly find models

### Language Switching

- Click the language switch button in the upper right corner
- Select Chinese or English

## Project Structure

```
src/
├── app/ # Next.js Application Directory
├── components/ # React Components
├── i18n/ # Internationalization Files
├── lib/ # Utility Functions
├── types/ # TypeScript Type Definitions
└── config/ # Configuration Files
```

## Environment Variables

Create a `.env` file and set the following variables. Github Actions will automatically execute monitoring and upload after filling in.

```env
# Optional: Redis Configuration (if used)
UPSTASH_REDIS_URL=your-redis-url
UPSTASH_REDIS_TOKEN=your-redis-token

# Optional: FOFA scanning country list (if used)
COUNTRYS=US,CN,RU
```

## Contribution Guidelines

1. Fork the project
2. Create a feature branch (`git checkout -b feature/AmazingFeature`)
3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request

## License

This project is open-sourced under the MIT License - see the [LICENSE](LICENSE) file for details.

## Author

VincentKo (@forrany) - [GitHub](https://github.com/forrany)

## Disclaimer

1. This project is for security research and educational purposes only.
2. This project must not be used for any illegal purposes.
3. The author is not responsible for any loss caused by the use of this project.
4. Data is sourced from the internet. If there is any infringement, please contact the author to delete it.

## Star History

[![Star History Chart](https://api.star-history.com/svg?repos=forrany/Awesome-Ollama-Server&type=Date)](https://star-history.com/#forrany/Awesome-Ollama-Server&Date)