Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Communications > Chat

    Sashenka 3.3

    Download button

    No screenshots available
    Downloads: 417  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Caskey Dickso | More programs
    GPL / FREE
    September 14th, 2006, 14:27 GMT
    ROOT / Communications / Chat

     Read user reviews (0)  Refer to a friend  Subscribe

    Sashenka description

    Sashenka is aJ2EE Servlet container and framework for IRC bots and clients.

    Sashenka is aJ2EE Servlet container and framework for IRC bots and clients.

    Much of it is incomplete and it only handles basic incoming and outgoing messages but it is enough to build trivial bots with.

    Bots are written as Servlets following the
    Sun J2EE servlet model which are loaded by the container.

    The container dispatches messages to and through the modules so that they may respond (if they so wish).

    You could even build a functional IRC client with the utility classes in sashenka but there are enough of those out there already so I don't recommend that you try.

    What sashenka does offer is an object oriented framework for managing IRC traffic. My only use for it is the bot framework built on top of the IRC framework.

    The distro comes with the j2ee.jar from the 1.2.1 j2ee sdk. I include this for convenience, if you have the j2eesdk I encourage you to use your own copy as mine may not jive with your runtime.

    Requirements:

    · java SE sdk 1.4+
    · java EE jar

    Building:

    $ cd src/
    $ make classes
    $ make jar

    Running:

    $ java -classpath src/sashenka.jar:lib/j2ee.jar
    -Dsashenka.Sashenka.nick=botnick
    '-Dsashenka.Sashenka.channel=#sashenka'
    '-Dsashenka.Sashenka.modules=forecast/sashenka.modules.WeatherServlet
    time/sashenka.modules.TimeServlet google/sashenka.modules.GoogleServlet
    dictionary/sashenka.modules.DictionaryServlet'

    That will run the Sashenka runtime, connect to irc.example.com on port 6667, log in under the nick 'botnick' and join the channel '#sashenka'. The quotes are necessary otherwise the '#' character will cause the last parameter to be dropped by the shell. You can load as many modules as you want into the same bot. Each module decides if it is necessary to respond to a particular command or not.

    Product's homepage

      


    TAGS:

    building framework | IRC clients | J2EE Servlet | building | framework | IRC

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM