reposeed icon indicating copy to clipboard operation
reposeed copied to clipboard

Provide hosted version of generator

Open stp-ip opened this issue 8 years ago • 5 comments

Expose a http server, which takes json input and generate reposeed files with the templates. Bundle the generated files and return them.

Logo given as base64 encoded field in json or link instead of just on the filesystem?

stp-ip avatar Aug 21 '17 15:08 stp-ip

Should it be a command on reposeed itself or a different project that uses reposeed? A different project makes the process a little harder but implementing an HTTP server on the reposeed itself makes the project a little complex.

erbesharat avatar Feb 24 '18 17:02 erbesharat

We could start with it being a separate cmd package within the reposeed repo or create a separate repo. I don't really have a set idea on that. Might be better long term to start with a separate repo as usually people wouldn't run the hosted version, but just interact with it.

stp-ip avatar Feb 25 '18 10:02 stp-ip

Should it return generated files content in JSON? I can't think of another option. What do you think @stp-ip ?

erbesharat avatar Mar 01 '18 08:03 erbesharat

The first thought was take config as json/yaml/toml (with yaml from the start) and then give back all files as .zip. Later we could add a Github integration aka show a link to download the .zip and a link to open a pull request on a specific Github repo.

stp-ip avatar Mar 01 '18 11:03 stp-ip

github.com/okkur/reposeed-server is done. Deployment still needs to happen while the frontend is being done.

stp-ip avatar Mar 27 '18 11:03 stp-ip