Author

Topic: [ANN] "GribbleLite" PHP Bitcoin Info IRC Bot (Read 1732 times)

legendary
Activity: 1498
Merit: 1000
One of the best, most powerful and oldest IRC libraries is written in java https://code.google.com/p/pircbotx/. It also makes everything super easy and is one of the few libraries that supports IRC v3 features. So yeah while you can write it in anything there are some libraries that are superior. Do some research before making statements like that.
Touché.  When quickly knocking out a simple IRC bot though, Java is definitely not the language that comes to mind.  By the time I got an IDE and the environment set up, I could have finished if I was just doing one in an interpreted scripting language.

But is it correct, no and also php is horrible with sockets.

How is it 'horrible' with sockets? Please do explain.
Sockets are handled perfectly fine.

Cause sockets are ment to be persistent and php isn't ment to be a persistent language, it should be for scripting.
legendary
Activity: 1498
Merit: 1000
One of the best, most powerful and oldest IRC libraries is written in java https://code.google.com/p/pircbotx/. It also makes everything super easy and is one of the few libraries that supports IRC v3 features. So yeah while you can write it in anything there are some libraries that are superior. Do some research before making statements like that.
Touché.  When quickly knocking out a simple IRC bot though, Java is definitely not the language that comes to mind.  By the time I got an IDE and the environment set up, I could have finished if I was just doing one in an interpreted scripting language.

But is it correct, no and also php is horrible with sockets.
full member
Activity: 223
Merit: 100
One of the best, most powerful and oldest IRC libraries is written in java https://code.google.com/p/pircbotx/. It also makes everything super easy and is one of the few libraries that supports IRC v3 features. So yeah while you can write it in anything there are some libraries that are superior. Do some research before making statements like that.
Touché.  When quickly knocking out a simple IRC bot though, Java is definitely not the language that comes to mind.  By the time I got an IDE and the environment set up, I could have finished if I was just doing one in an interpreted scripting language.

But is it correct, no and also php is horrible with sockets.

How is it 'horrible' with sockets? Please do explain.
Sockets are handled perfectly fine.
vip
Activity: 1316
Merit: 1043
👻
Yes, using PHP for anything persistent is wrong.

PHP is meant to die. http://software-gunslinger.tumblr.com/post/47131406821/php-is-meant-to-die
newbie
Activity: 56
Merit: 0
One of the best, most powerful and oldest IRC libraries is written in java https://code.google.com/p/pircbotx/. It also makes everything super easy and is one of the few libraries that supports IRC v3 features. So yeah while you can write it in anything there are some libraries that are superior. Do some research before making statements like that.
Touché.  When quickly knocking out a simple IRC bot though, Java is definitely not the language that comes to mind.  By the time I got an IDE and the environment set up, I could have finished if I was just doing one in an interpreted scripting language.
newbie
Activity: 56
Merit: 0
LOL, Java?  Explain how that is better   Tongue

All the cool kids are using Python   Grin

You can write an IRC bot in pretty much anything.  I have a friend who did one in Lua, and I recently did a super easy one in NodeJS (which is basically Javascript).
full member
Activity: 223
Merit: 100
Any1 have any opinions?

Yes why did you write an IRC bot in php, that sounds like the worst idea ever. I would learn java right now and write it correctly.
Lol, I do know java, and php is way better for IRC bots anyways.
I speak from experience.
https://play.google.com/store/apps/details?id=com.itslightness.ircbot&hl=en
full member
Activity: 223
Merit: 100
Any1 have any opinions?
full member
Activity: 223
Merit: 100
GribbleLite-PHP
GribbleLite PHP is a project based on Gribble, the python bot.
GribbleLite is essentially a feature lite version of gribble, coded in PHP, using EbilFramework (my irc framework): http://itslightness.com/irc/
GribbleLite is like a barebone bot, just including info about bitcoin and nothing else.

How do you use it?
GribbleLite is meant to be ran inside of 'screen' on unix systems.
You can start it by cd'ing into the directory and after configuring it by typing 'php -f bot.php'.

Commands
;;asks
;;bids
;;blocks
;;bounty
;;diff
;;estimate
;;goxlag
;;help
;;hextarget
;;nextretarget
;;ticker
;;totalbc

Download
https://github.com/ebildude123/GribbleLite-PHP

*The indenting kinda got messed up when I commited it but it's fine on my side, not sure what happened there.
Jump to: