gitpod-io / dockerfreeze

Freeze your development environment as a Dockerfile
MIT License
12 stars 4 forks source link

Create GUI to interact with Dockerfreeze #37

Closed JesterOrNot closed 4 years ago

JesterOrNot commented 4 years ago

Create GUI to interact with Dockerfreeze

JesterOrNot commented 4 years ago

@Kreyren would you be interested in working on this?

JesterOrNot commented 4 years ago

Note: It can be written in anything :)

Kreyren commented 4 years ago

I would be interested in contributing and in proposing a mock-up, but i don't feel confident in the GUI development in rust aldo implementing that in piston might be fun, but i guess that it would make more sense in python.

ping @uniminin do you want to be useful?

loannaflip commented 4 years ago

I would be interested in contributing and in proposing a mock-up, but i don't feel confident in the GUI development in rust aldo implementing that in piston might be fun, but i guess that it would make more sense in python.

ping @Uniminin do you want to be useful?

Yes

Kreyren commented 4 years ago

@JesterOrNot Can you brainstorm him on what would you want for GUI in python?

JesterOrNot commented 4 years ago

A bunch of toggles i.e. Add Environment variables Pretty print Dockerfile ---- For readability with a slight time increase Install user packages Gitpod ready Vagrant

JesterOrNot commented 4 years ago

And a build button

JesterOrNot commented 4 years ago

If you guys make the GUI I'll do the TUI

Kreyren commented 4 years ago

@JesterOrNot He's in different timezone, but i've gave him the info for what needs to be done.

JesterOrNot commented 4 years ago

Ok!

Kreyren commented 4 years ago

@JesterOrNot He made this

# BASIC PYTHON GUI WITH BUTTONS. THANKS TO Tkinter!
# Copyright Uniminin 2020
from tkinter import *

# Window
window_title = "Docker Freeze Gui"
window = Tk()
window.title(window_title)
window.geometry('716x400')

button1 = Button(window, text="Add Environment variablese")
button1.grid(column=1,
             row=0,
             padx=2,
             pady=2)

button2 = Button(window, text="Pretty print Dockerfile")
button2.grid(column=2,
             row=0,
             padx=2,
             pady=2)

button3 = Button(window, text="Install user packages")
button3.grid(column=3,
             row=0,
             padx=2,
             pady=2)

button4 = Button(window, text="Vagrant")
button4.grid(column=4,
             row=0,
             padx=2,
             pady=2, )

button5 = Button(window, text="Gitpod ready")
button5.grid(column=5,
             row=0,
             padx=2,
             pady=2)

if name == "main":
    window.mainloop()

Do you want to use it?

JesterOrNot commented 4 years ago

Can I see the repo?

loannaflip commented 4 years ago

Can I see the repo?

i need to know what you're expecting in the gui. please specify everything again clearly, then i'll make it

Kreyren commented 4 years ago

@Uniminin See https://github.com/gitpod-io/dockerfreeze/issues/37#issuecomment-594070900

So this is expected to be a GUI in python with a toggle buttons i.e: image

with following text next to them

ideally do not use gtk because it's inefficient on system resources and i will like you more if you cythonize it and provide tests ^-^

JesterOrNot commented 4 years ago

Yes that looks great, Ideally we should add a build button

JesterOrNot commented 4 years ago

Then we can use system calls to connect the rust and python code

JesterOrNot commented 4 years ago

Done!