This is the React UI served at notmyphone.com. This project was bootstrapped with Create React App.
- Install the Pushbullet App on your phone, and create an account there.
- Go to notmyphone.com and click 'login' to give it access to Pushbullet.
- Send yourself a test notification via the Pushbullet App, under the 'mirroring' section.
To get your Raspberry Pi to boot up into this app in full screen, you can try the following steps:
- Edit
/home/pi/.config/lxsession/LXDE-pi/autostartand add the line@chromium-browser --kiosk --app=https://notmyphone.com/. - Edit
/etc/lightdm/lightdm.confand add this line to prevent the screen from sleeping:xserver-command=X -s 0 dpms
Note that if you don't want to actually do the login via that tiny screen, you can instead get your auth token by
inspecting the cookie that's set when you log into notmyphone.com via the desktop. There will be a cookie set that
looks like auth=o.SECRETWORDS. You can copy that secret and put it in the querystring of your raspberry pi startup
script, like this:
@chromium-browser --kiosk --app=https://notmyphone.com/?auth=o.SECRETWORDS
This way your authentication can survive reboots. Notmyphone does not have a running server that maintains any state about your connection.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
Deploy the built, static assets to github
- Alarm Clock favicon by Caesar Rizky Kurniawan from the Noun Project