Focusback
Vibrate your fitness band when you're distracted on social media.
Install / Use
/learn @amitness/FocusbackREADME
focusback
Vibrate your fitness band when you're distracted on social media.

How it works
- The script fetches your social media usage time from Rescuetime API.
- If the social media usage exceeds a limit, a notification is sent to the smartphone via Pushover.
- Notifications for pushover are turned on through official app of fitness tracker.
- The process check every 15 mins from the time you're distracted first and repeats 1-2-3.
Dependencies
- Rescuetime extension installed in browser
- Pushover app on your smartphone.
Installation
-
Fork and clone the repo
git clone https://github.com/yourgithubusername/focusback -
Create a heroku app.
heroku create appname -
Set environment variable with your pushover and rescuetime API key.
heroku config:set PUSHOVER_TOKEN='XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' heroku config:set RESCUETIME_TOKEN='XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' -
Push the app
git push heroku master -
On IFTTT, create a new applet.
- On
THIS, selectdatetime> 'Every Hour' - On
THAT, selectWebhooks>Make a web request - Set
URLto your heroku app URL - Set
METHODtoGET - Hit
Create Action
- On
License
This project is licensed under the MIT License - see the LICENSE file for details
Related Skills
bluebubbles
343.1kUse when you need to send or manage iMessages via BlueBubbles (recommended iMessage integration). Calls go through the generic message tool with channel="bluebubbles".
bear-notes
343.1kCreate, search, and manage Bear notes via grizzly CLI.
claude-seo
3.6kUniversal SEO skill for Claude Code. 19 sub-skills, 12 subagents, 3 extensions (DataForSEO, Firecrawl, Banana). Technical SEO, E-E-A-T, schema, GEO/AEO, backlinks, local SEO, maps intelligence, Google APIs, and PDF/Excel reporting.
claude-ads
1.5kComprehensive paid advertising audit & optimization skill for Claude Code. 186 checks across Google, Meta, YouTube, LinkedIn, TikTok & Microsoft Ads with weighted scoring, parallel agents, and industry templates.
