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

https://github.com/evan-choi/minime

A simple self-hosted ALLNET/Aime server, written in .NET Core
https://github.com/evan-choi/minime

aspnetcore chunithm efcore http https kestrel netcore31 tcp

Last synced: 7 months ago
JSON representation

A simple self-hosted ALLNET/Aime server, written in .NET Core

Awesome Lists containing this project

README

          

# MiniMe
A simple self-hosted AllNet/Aime server, written in .NET Core 3.1

## Features
| Name | Server | Protocol | Database |
| --- | --- | --- | -- |
| ALLNet | ASP.NET Core, Kestrel | Http | |
| Aime | System.Net.Socket | TCP | [EF Core](https://github.com/dotnet/efcore) (SQLite) |
| Billing | ASP.NET Core, Kestrel | Https | |
| Chunithm | ASP.NET Core, Kestrel | Http | [EF Core](https://github.com/dotnet/efcore) (SQLite) |

## How to run

### Requirements
- [.NET Core SDK](https://dotnet.microsoft.com/download)

### Setup repository
```sh
git clone https://github.com/evan-choi/MiniMe.git
cd MiniMe
```

### Run
```sh
dotnet run
```

## How to change DB provider
1. Setup [AimeContext](https://github.com/evan-choi/MiniMe/blob/master/MiniMe.Aime/Data/AimeContext.cs#L18) Configuring

2. Setup [ChunithmContext](https://github.com/evan-choi/MiniMe/blob/master/MiniMe.Chunithm/Data/ChunithmContext.cs#L18) Configuring

```cs
protected override void OnConfiguring(DbContextOptionsBuilder options)
{
// Setup to the db provider you want
options.UseMySql(/* mysql connection string */);
}
```