Official website

Thursday, February 20, 2014

Contains method on evalBool statement

evalBool statement is excellent when you need to apply logic. To provide some more flexibility I added a new feature in version 0.2.1 of libJanet.dll. The new method called contains and is represented by ~>. To check framework version, go to terminal tab and type %about%.
The example below will evaluate if the word "Rain" is included in the result of %todayconditions% function (more on functions and weather feed configuration).

Evaluation
Response for true part
Response for false part
Debug

You can also add some stuff on final synthesis for "You don't need your umbrella" like "Today conditions is %todayconditions%. You don't need your umbrella!" which will result "Today conditions is Sunny. You don't need your umbrella!".

Saturday, February 15, 2014

New stylesheets for a fresh mobile look

Download the Mist or Vintage stylesheet and uncompress it. Jump to Jubito's /www/themes/ directory and replace your default.css and default.min.css with those extracted.

Mist


Vintage

Wednesday, February 12, 2014

Jubito client for android

Android client is finally released! Setup your Jubito server and use the app for remote access. Download



Wednesday, May 1, 2013

Posting actions via qr code

For simple understanding on how to use RESTful commands, let's make a dummy example with a QR code.
If you want to post to the server over the web, go to your favorite qr code maker (http://goqr.me/) and select URL. Type your Jubito hostname including the REST style command (/index.html?cmd=<your-custom-instruction set>). When you scan the QR code, the corresponding action will be executed.


On your home network you can use a TCP socket. Check this post to see how to setup a TCP socket to listen for network data.
Syntax... http://192.168.1.90:5744/<your-custom-instuction-set>. Just make sure that you have include the senders IP to the trusted list in XML file.


By using a socket you can also access via telnet.
Syntax telnet 192.168.1.90 5744

See also Communicate over a TCP socket

Monday, April 15, 2013

Stylesheets

Themes below are apply to jquery mobile 1.3.1. Jubito currently use version 1.4. Please read the note on this post.

Glacier (Default)

Download

Droid

Download

Bronze

Download

Mustard

Download

Desert

Download

Hot Rod Red

Download

Brick

Download

Reddish

Download

Instructions

To change the stylesheet follow this post
or alternatively edit index.html and change the stylesheet name
<!DOCTYPE html>
<html>
    <head>
        <title>jubito</title>
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <link rel="stylesheet" href="default.css" />
        <link rel="shortcut icon" href="favicon.ico" />
        <link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.1/jquery.mobile.structure-1.3.1.min.css" />
        <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
        <script src="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.js"></script>
You can also create a custom one with themeroller.

Friday, March 22, 2013

Linux voice configuration

The voice-installer script from download area installs the cmu_us_slt_arctic voice [1]. By default it's set to US English slt (female) voice. In this post we'll see how to make a different selection.

First listen voice examples here and choose which one you want to use. Then download the package from here and modify the voice-installer script to use that file. When installation completes, edit /etc/festival.scm file and jump to CMU Arctic voices. Comment the default one (in yellow) with double semicolons (;;) and remove them from your desirable choice. This is it. Save and close the file and you're done!

;;;; CMU Arctic voices
;;(set! voice_default 'voice_cmu_us_rms_arctic_clunits)
;;(set! voice_default 'voice_cmu_us_bdl_arctic_clunits)
(set! voice_default 'voice_cmu_us_slt_arctic_clunits)
;;(set! voice_default 'voice_cmu_us_clb_arctic_clunits)
;;(set! voice_default 'voice_cmu_us_awb_arctic_clunits)
;;(set! voice_default 'voice_cmu_us_jmk_arctic_clunits)

[1] By default the script checks if festival exists. If not, will ask you to install. Then you should re-run the script to proceed to voice installation.

* Automated scripts will follow for all arctic voices.

Monday, March 18, 2013

Version 0.9 beta released

A beta version of Jubito finally released! It comes in two flavors, Windows and Linux.

Download Jubito