Virtual Secretary's forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Virtual Secretary's forum


 
HomeHome  SearchSearch  Latest imagesLatest images  RegisterRegister  Log in  

 

 MyHAL: a Jabber bot

Go down 
2 posters
AuthorMessage
Admin
Admin
Admin


Number of posts : 66
Registration date : 2006-08-20

MyHAL: a Jabber bot Empty
PostSubject: MyHAL: a Jabber bot   MyHAL: a Jabber bot EmptyFri Jan 12, 2007 10:09 pm

I've created an open-source project on SourceForge: MyHAL (remember HAL in 2001: a space odyssey? Wink )
MyHAL is a robot that you can install on your(s) computer(s), configure it, and you can chat with it from anywhere using a Jabber client (no, not MSN Messenger because the Microsoft protocol is closed). But you can also execute commands remotely or create alerts to be warned when your disk lacks free space, when a download is finished etc. (the only limit is our imagination Smile )

The chat engine is the same as Virtual Secretary's one.
It's an open-source project so anybody can participate (developer, tester, or just for giving ideas Idea ).

From a technical point of view, MyHAL is implemented in C# on Mono (so it will run on Windows and Linux) using SharpDevelop and TortoiseSVN.


Last edited by on Sat Jan 13, 2007 8:09 pm; edited 1 time in total
Back to top Go down
https://virtualsecretary.forumotion.com
Admin
Admin
Admin


Number of posts : 66
Registration date : 2006-08-20

MyHAL: a Jabber bot Empty
PostSubject: Re: MyHAL: a Jabber bot   MyHAL: a Jabber bot EmptySat Jan 13, 2007 8:08 pm

MyHAL has a blog Laughing

http://myhalbot.blogspot.com/
Back to top Go down
https://virtualsecretary.forumotion.com
lemo




Number of posts : 11
Registration date : 2006-09-16

MyHAL: a Jabber bot Empty
PostSubject: Re: MyHAL: a Jabber bot   MyHAL: a Jabber bot EmptyMon Jan 15, 2007 2:56 am

This looks really great
I'm gonna try it out as soon as I get some time Very Happy
Back to top Go down
lemo




Number of posts : 11
Registration date : 2006-09-16

MyHAL: a Jabber bot Empty
PostSubject: Re: MyHAL: a Jabber bot   MyHAL: a Jabber bot EmptyTue Jan 16, 2007 1:03 am

Ok I've installed it
I'm new to jabber, I've installed Exodus to try it, and the installation of the program and mono both went right
The first thing is that I have to type "mono MyHal.Console.exe" in mono command prompt to start the bot
I'm getting this when double clicking the exe:
Quote :
To run this application, you first must install one of the following version of the .net framework: v2.0.50727
Contact your application publisher for instructions about obtaining the appropriate version of the .net framework.
Then I can interact with the bot, but his answers appear only in the command prompt, not in exodus
I'm also searching for a good jabber client for java mobile phone if you know any
Thanks
Back to top Go down
Admin
Admin
Admin


Number of posts : 66
Registration date : 2006-08-20

MyHAL: a Jabber bot Empty
PostSubject: Re: MyHAL: a Jabber bot   MyHAL: a Jabber bot EmptyTue Jan 16, 2007 2:00 am

Did you modify the config file? (especially the "user" key) Question
http://myhalbot.blogspot.com/2007/01/installation-part-2-install-and.html

In fact double clicking the exe works only if .NET 2.0 is installed, but launching it with the mono command is fine.

I've installed Exodus and it works for me...
Back to top Go down
https://virtualsecretary.forumotion.com
lemo




Number of posts : 11
Registration date : 2006-09-16

MyHAL: a Jabber bot Empty
PostSubject: Re: MyHAL: a Jabber bot   MyHAL: a Jabber bot EmptyTue Jan 16, 2007 7:11 pm

allright everything works now Smile
I've installed .net 2.0, and changed the config file, I had wrote "jaber" instead of "jabber" in the user line :p
Back to top Go down
lemo




Number of posts : 11
Registration date : 2006-09-16

MyHAL: a Jabber bot Empty
PostSubject: Re: MyHAL: a Jabber bot   MyHAL: a Jabber bot EmptyTue Jan 16, 2007 7:14 pm

I've just tried with "cmd" command (cmd program.exe)
works great!
cheers bounce affraid Shocked Very Happy
Back to top Go down
Admin
Admin
Admin


Number of posts : 66
Registration date : 2006-08-20

MyHAL: a Jabber bot Empty
PostSubject: Re: MyHAL: a Jabber bot   MyHAL: a Jabber bot EmptyTue Jan 16, 2007 7:18 pm

I've modified the code (not yet released) so that you receive an "unauthorized access" in case of you're trying to send messages from an unknown account (or mispelled your account name Wink )
Back to top Go down
https://virtualsecretary.forumotion.com
lemo




Number of posts : 11
Registration date : 2006-09-16

MyHAL: a Jabber bot Empty
PostSubject: Re: MyHAL: a Jabber bot   MyHAL: a Jabber bot EmptyWed Jan 17, 2007 12:16 am

good idea, I was wondering what would happen if anyone could launch a command on the bot's server, formatting things and all these happy stuff Suspect
I didn't see the "cmd" function on the blog page, is there any other commands you haven't talk about yet?

It would be nice to be able to set custom commands, on a config file, or directly in the chat window, for exemple:

Quote :
setcmd tv c:\Program Files\adsltv\adsltv.exe
"setcmd" + "command name" + "program to launch"

