Skip to content

Commit 3bd81d1

Browse files
committed
docs: adding midjourney icon
1 parent 1c7d995 commit 3bd81d1

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Hyper Focus
22

3+
![Logo](icon.png)
4+
35
Hyper Focus is a command line tool that watches what you are doing on your computer and prevents you from doing distracting things.
46

57
It allows you define what "distracting things" are for you. For example, you might want to prevent yourself from using social media between 9am and 5pm. Or making certain google searches. Or using specific macOS applications. You can define what activities are distracting on a schedule.
@@ -153,16 +155,20 @@ Having a first wake script allows you to tie into something like [clean browsers
153155

154156
Instead of UI, I've opted to a simple HTTP API that can be used to power a [Raycast](https://www.raycast.com/iloveitaly/hyper-focus)-based UI.
155157

158+
- `/reload` reload the configuration file
156159
- `/pause` pause the currently running schedule
157160
- `/override` force a blocking profile to run for a period of time
158161
- `/ping` is this thing on?
159162
- `/configurations` array of names of all blocking profiles. To change the order of the results, change the order of the inputs in your config file.
160163

164+
You can hit the API locally for testing using: `http localhost:9029/status`
165+
161166
## Development
162167

163168
- Run the binary manually `swift run`
164169
- Copy local config `cp ./config.json ~/.config/focus/config.json`
165170
- Generate a new release `git tag v0.1.3 && git push --tags origin HEAD`
171+
- Delete last tag remotely and locally `TAG=$(git describe --tags --abbrev=0); git tag -d $TAG; git push --delete origin $TAG`
166172

167173
## Tests
168174

icon.png

366 KB
Loading

0 commit comments

Comments
 (0)