-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Webapp that builds Algo VPNs #196
Comments
Hi Dan, Ill start working on this now, you assign this issue to me? |
Sure! Here's a good template to start from for a UI: |
My plan is to use two separate repos, one for the flask app container and another for the Infrastructure as Code scripts that the flask application will use to provision with DO and AWS. The app will pull from this repo and run the build operations for each VPN setup in an ephemeral container. Need to do something about trust and/or liability with handling others API tokens also. In spirit of Tinfoil security launching their service for the Rio Olympics, on 13 April 2017, Australia's mandatory data retention scheme kicked in: Thanks for collab invite. |
Sounds fine. Let's start with the Flask app. Then somehow can just start it locally to get a GUI of sorts for the script. That will be an easy improvement. |
Yo dan, Ive made a start on this, im working on it out of here. It doesn't do much yet and is pretty basic, https://github.com/MiWCryptAnalytics/algo-flask/blob/master/generate.py Ill make it look nicer in the next few days |
Nice! You should submit a WIP PR. Putting it in an |
I think a better approach might be to have the webapp re-implement what is currently in the bash script. I don't think you need to do any fancy parsing of the shell script to generate the forms. We only ask about 5 or so questions. It's easy enough to hardcore a few toggles for each one. |
Your right, its too crazy. Ill use it as a starting point to reformat the questions. I was thinking it would make it easier for major feature changes, but at this point the project is mature enough that most of the changes are happening at the ansible layer anyway. So its not much yet, but i wanted to demonstrate some progress. thanks for the feedback :-) |
Hi Dan, An update! I have completed an MVP for this: This is currently running from a free heroku account. Circleci builds the web (/app) and worker (/worker) Finally, the configs dir is zipped and base64ed and sent to the browser via the websocket. Instructions to the user are provided, and a link to the configuration guide. There are a number of enhancements that can be made, including js zip reconstruction, username customization, and UI work. Ignore the bad ui things please. 😄 Hope you like it, peace |
Can it work on the front-end only? Without going to the server? |
Hi, I was wondering if something like this exist. |
@dguido could you please address open questions from my PR?
|
Form fields for all the info we need, click create, it spits out the configs at you and downloads and tells you the server info.
Like this: https://www.tinfoilsecurity.com/vpn/new
The text was updated successfully, but these errors were encountered: