Linux Version

Here you are welcome to post Push2Run feature requests
Post Reply
Rigor
Posts: 5
Joined: Sun Aug 18, 2019 5:15 am

Linux Version

Post by Rigor »

Hello,

that would be awesome to be able to use this app for example on a Raspberry Pi.

Best regards
RobLatour
Site Admin
Posts: 1016
Joined: Mon Feb 19, 2018 11:43 am

Re: Linux Version

Post by RobLatour »

Agreed, I just don't know enough about Linux to do that.

However, I've coded the heart of it for an esp32 board (the Pi's little brother) - you can see that here:
https://hackaday.io/project/170281-voic ... sage-board
CodeFarmer
Posts: 1
Joined: Fri May 15, 2020 11:53 am

Re: Linux Version

Post by CodeFarmer »

Here is another vote for a linux version. It would be so sweet to run it on an inexpensive Raspberry Pi. In which language did you code it?
Mherber2
Posts: 10
Joined: Thu Nov 26, 2020 2:20 am

Re: Linux Version

Post by Mherber2 »

I'd like to assist with Linux development.
RobLatour
Site Admin
Posts: 1016
Joined: Mon Feb 19, 2018 11:43 am

Re: Linux Version

Post by RobLatour »

Push2Run is coded in vb.net.

Not sure if it can run ontop of Linux using something like this: https://www.winehq.org/

However, Push2Run does do some Windows OS stuff, such as running other applications, which may not translate well to a Linux implementation.

If you decide to give it a go, I would be very interested in your results.
Mherber2
Posts: 10
Joined: Thu Nov 26, 2020 2:20 am

Re: Linux Version

Post by Mherber2 »

I pulled inspiration from push2run and setup something similar for Linux although its not nearly as graceful.

Follow the provided push2run ifttt instructions for dropbox, install dropbox on linux, then use a script to process the file produced by dropbox. Below is an example script. This type of solution should work on Linux and Mac however it is not something that can be supported on this forum.



Code: Select all

#!/bin/bash
watchedFile=/home/user/Dropbox/Apps/Push2Run/system.txt

while (true);
do
  if [ -f $watchedFile ]; then
    echo received:
    cat $watchedFile
    if grep "ping Google" "$watchedFile"; then
      gnome-terminal -- ping google.com
    elif grep "open Netflix" "$watchedFile"; then
      gnome-www-browser netflix.com
    else
      echo Unknown Command
    fi
    rm $watchedFile
  else
    sleep 1s
  fi
done
Mherber2
Posts: 10
Joined: Thu Nov 26, 2020 2:20 am

Re: Linux Version

Post by Mherber2 »

for those following this thread, see post https://www.push2run.com/phpbb/viewtopic.php?f=6&t=775 for a way to setup ifttt with a rule that will work on both linux and windows as well as provide a way of controlling both with a single ifttt applet.
RobLatour
Site Admin
Posts: 1016
Joined: Mon Feb 19, 2018 11:43 am

Re: Linux Version

Post by RobLatour »

just a note - Push2Run now works on a Raspberry PI running Windows 10 (for more on the Pi running Windows 10 check out https://www.worproject.ml/

(also you can see it in action in the current featured video on the push2run website - linked here (around 23 minutes and 10 seconds in) : https://www.youtube.com/watch?v=COsRMLA ... e=emb_logo
Post Reply