4 votes

Svelte & Capacitor - Build hybrid mobile apps with livereloading and access to device APIs

2 comments

  1. drannex
    Link
    Apologies, if this isn't appropriate, but figured this would help someone else and considering web & app development is mostly a hobby for me (I build and run a small robotics company, so hardware...

    Apologies, if this isn't appropriate, but figured this would help someone else and considering web & app development is mostly a hobby for me (I build and run a small robotics company, so hardware is my passion), figured this belonged here.

    I built this quick template to build mobile apps using Svelte with near complete access to mobile device APIs (bluetooth, camera, sensors, touch, &c) with great performance. While you could spin this up yourself, this has live reloading built in (develop on your computer, see the changes instantly on your phone). I also included a bunch of development & production build commands.

    tl;dr: Use HTML/CSS/JS to build Android/iOS/Electron apps with near native performance and access to all the same device APIs. One code, all devices, and with instant live reloading (no need to compile on every change).

    It's helped me, figured it may be a good starting points for others.

    3 votes
  2. cfabbro
    Link
    Even though webdev can definitely be a hobby, this is a rather technical topic which is probably more appropriate on ~comp and would likely be far more appreciated there, so I have moved it.

    Even though webdev can definitely be a hobby, this is a rather technical topic which is probably more appropriate on ~comp and would likely be far more appreciated there, so I have moved it.