Home Home Contact us Contact
home News Projects Tests Files Follow manatlan on Twitter Sign in
2012/09/21 20:50

Shaarli on the play store

Just a post (from my nexus7): I have subscribed a Dev account on the play store, and uploaded my first app : so, Shaarly is now on the play store. Shaarli android is an android client for the marvelous Shaarli from sebsauvage.

I plan to release sources on github soon, stay tuned.

BTW, I've bought a nexus7 from Google, and I'm really happy with :-)

Comments (View) Tags: android
2012/07/03 14:57

Shaarli APK

I was a big fan of in the past. When yahoo decided to shutdown it : I moved to diigo, like a lot of users.

For 3 months, I moved all to Shaarli, which is the same thing, but without the social bookmarking side. Shaarli is perfect in many points (like many products of sebsauvage, which is a python fan, like me ;-) ) !

Being a happy user of an android device, I really needed an way to bookmark links in shaarli, from my device. In less than one hour, I reach to produce an apk heavily based on this tutorial, without having done any android application before (just to say, that android dev is really easy). The app seems to do the job, and is available from a sebsauvage post, you can grab it here.

It is the first release that I sent to Sebsauvage. I don't make any updates since that day. I don't know how many shaarli's users use it. I don't see any evolutions to do (but perhaps you ?). It's free, and not available from the google play store (but perhaps one day, coz' I plan to take an account for my others apks).

It's really simple : run the app to configure your main shaarli'url. At the first share (*), shaarli will ask your account before posting. Next shares will bring you immediatly on the post page.

(*): It uses the share hook system of android's os. At any place where you can share an url, shaarli should appear in the sharing list.

Comments (View) Tags: android
2012/05/25 13:16

FreeboxV6 JSON Api with Python

Just a snippet : a simple python wrapper around JSON/Freebox V6 API

# -*- coding: utf-8 -*-
import cookielib, urllib, urllib2
import json
from pprint import pprint

# install an urlopener which handle cookies
cookiejar = cookielib.CookieJar()
opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cookiejar))

class FBXComm(object):
    def __init__(self,host,passwd):

        request = urllib2.Request("http://%s/login.php"%host, urllib.urlencode(data), {})
        assert r.code == 200

        for i in cookiejar:
            if == "FBXSID":
        assert fbxsid

    def call(self,method,data):
        return json.loads(

if __name__=="__main__":
    pprint("conn.status",[]) )
    pprint("fs.list",["/Disque dur"]) )

Inspired from chosesafaire

More documentation on Freebox V6 apis

Comments (View) Tags: freebox
2012/05/14 10:01

Adroid dev

Since I've got an android device, I try to developp on it. I've tried Kivy, which is a little more than an android framework ;-). It's really multiplatforms, but target multi-touch devices. It's pretty cool to be able to developp powerful app with the python language. The only big downside, is that the size of the resulting package/apk : at less 6mb ;-(

I've tried PhoneGap (with JQM), which is a java boostrap app running a webview, letting you code your app with javascript and html5 features (html, canvas, audio/video, persistent datas,...). Phonegap provides javascript's api to access core features of the android device. It's a good choice for multiplatforms too ! The size of a resulting package/apk starts at 120kb, which is far decent !

Yesterday, I've tried the SDK/ADT android java framework in Eclipse. Forget the multiplatform ;-), but it's really powerful, and let you do what you want, in a great development context/ide. It's really easy to code/test and see the result immediately. I will stick with that ! The size of a resulting package/apk starts at 10kb ;-).

I've made an App which consumes JSON http request/response to build its own interface (button, checkbox, searchbox, spinner, ...). In fact, the same thing I've made in LUA for my squeezeboxes, 10 months ago. I've made a phonegap and a native one for my android. The native version is really really responsive, looks better/real (coz native), and consumes less memory/cpu.

No android apps to release here, because they only works in my LAN. But I should ask my self, if I should release "My Json Server protocol", which can deliver some UI actions, because I've got 3 clients now: a web version (with jqm), an android one, and a squeezebox applet ;-). With this thing, you can easily setup a server which "do some things", and control it from a browser, an android or a squeezebox ;-) ... does anyone is interested?

Comments (View) Tags: android
2012/02/19 11:53

pyplaydar and some news

Finally I released a version of pyplaydar which is now compatible with tomahawk's resolvers ! Tomahawk's resolvers are mainly in javascript, so I needed to run them thru pyv8. So pyplaydar owns a "playdar's resolver" which is able to call a "javascript tomahawk resolver". This resolver should be compatible with other playdar implementations. Everything is on my github ... It begins to be usable, it can resolve things ;-)

