:: [DNG] Introducing Otari±
Top Page
Delete this message
Reply to this message
Author: Didier Kryn
Date:  
To: dng@lists.dyne.org
Subject: [DNG] Introducing Otari±
    This is to advertise an application I have published yesterday on
Devuan's git repository.

    End 2022 AFAIR my good old mobile phone stopped working and I had
to buy a new one. I opted for a smartphone with 5G capability because I
intended to keep it for long and didn't want to be taken by the
termination of a technology.

    I quickly discovered this device was a prolific sources of files:
pictures and videos, which I would upload to my Linux box.

    In about one month I hacked a web server able to upload files,
using a browser on the Android phone; this was version 0 of the
application. But it was unstable and the usability of the web interface
was very bad. This is because the web browsers implement it rather
poorly. This is probably the reason why most professional web services
providing some upload capability implement it through javascripts. I
don't know the javascript language and assumed HTLM5 should do it with
the help of some graphics and style.

    I worked on two aspects: improving the usability of the interface
and improving the protocol-decoding logic. Version 1 of the application
used a flex-based lexical analyser and a home-made grammar. It worked
but was very difficult to upgrade and maintain because the lexer
configuration was very complicated.

    Then I developped the current version 2, and worked hard to make it
as readable and easy to maintain as I could. I wrote a lot of
documentation to help myself to maintain it, and added a number of
little features to polish its behaviour as much as I could. I have been
using it very often: at least once per week, for about two years now,
either to upload images from my phone, or to put on the phone some
documents I wanted to take with me.

    I think I have polished it enough to publish it without too much
shame. It is a C application. You only need a C compiler and the GNU
version of Make to build it. The principal design goals are:

    - It is able to upload files, actually up to hundreds of files in
one shot - but don't abuse - and also download, though one by one;

    - It has a human-usable web interface;

    - It has no dependency at all; it does not even depend on a config
file or any other data file: it is totally contained in the executable file.

    I have used it with friends' devices: Android tablet, Android
phones, and one disapointing test with an Iphone. At home, I tested it
on localhost with Palemoon and Firefox, and with my Android phone with
browsers Fennec, Duckduckgo, Samsung, and Chrome. My daily browser on
Android is Fennec.

    The name of the application is Otari±, but its name in Devuan git
repository is "Otari-". The reason for the name is written in the User's
manual.

    I'd be pleased if someone finds it usefull enough to give it a try
and report, even privately.

--     Didier