feat: introduce mnie
This commit is contained in:
@@ -1,14 +1,25 @@
|
||||
# cSBI
|
||||
# Mnie
|
||||
|
||||
[](https://技術者倫理.com)
|
||||
|
||||
A client for SBI-compatible servers. This project is not intended for use with a real SBI server.
|
||||
Self-host finance management for running your own portfolio, trading, API key, OAuth, MCP, and CLI workflows.
|
||||
|
||||
## cSBI SDK
|
||||
## Mnie SDK
|
||||
|
||||
## cSBIe
|
||||
`@repo/mnie-sdk` connects to a Mnie server with an API key and exposes typed finance methods from `@repo/mnie-types`.
|
||||
|
||||
cSBIe is a web ui and server for managing SBI-compatible API.
|
||||
## Apps
|
||||
|
||||
- `apps/mnie-app`: bundled server plus UI runtime
|
||||
- `apps/mnie-server`: API, OAuth, MCP, RPC, storage, and provider session management
|
||||
- `apps/mnie-ui`: web UI
|
||||
|
||||
## Packages
|
||||
|
||||
- `packages/mnie-types`: shared finance SDK interfaces
|
||||
- `packages/mnie-sdk`: API-key SDK for Mnie
|
||||
- `packages/mnie-cli`: CLI using `mnie-sdk`
|
||||
- `packages/client-sbi`: SBI provider client
|
||||
|
||||
### Install
|
||||
|
||||
@@ -16,15 +27,15 @@ Before running, setup .env, refering `.env.example`.
|
||||
|
||||
#### With docker
|
||||
|
||||
Docker uses `CSBIE_KEYRING_BACKEND=sqlite` because platform keyrings are not available in
|
||||
headless containers. Set `CSBIE_KEYRING_SECRET` in `.env` before saving SBI passkeys.
|
||||
Docker uses `MNIE_KEYRING_BACKEND=sqlite` because platform keyrings are not available in
|
||||
headless containers. Set `MNIE_KEYRING_SECRET` in `.env` before saving SBI passkeys.
|
||||
|
||||
docker-compose.yml:
|
||||
|
||||
```yaml
|
||||
services:
|
||||
csbie:
|
||||
image: git.yutakobayashi.com/nakasyou/csbi:latest
|
||||
mnie:
|
||||
image: git.yutakobayashi.com/nakasyou/mnie:latest
|
||||
ports:
|
||||
- '18787:8787'
|
||||
env_file:
|
||||
@@ -36,15 +47,15 @@ services:
|
||||
or
|
||||
|
||||
```bash
|
||||
docker run --rm -it --name csbie \
|
||||
docker run --rm -it --name mnie \
|
||||
-p 18787:8787 \
|
||||
--env-file .env \
|
||||
-v "$PWD/data:/app/data" \
|
||||
git.yutakobayashi.com/nakasyou/csbi:latest
|
||||
git.yutakobayashi.com/nakasyou/mnie:latest
|
||||
```
|
||||
|
||||
#### With Nix
|
||||
|
||||
```bash
|
||||
nix run 'git+https://git.yutakobayashi.com/nakasyou/csbi.git#csbie'
|
||||
nix run 'git+https://git.yutakobayashi.com/nakasyou/mnie.git#mnie'
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user