The second big thing : I've bought an android device, my first phone and my first smartphone ;-) What a great device ! I've started to developp apk with kivy (a python framework to make multi-touch app): very easy to use. The only downside is that the apk starts with a minimal size of 6mb, but an app works on major platforms (win/*nix/mac/android/iOS). My android is the perfect device to drive my squeezeboxes too ;-)

A new release of py2deb too ;-), and a new release for jbrout too

Comments (View) Tags: py2deb, jbrout
2011/12/04 13:46

Introducing PyPlaydar

Since I've got my squeezebox'es, all code I done it's related to my music server, or music hacking. I can nearly listen all what I want. There are a lot of python's lib to fetch content from grooveshark, pandora, lastfm, echonest or vk ;-) (Note : I should release my python lastfm client (yet another one) ! and my lua applet for squeezebox)

The last thing which interested me is playdar : a music content resolver. I never reach to run it, so I decided to create mine. Introducing PyPlaydar : a Playdar music server resolver. Currently, it resolves nothing ;-). It's just the implementation of the playdar protocol. But it's easily plugin'able ! It's fully compatible with current JS clients !

It use the latest bottlepy and the cherrypy wsgi server (all included).

At this time, I really don't know if I will push it. Currently, it helps me to understand how it's working. I'm trying to chain Playnode(a recent java one) and tomahawk, a smart music player which embed a playdar server.

I'd like to create a content-resolver playdar server for my squeezebox'es. But I don't know yet, if I will push it, because I already have this kind of feature (my own resolver).

Comments (View) Tags: squeezebox
2011/11/12 16:04

Experiencing the billing system of GAE

Since some days, reach the limit of the free quotas on google app engine. And it was not always available ;-)

It's my first GAE website which goes seriously out of the free quotas. And I've decided to inject some dollars in the billing system.

It's Time to pay the service ;-)

Comments (View) Tags: ibraining
2011/07/26 08:41

Box & Box (free' & squeeze')

7 months without any post ... a record ;-) In fact, I was playing with my box'es ;-). At the beginning of the year, I've got my freebox revolution v6 : a great toy, with a lot of features to test ;-). I won't list all the features (everybody should know them now), but it was(/is) a great move from Free. There were a lot of bugs at the beginning, but firmware updates are frequent, and all the main features work very well. The only trouble, for me, is that I can't test my freebox's apps on the V6, and I can't developp new ones. But it seems that elixir will be available this summer.

The other boxes, which take my time, are the squeezebox'es. I've bought a Touch and a Radio one. I wanted to change the way to listen music at home. In the past, my main computer was running mpd. The sound was sended to the hifi in living-room, and to different active radio-frequency HP in home. The server was drived thru a http website, the multimedia's keys of my keyboard, or with a radio-frequency remote. It was great, but not really simple for others ;-). With SqueezeBox'es : they do all that things (and a lot more) in a simpler way, with LCD display. For me : it's the perfect solution ! Everything is now inter-connected : my music (on a Nas), my computers, the box'es (squeeze and freebox), and the audio with my lastfm account.

And the best : I can develop things on the squeezebox device, or on the serverside, to enhance the experience. I've started my dev with a generic applet (in LUA), which is able to understand json commands, over http, to display some widgets on the device (menu, search box, text ...). It let me easily develop serverside's features with python ;-)

I'm in love with theses boxes ! They are perfect for non-geeks, but are really really perfect for geeks/developpers too.

I think I will release my squeezebox's applet, because it's an easy way to add serverside's features (in any language) not related to a real squeezebox server (which is perl based ;-( ).

Comments (View) Tags: elixir, squeezebox
2010/12/03 10:37

Websocket in GAE

It's christmas : Great day for GAE lovers. Channels are available in GAE ! I have played since yesterday : It's amazing, and well integrated.

The SDK provides a javascript lib for the client side (which simulate websocket). But the client can't write into the socket, and need to call serverside thru ajax ;-(. Only the server side can write into it to push data for clients. APIs are low level, server side needs to maintain its clients, thru datastore.

I can start to implement web game in atomic bombers

EDIT : It seems it's not real websocket (to be able to work on every browsers, or because html5 specs is not really finnished). But it works like. Currently the JS SDK do polling for you ;-(. Hope the real websocket will be available soon !

Comments (View) Tags: gae
2010/11/28 10:56

Autowifi should work for Neuf hotspots

Sorry for this little post. Just want to inform autowifi's users that the new release should now support neuf/sfr hotspots too.

my PPA is not up-to-date (due to quickly/launchpad trouble) you will find latest releases here !!!

Comments (View) Tags: ppa
<< oldest newest >>


RSS Python Powered Get Ubuntu
©opyleft 2008-2019 - manatlan