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
- Host: GitHub
- URL: https://github.com/evan-choi/minime
- Owner: evan-choi
- Created: 2020-04-30T16:52:07.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-09T05:23:14.000Z (almost 6 years ago)
- Last Synced: 2025-04-05T04:02:08.975Z (11 months ago)
- Topics: aspnetcore, chunithm, efcore, http, https, kestrel, netcore31, tcp
- Language: C#
- Homepage:
- Size: 236 KB
- Stars: 68
- Watchers: 3
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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 */);
}
```