Archisteamfarm: Add method to manage bots via IPC API

Created on 8 Oct 2017  路  5Comments  路  Source: JustArchiNET/ArchiSteamFarm

Suggestion

Purpose

Add a new API to IPC which used to manage bots

How can ASF users benefit from this suggestion?

A new method to manage bots

Why currently available solutions are not sufficient?

Current solution need to manage bot config files, I want to invoke ASF method all via IPC API.

Does your suggestion fall into ASF scope?

I think it is useful in some environment like Docker.

Is your suggestion abiding to Steam ToS?

Sure.

Additional info

I decided to write a ASF manage panel. (#610) I want split the ASF and the panel, and run in different Docker container, that's means file manage may difficult to manage bot config.

Enhancement Low priority Wishlist

Most helpful comment

@JustArchi Try out for unosquare/embedio? It's looks lightweight and support dotnet core.

All 5 comments

At first I was sceptical to this as I always wanted to keep premise of making config files possible to be read-only and ASF never managing config files by itself, but indeed it could be nice for web-based admin panel.

I'm thinking about API to create new bot config file, remove existing bot config file and edit bot config file, all 3 would accept JSON-serialized BotConfig object. In addition to that we might also add endpoint to edit global ASF config file, that one would accept GlobalConfig object.

Yeah, I like this way, on the wishlist.

It's a good moment now to evaluate if I want to keep this awful low-level HTTP interface I wrote by myself in V3 or move to some general framework that would make it easier to maintain our HTTP API. An obvious candidate for that is something like EntityFramework but I hate how huge it is and how many dependencies it has just for a simple way to create a web server, that's definitely out.

If somebody has some C# package in mind that could help us with creating HTTP API then feel free to suggest one, I'll probably evaluate myself available solutions and decide upon something in upcoming week.

@JustArchi Try out for unosquare/embedio? It's looks lightweight and support dotnet core.

This might be exactly what we need, thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tambry picture tambry  路  4Comments

NanoAi picture NanoAi  路  3Comments

light444 picture light444  路  3Comments

guihkx picture guihkx  路  4Comments

zypA13510 picture zypA13510  路  3Comments