-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME
88 lines (52 loc) · 2.36 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
Welcome to Computer bot / Twitter edition.
----------------------------------------------
Alexandre Loureiro Solleiro <[email protected]>, http://webcracy.org
Website: http://computer.webcracy.org
Documentation: http://computer.webcracy.org/doc/
Computer bot is a prototype bot platform.
Its objective is to explore the marriage of Empowered People,
Web 2.0 (APIs, Mashups, Social), Personal Management Information Systems and Robots.
Computer bot / Twitter edition is a proof of concept application.
Twitter users get an enhanced Twitter IM Bot.
Tweeting developers get a customizable, extendable, prototype IM Bot platform.
Some quick notes to get you started
-------
Computer bot is a ruby program that requires several RubyGems.
You need Ruby (tested with 1.8.5 on Mac OS X and Linux) and to install
the following gems before running Computer bot:
sudo gem install daemons
sudo gem install xmpp4r-simple
sudo gem install jabber-bot
sudo gem install json
Twitter edition requires you to install the following gem:
sudo gem install twitter4r
Configuration
------
Edit and rename
lib/config/config-sample.yml
to
lib/config/config.yml
Enter your bot's Jabber credentials (you can ask me for @webcracy.org accounts).
If you're on Dreamhost, you must specify a resource with your jib, as such:
[email protected]/resource
Example:
Enter your Jabber ID (ex: [email protected]) as "master". (Dreamhosters: No need for a resource here)
Enter your bot's Status message, for example "Computer ready."
Enter your Twitter credentials.
Running the bot
-------
To run the bot, type:
ruby computerbot.rb start
To stop the bot, type:
ruby computerbot.rb stop
Operating the bot
-------
If your config is right, the bot will send you a message saying it's available.
Send "help" to the bot to see all available commands.
User and Developer documentation is being progressively made available at:
http://computer.webcracy.org/doc/
You're welcome to contact me <[email protected]> via IM.
-------------------------------------------------------------------------------
Computer bot. Copyright Alexandre Loureiro Solleiro <[email protected]>, http://webcracy.org
You can read the LICENSE in computerbot.rb