Giter VIP home page Giter VIP logo

homie's Introduction

Homie

TODOs

  • Come up with a better name
  • Allow connections from local network without token auth?
  • Loading indicators on buttons (changing background?)
  • Animation for input errors
  • Animation for done tasks
  • Handle connection/auth/etc errors more clearly
  • Desktop version
  • Filters/sorting (and searching?)
    • But actually implement it
  • Logout functionality
  • Add UI translations
  • Add API translations
  • Some level of token expiry and deletion
  • Move tasks into SQLite
  • Load users from a file somewhere
  • History (and undo)
  • Task completed on (x) date
  • Better cache-control headers

How to build

Building for a Raspberry Pi

Update: Just using cross seems to work now.

This is going to depend a lot on the laptop, environment, latest versions, etc. What works right now may need adjusting in the future.

  • Problems I ran into
    • The Raspberry Pi glibc version is older than the ones supported by Rust at the time of writing (I think?) therefore I needed to use musl to get this working.
    • I do not have the relevant musl headers installed on my computer (PopOS), so I needed to install them via musl-cross-make.
    • I need to build and link C sources (sqlite), which seems to make things more complicated. I initially used the latest version of musl, which could build everything successfully, but the Rust musl target uses a specific version, and because these versions are not compatible, this breaks. Therefore, I needed to select version 1.1.24 in my config.mak while building musl.
    • I tried using the locally built version of musl, but while compiling sqlite, this seemed to run into issues. Therefore I needed to also install the finished files to /usr/local before everything was happy.
$ cargo build --target armv7-unknown-linux-musleabihf
# Or, takes longer but produces a much smaller binary
$ cargo build --target armv7-unknown-linux-musleabihf --release

homie's People

Contributors

jfrere avatar mrjohz avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.