then you just have to type "tv" next time to start tv recording remotely on your computer
Back to top Go down
Admin
Admin
Admin


Number of posts : 66
Registration date : 2006-08-20

MyHAL: a Jabber bot Empty
PostSubject: Re: MyHAL: a Jabber bot   MyHAL: a Jabber bot EmptyWed Jan 17, 2007 7:33 pm

Quote :
I didn't see the "cmd" function on the blog page, is there any other commands you haven't talk about yet?
I don't know if I'll keep the "cmd" command because it can be dangerous (from a security point of view, and for beginner end-users)

I've released version 0.2:
- First usable version of FileWatcher (you receive a message when a file is created in a directory)
- System commands: cd, ls, pwd, ps
- File transfers ("file" command to download a file)

See the blog for more details.

Quote :
It would be nice to be able to set custom commands, on a config file, or directly in the chat window, for exemple:

Quote:
setcmd tv c:\Program Files\adsltv\adsltv.exe
"setcmd" + "command name" + "program to launch"

then you just have to type "tv" next time to start tv recording remotely on your computer
Great suggestion Wink , I've added it to the tasks list
Back to top Go down
https://virtualsecretary.forumotion.com
lemo




Number of posts : 11
Registration date : 2006-09-16

MyHAL: a Jabber bot Empty
PostSubject: Re: MyHAL: a Jabber bot   MyHAL: a Jabber bot EmptyThu Jan 18, 2007 3:21 am

the "cmd" function was exactly what I needed, although it's dangerous
or maybe you could only let active predefined commands in a config file as I suggested, though it would be less fun and adaptable scratch

I just have a lil problem with the upload (I sent you the log in mp)
but the new commands are pretty cool

Keep it up! rendeer
Back to top Go down
Admin
Admin
Admin


Number of posts : 66
Registration date : 2006-08-20

MyHAL: a Jabber bot Empty
PostSubject: Re: MyHAL: a Jabber bot   MyHAL: a Jabber bot EmptySat Jan 20, 2007 6:54 pm

version 0.3 is released Smile
You can now add your own commands using the "alias" command.
(see here for more details, I used your "tv" example Wink )
Back to top Go down
https://virtualsecretary.forumotion.com
lemo




Number of posts : 11
Registration date : 2006-09-16

MyHAL: a Jabber bot Empty
PostSubject: Re: MyHAL: a Jabber bot   MyHAL: a Jabber bot EmptySun Jan 21, 2007 8:32 pm

thanks =)
the alias command works great, I like the easy-access xml file too

Quote :
alias /action:a /name:tv "command"
I think the line is a bit complicated however, is the following harder to code?
alias a tv "command"
this looks more simple (for me at least :p)

it would be fun to have an icon for the program, for exemple MyHAL: a Jabber bot Hal1,
and why not a way to minimize it in the task bar Rolling Eyes
Back to top Go down
Admin
Admin
Admin


Number of posts : 66
Registration date : 2006-08-20

MyHAL: a Jabber bot Empty
PostSubject: Re: MyHAL: a Jabber bot   MyHAL: a Jabber bot EmptySun Jan 28, 2007 1:09 am

Quote :
it would be fun to have an icon for the program, for exemple ,
and why not a way to minimize it in the task bar Rolling Eyes
I've just released a Windows setup that installs MyHAL as a service, so it will be launched as soon as the machine starts (and so there is no console anymore)
Back to top Go down
https://virtualsecretary.forumotion.com
Admin
Admin
Admin


Number of posts : 66
Registration date : 2006-08-20

MyHAL: a Jabber bot Empty
PostSubject: Re: MyHAL: a Jabber bot   MyHAL: a Jabber bot EmptySat Feb 03, 2007 8:34 pm

Version 0.4 released.

I've added a "help" command to display all available commands and a "logwatch" command to monitor the Windows EventLog.
Back to top Go down
https://virtualsecretary.forumotion.com
lemo




Number of posts : 11
Registration date : 2006-09-16

MyHAL: a Jabber bot Empty
PostSubject: Re: MyHAL: a Jabber bot   MyHAL: a Jabber bot EmptyFri Feb 16, 2007 12:50 am

works all fine Smile
the only problem of the service version is that myHal uses 18mo of memory (on my computer), so I prefer launching occasionally when needed the console version by now
any chance to reduce memory level one day ?

I'm now checking how to use the wake on lan for a complete remote solution Cool
-power on: http://www.remotewakeup.com/en/index.php
-myHal
-power down: shutdown (alias /action:a /name:shutdown C:\windows\system32\shutdown.exe -s)

edit: can you add wake on lan to virtual secretary? Very Happy
Back to top Go down
Admin
Admin
Admin


Number of posts : 66
Registration date : 2006-08-20

MyHAL: a Jabber bot Empty
PostSubject: Re: MyHAL: a Jabber bot   MyHAL: a Jabber bot EmptyMon Feb 19, 2007 1:58 am

I don't think I can reduce the memory consumption ; I've just added a windows service project, and all the code is the same...
the drawback of .NET applications... Crying or Very sad
Back to top Go down
https://virtualsecretary.forumotion.com
Sponsored content





MyHAL: a Jabber bot Empty
PostSubject: Re: MyHAL: a Jabber bot   MyHAL: a Jabber bot Empty

Back to top Go down
 
MyHAL: a Jabber bot
Back to top 
Page 1 of 1
 Similar topics
-
» MyHAL : robot Jabber open-source

Permissions in this forum:You cannot reply to topics in this forum
Virtual Secretary's forum :: News and announcements-
Jump to: