Minimal Kiosk App with Snappy

Anthony Kolodzinski anthonykolodzinski at gmail.com
Mon May 23 15:53:32 UTC 2016


Thanks for the support, guys.
Also Mark, thanks for the intros.

When this is figured out it will be a powerful tool for kiosk/medium size
connected device development.

I will try all of this out shortly!

On Mon, May 23, 2016 at 11:50 AM Marco Trevisan <
marco.trevisan at canonical.com> wrote:

> Hi Anthony,
>
> Electron OS backend (brightray) doesn't support mir yet AFAIK, although
> if you want to use this framework you could use a simple X server in the
> mean time, and then move to mir once we get support for that (I expect
> this to be a quick update at that point).
>
> I've been playing a little with electron apps and snapcraft, and they
> can run pretty easily by using something like this [1]. However, right
> now it only works when installed in --devmode, but I guess we'll fix
> this soon.
>
> [1] https://code.launchpad.net/~3v1n0/+junk/electron-quick-start-snap
>
> Il 23/05/2016 10:33, Mark Shuttleworth ha scritto:
> > Hi Anthony
> >
> > You should be able to get first-class support for Electron as I know
> > there are a few Electron-based snaps in progress.
> >
> > I wanted to bring your mail thread into the new list
> > (snapcraft at lists.ubuntu.com).
> >
> > I'm pretty sure your use case, a web-based kiosk style snap, is going to
> > be very common. So for now I would suggest that you work on a desktop
> > snap that works on plain old Ubuntu 16.04 desktop in --devmode while
> > other folks work out the kinks for non-X11 electron snaps. That wont
> > take long and then yours will fit right in :)
> >
> > Mark
> >
> > On 25/04/16 17:29, Anthony Kolodzinski wrote:
> >> Hi all,
> >>
> >> I am new to Snappy development, and have a question regarding an
> >> application I am developing.
> >>
> >> My requirement is to be able to run a minimal, single window GUI using
> >> HTML, CSS, Javascript, and to be able to run it natively using a
> framework
> >> like electron <http://electron.atom.io/>.
> >>
> >> My question is, should I attempt to build X and electron in a docker
> >> container, and hook that into my monitor, or use something like the QT
> Web
> >> Engine <http://doc.qt.io/qt-5/qtwebengine-index.html> with MIR.
> >>
> >> Secondly, I have searched around, but if anybody has any resources that
> >> provide examples on how to accomplish this it would be greatly
> appreciated.
> >> Thanks.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20160523/5fec36ea/attachment.html>


More information about the Snapcraft mailing list