#1 2015-12-14 15:51:29

5n1p
Trusted Member
Registered: 2013-04-02
Posts: 235
Website

LES Admin panel

Long time since I have written something on this forum. sad

Last few days I was thinking about making a panel for LES that uses SolusVM Client API, and for now I have something and would like your input mostly about what more to include. After I finish I will upload it to github so everyone can install it on there own server. It is written in python and flask. For now here are some screenshots.

Login:
Capture3.png


Servers list:
Capture.png


Server view:
Capture1.png


Capture2.png


Add server:
Capture4.png

Hope you like it.

Offline

#2 2015-12-14 16:06:50

Backtogeek
Low End Boss
From: ~/
Registered: 2013-02-13
Posts: 3,547
Website

Re: LES Admin panel

wow nice work, couple of comments and suggestions smile

1) sadly nanovz/evoburst has moved to virtualizor, they have an API but that might be to much of a hassle for you to add?

2) Solusvm V2 is imminent which is a new API.

3) Somehow integrating the IRC channel in to the panel might be a big bonus.

4) Maybe adding some bits like CF API keys to perform same basic tasks would really round it off.

5) How possible is it to have an LES hosted solution on the lowendspirit domain so people can use this without having to self host it as well?


http://LittleHappyCloud.net KVM VPS with 1TB Bandwidth for €3.00

Offline

#3 2015-12-14 16:19:56

5n1p
Trusted Member
Registered: 2013-04-02
Posts: 235
Website

Re: LES Admin panel

1)  i can try. This is learning project anyway so will try to do it
2) not sure i understand
3) that should be possible, nice one
4) need to inform my self first
5) that is possible i will inform you when i finish

Offline

#4 2015-12-14 18:41:20

Simonindia
Moderator and your buddy
From: India
Registered: 2015-06-05
Posts: 593

Re: LES Admin panel

Great one man Good job but my provider have moved to virtualizor

But i have other vps in solusvm that i can use with Nice project


Just trying my best to help. ♥ |
----------------------------------------------------------------------------------
“Remember to always be yourself. Unless you suck.” -Joss Whedon“Do what you can, with what you have, where you are.”-Theodore Roosevelt

Offline

#5 2015-12-17 12:08:32

0x004a
Trusted Member
Registered: 2013-10-15
Posts: 135

Re: LES Admin panel

Looks good @5n1p, and some great ideas by @Anthony. Such as a shame SolusVM gave default usernames that can't be changed; can never remember it !! And there's no good reason why ?

What's the browser icon furthest right @5n1p ?

Offline

#6 2015-12-17 18:06:42

Backtogeek
Low End Boss
From: ~/
Registered: 2013-02-13
Posts: 3,547
Website

Re: LES Admin panel

Re: 2)

I mean this wont work when solusvm version 2 is released, the current API is for 1.8.x


http://LittleHappyCloud.net KVM VPS with 1TB Bandwidth for €3.00

Offline

#7 2015-12-18 04:17:56

DavidGestionDBI
Provider-Moderator
From: Montreal, Canada
Registered: 2015-01-10
Posts: 599
Website

Re: LES Admin panel

Pretty nice project!!! big_smile


-----------
David B. |  Technical Director at Gestion DBI ||  Want to receive our promotions?
IT consulting and Hosting Provider | 24/7 Technical Support

Offline

#8 2015-12-18 06:30:23

5n1p
Trusted Member
Registered: 2013-04-02
Posts: 235
Website

Re: LES Admin panel

@0x004a, @DavidGestionDBI thanks. Last icon in my browser is for https://www.eff.org/Https-everywhere.

@Backtogeek thanks, I have read about V2 of solus api, will make it work with it when it comes out. I have also bought evo burst LES so I'm trying to add virtualizor api. For now it does not work but hopefully will make it. Documentation for it is only for php and I can't understand all, and there is no lib for python so I need to make my own. I have a lot of work this days so don't have much time to play, hopefully next week will be more productive regarding this panel. smile

Offline

#9 2015-12-18 09:36:39

5n1p
Trusted Member
Registered: 2013-04-02
Posts: 235
Website

Re: LES Admin panel

Ok just had half hour and tried to make php call from python, and managed to get php API call to virtualizor from python, so number 1) is done only downside is you want be able to run panel without php installed on server where panel is installed. smile

Last edited by 5n1p (2015-12-18 09:40:52)

Offline

#10 2015-12-21 15:10:13

5n1p
Trusted Member
Registered: 2013-04-02
Posts: 235
Website

Re: LES Admin panel

UPDATE:
For now basic functions implemented for virtualizor I will leave commands available like in solusvm and when solusvm v2 comes out then I will make all commands from virtualizor work in panel.

3) IRC is harder then I was thinking anyway made my own IRCbot in python here are screenshots:

from webchat on testing channel

Capture6.png

from LES admin servers page:

Capture7.png

Is this enough of IRC anthony? Maybe let it be like this for now?

4) Do you mean to make some API for you to create users?

5) Need to make multi user database and relations and its done.

I hope in next week or two to have version 0.01 smile

Offline

#11 2015-12-22 10:17:01

Backtogeek
Low End Boss
From: ~/
Registered: 2013-02-13
Posts: 3,547
Website

Re: LES Admin panel

Would be great if the panel allowed some interaction rather than read only for IRC.

4) I mean cloudflare API functions for adding A records, enabling IPv6<>v4 passthrough etc https://www.cloudflare.com/docs/client-api.html

5) I see, I suppose the only worry with a hosted multi user solution is that if it got hacked it could get VERY messy smile


http://LittleHappyCloud.net KVM VPS with 1TB Bandwidth for €3.00

Offline

#12 2016-01-06 13:57:58

5n1p
Trusted Member
Registered: 2013-04-02
Posts: 235
Website

Re: LES Admin panel

I had to postpone work on panel since my last post. Kids, wife, holidays, work, but now I'm on it again. Managed to make virtualizor enduser api in python, if someone wants to test it out https://github.com/boxcontrol/VirtualizorAPI. I have only openvz in virtualizor so could not test XEN/KVM only functions but they should work.

PS.

Backtogeek wrote:

Would be great if the panel allowed some interaction rather than read only for IRC.

4) I mean cloudflare API functions for adding A records, enabling IPv6<>v4 passthrough etc https://www.cloudflare.com/docs/client-api.html

5) I see, I suppose the only worry with a hosted multi user solution is that if it got hacked it could get VERY messy smile

Cloudflare is next on todo list. Yes that 5) is something I worry about but for now have passwords hashed and salted, maybe to figure out how to implement two factor auth.

Offline

Board footer