https://github.com/silvinor/earlsaver
A MacOS screen saver that displays a URL non-interactively. Use it for marketing or clocks ... whatever
https://github.com/silvinor/earlsaver
objective-c screensaver xcode
Last synced: about 1 month ago
JSON representation
A MacOS screen saver that displays a URL non-interactively. Use it for marketing or clocks ... whatever
- Host: GitHub
- URL: https://github.com/silvinor/earlsaver
- Owner: silvinor
- License: mit
- Created: 2024-10-17T05:08:47.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-01T03:57:23.000Z (about 1 year ago)
- Last Synced: 2025-03-01T04:25:55.869Z (about 1 year ago)
- Topics: objective-c, screensaver, xcode
- Language: Objective-C
- Homepage:
- Size: 248 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Earl Saver
> Ummm... a play on words with reminiscences of the TV show, "My Name Is Earl" - it's supposed to be called URL Saver
This project is a custom macOS screen saver that displays a web URL. Use it to display your corporate marketing animation or a clock ... whatever. Note, it is ***not*** interactive - since once you move your mouse the saver will terminate - keep that in mind.
## Features
- A **URL**: Point to a URL. That's it.
## Configuration
The screen saver can be configured by modifying the `config.json` file. Here's an example of what you can customize:
```json
{
"url": "https://yourcompany.yourdomain/yourmarketingslidedeck"
}
```
## License
This project is licensed under the MIT License. See the [LICENSE.md](LICENSE.md) file for details. *(It would have been the Unlicence / public domain, but that carries the burden of Liability and Warranty.)*
## Acknowledgment
The `v0.1` code was entirely written by ChatGPT, an AI developed by OpenAI, with guidance and project input from me. *(On a 2013 **iMac**, running **MacOS Catalina** 10.15.7 and **Xcode** 12.4.)*
What's fascinating on this one is that it got it right on the first try, with no modifications! The prompt I used was:
```txt
Hello. Today you're going to help me write a screen saver in MacOS. We're using Xcode 12.4 and writing in Objective C. We'll start by setting some initial ideations:
a) Main class will be called `EarlSaverView`
b) The screen saver will display a web site - the URL for the website will be extracted from an app resource file called `config.json`
c) Try to use the native `WKWebView` class
d) Please separate prototypes and header info into a `EarlSaverView.h` file and the underling code into a `EarlSaverView.m` file
```
---
Made with :heart: by **Silvino Rodrigues**