Skip to main content

Collect all browser URLs, output to terminal, and archive to todoist

Project description

Clean Workspace: Archive Web Browser Tabs

I've been experimenting with how to make my mornings more productive. One glitch I've found in my mind is I can easily get distracted by open tabs on my browser, especially if I'm trying to write or read something which I want to give my full attention to. I've found that if I close all my tabs, I can focus better on the task at hand. However, I don't want to lose any interesting tabs so I never actually do that.

This is simple utility to automate this process. It will close all your tabs (in both Safari & Chrome), and send them to todoist (and output) them to the terminal.

We'll see if this actually helps!

Installation

poetry install
poetry run clean-workspace

Usage

  • Add your todoist token to .envrc and direnv allow .
  • Customize the url and domain blacklist

Collecting Tab Description Via AppleScript

Here's a quick script you can use to collect a description of what you were working on via applescript:

dialogResult=$(
osascript <<EOT
set dialogResult to display dialog "What were you working on yesterday?" buttons {"OK"} default button "OK" giving up after 300 default answer ""
return text returned of dialogResult
EOT
)

Inspiration

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

clean_workspace-0.1.0.tar.gz (5.0 kB view hashes)

Uploaded Source

Built Distribution

clean_workspace-0.1.0-py3-none-any.whl (5.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page