Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add random background Spoon #305

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

roeeyn
Copy link

@roeeyn roeeyn commented Jul 4, 2023

I've always enjoyed the dynamism of having a fresh background with every Hammerspoon config reload. I have used both the UnsplashRandom and UnsplashZ Spoons in the past, but recently, they've started to exhibit issues. The core of this problem stems from Unsplash's decision to deprecate the source endpoint, which both of these Spoons heavily relied upon.

In light of this, I took the initiative to develop a new Spoon that taps into the modern Unsplash API. The primary distinction with this approach is the necessity of an API key, a measure implemented by Unsplash to safeguard against misuse. However, I am currently in the process of finalizing the best practices for documenting these instructions.

I sincerely appreciate any feedback you might have and look forward to collaborating with the community to make this Spoon the best it can be. 馃槃

@muescha
Copy link
Contributor

muescha commented Jul 24, 2023

i miss documentation and a variable in obj for unsplash_api_key
like obj.unsplash_api_key = ""

-> since the API call need the key it should be mandatory at start maybe as parameter for start

additionaly I would allow the user to change the interval and the url of the service (in case they change again the api)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants