Bitcoin Forum
May 06, 2024, 12:20:24 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [ANN] "GribbleLite" PHP Bitcoin Info IRC Bot  (Read 1711 times)
ebildude123 (OP)
Full Member
***
Offline Offline

Activity: 223
Merit: 100


View Profile
April 14, 2013, 09:26:53 PM
Last edit: April 15, 2013, 12:58:00 AM by ebildude123
 #1

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.
1714998024
Hero Member
*
Offline Offline

Posts: 1714998024

View Profile Personal Message (Offline)

Ignore
1714998024
Reply with quote  #2

1714998024
Report to moderator
1714998024
Hero Member
*
Offline Offline

Posts: 1714998024

View Profile Personal Message (Offline)

Ignore
1714998024
Reply with quote  #2

1714998024
Report to moderator
1714998024
Hero Member
*
Offline Offline

Posts: 1714998024

View Profile Personal Message (Offline)

Ignore
1714998024
Reply with quote  #2

1714998024
Report to moderator
Remember that Bitcoin is still beta software. Don't put all of your money into BTC!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
ebildude123 (OP)
Full Member
***
Offline Offline

Activity: 223
Merit: 100


View Profile
April 15, 2013, 02:08:44 AM
 #2

Any1 have any opinions?
ebildude123 (OP)
Full Member
***
Offline Offline

Activity: 223
Merit: 100


View Profile
April 15, 2013, 03:17:50 AM
 #3

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
Wingman4l7
Newbie
*
Offline Offline

Activity: 56
Merit: 0



View Profile
April 15, 2013, 05:51:01 AM
 #4

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).
Wingman4l7
Newbie
*
Offline Offline

Activity: 56
Merit: 0



View Profile
April 15, 2013, 06:03:03 AM
 #5

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.
🏰 TradeFortress 🏰
Bitcoin Veteran
VIP
Legendary
*
Offline Offline

Activity: 1316
Merit: 1043

👻


View Profile
April 15, 2013, 06:18:54 AM
 #6

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
ebildude123 (OP)
Full Member
***
Offline Offline

Activity: 223
Merit: 100


View Profile
April 24, 2013, 10:34:36 PM
 #7

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.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!