Comments (3)
Homepage isn't meant to be an image-heavy application necessarily. And since each instance is self hosted, it's up to the developers themselves to figure out how or where to get their background images from - I just figured Unsplash was a good place to start and provide a default for users. Even with 50 images / hour, that's still a new image request every 90 seconds. I wouldn't say that Unsplash is no longer viable.
Do you have a suggestion for a replacement service? Alternatively, I could change the default time_to_refresh_bg
config variable to 90 seconds, meaning a normal user wouldn't go over the free app allotment.
from homepage.
Sorry, I don’t know of a replacement service. The problem is that by default you get Unsplash’s “demo” API. Meant for testing only. If anyone applies for Unsplash’s normal production API Unsplash will shut it down. That’s what happened to me. I wasn’t trying to abuse their API or place this homepage within a traffic heavy site. I just thought, “I’ll apply for the production API... why not? It’s free.” I didn’t realize Unsplash would then shut it down after seeing it was a rotating image situation.
But, it’s fine for you to keep this as-is. If nothing else as an example that you can use some kind of API for the background images. Maybe some type of note in the readme would be helpful though. I’m sure I won’t be the only person who assumes since Unsplash’s API is free, they are okay with this set up. Even if this is installed solely as intended (a personal homepage) as soon as you apply for the API or probably at any point really, Unsplash may shut it down.
from homepage.
@zerosonesfun I see. Sorry you came across that. It's a bit absurd to think that they would revoke your API key entirely instead of simply denying the Production key. I'd imagine you can probably create another one under a separate account and keep it at demo level for this purpose.
FWIW, I added a note (22e7d06) warning future users to not try and go down the same path. Thanks for the heads up!
from homepage.
Related Issues (20)
- Unsplash instructions not clear HOT 3
- What icons can I use? HOT 1
- Picture sources HOT 1
- Hidden menu becomes visible when window is smaller than 1199 x 658 HOT 1
- Information from config.json viewable in page source. HOT 2
- Change color of highlighted icons HOT 3
- Hide Scrollbar for links-wrap HOT 2
- responsive website HOT 5
- Question about a feature
- Use pattern.css for backgrounds
- Make it possible to put items into "directories" HOT 4
- Uncaught TypeError: array_merge() HOT 3
- Can't get Random Custom_URL_Selector To Work HOT 2
- Unsplash - unsplash_client_id HOT 2
- FontAwesome icon - a lot of icons are not working HOT 5
- Feature Request: Allow Overlay Timer Switch HOT 6
- Homepage showing just an empty page HOT 2
- Update readme HOT 1
- How can I change the amount of time it takes to change background photo? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homepage.