egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Webinterface for Eggdrop
Goto page 1, 2  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Shell & Bouncer Help
View previous topic :: View next topic  
Author Message
Broesel01
Voice


Joined: 17 Jun 2005
Posts: 4

PostPosted: Fri Jun 17, 2005 12:18 pm    Post subject: Webinterface for Eggdrop Reply with quote

Hey,

can anyone tell me, where i can find an working Webinterface to administrate my Egddrops?

Thx for your help.
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Fri Jun 17, 2005 1:40 pm    Post subject: Reply with quote

you mean web interface to bot's party line? doesn't make sense to me
Back to top
View user's profile Send private message Visit poster's website
Broesel01
Voice


Joined: 17 Jun 2005
Posts: 4

PostPosted: Fri Jun 17, 2005 1:45 pm    Post subject: Reply with quote

Hey,

i mean an Webinterface where i can edit the eggdrop.conf, the userfile, Rehash, Restart, Die...
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Fri Jun 17, 2005 2:07 pm    Post subject: Reply with quote

why would you want to do that? you don't have shell access? then how do you run your bot in the first place
Back to top
View user's profile Send private message Visit poster's website
Broesel01
Voice


Joined: 17 Jun 2005
Posts: 4

PostPosted: Fri Jun 17, 2005 2:15 pm    Post subject: Reply with quote

sure, i have root-access Wink

but i host ca. 12 eggdrops for other users, and here is an webinterface better, as shell-access.
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Fri Jun 17, 2005 2:34 pm    Post subject: Reply with quote

you are root yet you prefer web to shell? that's odd...

besides, aren't those people supposed to care about their eggdrops themselves?

anyway... your best bet is installing some web-based file manager
Back to top
View user's profile Send private message Visit poster's website
Broesel01
Voice


Joined: 17 Jun 2005
Posts: 4

PostPosted: Fri Jun 17, 2005 2:46 pm    Post subject: Reply with quote

Hey,

but it gives webinterfaces for eggdrop, where the user can change the .conf...

Many hoster use this interfaces.
Back to top
View user's profile Send private message
De Kus
Revered One


Joined: 15 Dec 2002
Posts: 1361
Location: Germany

PostPosted: Fri Jun 17, 2005 5:58 pm    Post subject: Reply with quote

they probably bought the code from some coder or used there own ones ^-^.
I haven't seen source code for such a thing arround. it doesnt sound to hard to make a php or pearl script to use kill -s HUP with the pid read from the .pid file to rehash it, file management interfaces are out there for sure somewhere ^-^. for rehashing they should use the partyline anyway and a real restart... let them use .die and set up them a crontab Wink.
_________________
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
Back to top
View user's profile Send private message MSN Messenger
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Fri Jun 17, 2005 6:19 pm    Post subject: Reply with quote

*DUH*

http://www.google.com/search?q=web+file+manager
Back to top
View user's profile Send private message Visit poster's website
Australis
Voice


Joined: 28 Jul 2008
Posts: 2

PostPosted: Mon Jul 28, 2008 12:02 pm    Post subject: Need a Webinterface too... Reply with quote

Hello,
my english is not really good, but I try my best...

The situation:
I'm IRCop and Webmaster of a small IRC-Network, and I want to establish a bot-farm with a few eggdrop-bots with serval enhancements... so far so good.
I need a Webinterface for our users are able to login using their (in a mysql stored) nickserv logindata and make one or more of bots join their own channel...

My profession is PHP-developer, so a complete webinterface is not really needed, but at least I need a way to make php possible to send (quickly) commands to an eggdrop-bot (without that long-time-taking login to telnet-partyline)
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2829

PostPosted: Mon Jul 28, 2008 12:39 pm    Post subject: Re: Need a Webinterface too... Reply with quote

Australis wrote:
Hello,
my english is not really good, but I try my best...

The situation:
I'm IRCop and Webmaster of a small IRC-Network, and I want to establish a bot-farm with a few eggdrop-bots with serval enhancements... so far so good.
I need a Webinterface for our users are able to login using their (in a mysql stored) nickserv logindata and make one or more of bots join their own channel...

My profession is PHP-developer, so a complete webinterface is not really needed, but at least I need a way to make php possible to send (quickly) commands to an eggdrop-bot (without that long-time-taking login to telnet-partyline)


Your options in this case would be to create a listening-socket coupled with a controller, providing the mechanisms you need. To be honest however, I doubt this would provide much performance over "telnet", as you'd still be communicating over tcp sockets. The advantage would mostly be a connection with a (by you) well-defined protocol rather than the human-readable text-interface of the telnet-connection.

Other options for IPC are rather limited, at most extending to standard process signals to force rehashes and kills, and polling files..
By coding custom eggdrop modules, you could achieve some support for Unix domain sockets, udp packets, and possibly named pipes.
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
Australis
Voice


Joined: 28 Jul 2008
Posts: 2

PostPosted: Mon Jul 28, 2008 10:23 pm    Post subject: Reply with quote

wow... hard stuff... thx alot Smile
but a friend gave me another hint:
at first step php creates or writes in a file in the eggdrop/scripts dir containing the channels to join
then a regular .tcl script checks every few minutes that file and if in that file created by php and makes the eggdrop join the channel(s)
and after joining the .tcl deletes or purges that file

ok... thats not that fast than the way I first thought about, but it prevents php getting timeout while connecting via sockets to the bot's pl...

i wrote this in case anotherone crazy as I am wants do do a similar thing...
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2829

PostPosted: Tue Jul 29, 2008 10:03 am    Post subject: Reply with quote

Yup, that would be classic "polling" of files.
You could probably get better performance using named pipes, although you would have to keep a well-defined protocol. LinuxJournal has a nice introduction on named pipes well worth reading.

Might add, that my previous post was a bit ambiguous regarding named pipes and modules, you do not explicitly need a separate module to use named pipes, although you will not have access to functions such as mkfifo() from tcl, requiring you to create the named pipe by other means.
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
wac
Halfop


Joined: 10 Dec 2006
Posts: 80
Location: in my cardboard box

PostPosted: Fri Jan 30, 2009 6:10 am    Post subject: Reply with quote

or perhaps use hostserv? or even a channel they can join and do some sort of .+chan #chan and that said chan could be +R for registered users only
_________________
I see j00!
Back to top
View user's profile Send private message
take
Voice


Joined: 22 May 2009
Posts: 2

PostPosted: Fri May 22, 2009 3:47 pm    Post subject: Reply with quote

OpenSource Webinterface for Eggdrops:

Eggdrop Webinterface

Screenshots
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Shell & Bouncer Help All times are GMT - 4 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber