sindresorhus/Plash

Share your use-case

sindresorhus opened this issue Β· 133 comments

Animated creative code experiments. For example this or this. Or even this one but with the mousemove instead of click.

On a side note, is mouse interaction possible? Like at least the mousemove event?

GIPHY TV is awesome with this https://giphy.com/tv/search/chonky-cats

On a side note, is mouse interaction possible? Like at least the mousemove event?

Possible to add support for that, yes. Can you open a separate issue about that?

Someone suggested setting https://www.omfgdogs.com/ as the wallpaper 🀣

I quickly made https://time.pablopunk.com/ to display the time. Duuuuude that was so easy. I plan to do more stuff like this in the future, it's so powerful.

A great use case is using gitstalk. It's super fast so it works really well with Plash. Below is an example of how I use it (dark mode enabled and set the opacity to half):
Screen Shot 2020-01-10 at 8 20 55 AM

Would it be possible to save multiple website and toggle them with ⌘ + number key?

I found that the image directly using Unsplash may not be displayed completely in full screen, so I made https://plash-fullscreen.now.sh, you can display any image with the url parameter like this https://plash-fullscreen.now.sh?url=YOUR URL

@shanlh Are you sure you used the correct resolution in the Unsplash URL parameter? It works perfectly for me and others.

Your thing is definitely useful so people don't have to manually input their resolution though. πŸ‘Œ

@sindresorhus I use https://source.unsplash.com/random by default, only use background-size: cover; make it full screen, people can pass his own Unsplash link to url parameter for higher definition pictures.

@pablopunk Would be cool to be able to customize the clock slightly. For example, not show seconds and choose the color of the background and the clock.

@sindresorhus you got it πŸ˜‰

https://github.com/pablopunk/time#customize-options

Any more suggestions? I was thinking about text size and stuff like that

@pablopunk Nice! I opened an issue with some feedback in your repo.

https://teamtrees.org/ with CSS as follows provides a nice, subtly animated wallpaper. NOTE: requires refreshing for counter updates.

#donationAmountCard,
.banner,
.bg-gradient-white-to-grey,
.bg-dark-blue {
display: none;
}

Tip: The Plash web view background is transparent. So if you don't set a background color in your website or remove it from a website, your actual wallpaper will show through. This enables a lot of cool use-cases. You could, for example, place something interactive over your normal static wallpaper, or only show a dynamic wallpaper on part of the screen.


Example use-case.

Show Google Calendar on top of your normal wallpaper

Screen Shot 2021-03-30 at 17 24 55

  1. Add https://calendar.google.com as a website.
  2. Enable β€œUse print styles ”. (This simplifies the calendar layout) (This options requires macOS 11)
  3. Add this to the "CSS" field:
* {
	background-color: transparent !important;
	color: white !important;
}

.QQYuzf,
.gboEAb,
header.NkK3Fc,
.Hrn1mc {
	display: none !important;
}

[role="grid"] * {
	border-color: rgba(255, 255, 255, 0.3) !important;
}

.tNDBE:not(.Wyo4Qe),
.SGWAac,
.QIadxc:last-child {
	border: none !important;
}

[data-chips-dialog] {
	background-color: rgba(0 0 0 / 80%) !important;
}

FYI I updated https://github.com/pablopunk/time with all the options you suggested @sindresorhus. Looking good!

Captura de pantalla 2020-01-13 a las 17 42 12

Really happy with how well it works with a gyrosco.pe dashboard (https://gyrosco.pe). The age updates in realtime and I can interact with it even with Browsing Mode disabled.

Thanks for another great tool @sindresorhus!

Screen Shot 2020-01-13 at 2 10 39 PM

Another nice thing you could do with the transparency support: Show a clock directly on top of your existing wallpaper:

Screenshot 2020-01-15 at 01 26 12

Use this URL: https://time.pablopunk.com/?seconds&fg=white&bg=transparent&font=SFMono-Regular,Consolas,%27Liberation%20Mono%27,Menlo,monospace

Nice stock tracking on wallpaper using Sharsies
Screen Shot 2020-01-15 at 11 08 48 PM
URL: https://app.sharesies.nz/portfolio
CSS:

[class^="Toolbar__right__"],
[class^="Modal__link__"],
[class^="ListMenuWithIcon__listing__"],
[class^="spacing__spaceBelow32__"],
[class^="Page__underline__"],
[class^="Toolbar__left__"],
[class^="ListFlyOutMenu__menu__"] {
  display: none !important;
}
#app > div {
  max-width: 100vw !important;
}
[class^="index__swipeableArea__"] > * {
  transform: none !important;
}
[class^="index__swipeableArea__"] > * > * {
  width: calc(100% / 3) !important;
}
[class^="index__controls__"] {
  opacity: 0 !important;
}
[class^="Toolbar__toolbar__"] > * {
  flex-grow: 1 !important;
}
tobie commented

…and another clock:

Screen Shot 2020-01-16 at 12 23 52

URL: http://www.helvetictoc.com/

CSS:

body.day, body.night { 
  background-color: transparent;
  color: white
}

div.screen {
  margin: 4%;
  font-size: 100px !important;
  bottom: 0;
  top: auto;
}

#colophon { display: none }
ha404 commented

sample

URL: https://calendar.google.com/

body {
	padding: 3% 53% 3% 3%;
	background: transparent !important;
}

header,
button {
	display: none !important;
}

.SGWAac {
	border: none !important;
}

https://www.manifest.app/

Web based stickie notes

A low poly town that has clouds and traffic that extends indefinitely. Use this custom CSS for the best effect.

#about-button {
    display: none;
}

https://demos.littleworkshop.fr/infinitown

Tip: The Plash web view background is transparent. So if you don't set a background color in your website or remove it it from a website, your actual wallpaper will show through. This enables a lot of cool use-cases. You could, for example, place something interactive over your normal static wallpaper, or only show a dynamic wallpaper on part of the screen.

Example use-case. Show Google Calendar on top of your normal wallpaper:

Screenshot 2020-01-13 at 12 28 21

  1. Set https://calendar.google.com/ as URL.
  2. In preferences, lower the opacity to 70%.
  3. Add this as "Custom CSS":
* {
	background-color: transparent !important;
	color: white !important;
}

.QQYuzf,
.gboEAb,
header.NkK3Fc,
.Hrn1mc {
	display: none !important;
}

Can anyone help me to display the iCloud calendar without sidebar etc like the Google calendar? https://www.icloud.com/calendar/

@dixiklo9 Go to https://www.icloud.com/calendar/ and select "Month" view.

Then use this CSS override:

* {
	background-color: transparent !important;
	color: white !important;
	border: 0 !important;
}

#sc1993,
.sc-view.main-header,
.sc-view.main-footer {
	display: none !important;
}

.sc-view.month-calendar {
	position: fixed !important;
}

And the result:

Screenshot 2020-01-26 at 13 20 59 Redacted

Right-click when in "Browsing Mode" and choose "Inspect Element" to be able to debug and tweak it further. For example, if you want the borders, you could remove border: 0 !important;.

@dixiklo9 Go to https://www.icloud.com/calendar/ and select "Month" view.

Then use this CSS override:

* {
	background-color: transparent !important;
	color: white !important;
	border: 0 !important;
}

#sc1993,
.sc-view.main-header,
.sc-view.main-footer {
	display: none !important;
}

.sc-view.month-calendar {
	position: fixed !important;
}

And the result:

Screenshot 2020-01-26 at 13 20 59 Redacted

Right-click when in "Browsing Mode" and choose "Inspect Element" to be able to debug and tweak it further. For example, if you want the borders, you could remove border: 0 !important;.

Thank you very much for the CSS code and the tip for tweaking.
Just a short note. In the bottom row there is an overlap of the days with the dates. How to fix the bug?

I just started a tutorial series of making backgrounds
for Plash using Svelte and Nodejs. The first tutorial
is basic project setup and the beginnings with a random
background changer every 30 minutes, a Time display, and
the time display as a circle meter. I'll be adding more
to it over time. You can read there series here: https://www.customct.com/#/tutorials/plashserver/series

The GitHub repository has the current code for the project.

@raguay Awesome! πŸ‘

Another use-case. Show your Dribbble feed for inspiration.

Set the URL to: https://dribbble.com and log in.

Then apply this CSS (in the Preferences) to remove the header and navbar:

body {
	padding-top: 0 !important;
}

#header,
.filter-subnav {
	display: none !important;
}
fael commented

I'm using it to follow recent on-going activities that I'm currently interested in, such as my Gitlab Pipelines and Twitter.

Also, right now I'm watching the traffic in GMaps from home to an appointment that I have in a few hours.

I see myself also using old-school screensavers that I always wanted to be as wallpaper.

Another awesome tool from you. TY!

My Google Calendar setup:

calendar.google.com at 80% opacity:

header, button, .gboEAb {
  display: none !important;
}

body {
  width: 80vw !important;
  height: 80vh !important;
  margin: 10vh 10vw !important;
}

body, .tNDBE, .ef2wWc {
  background-color: transparent !important;
}

* {
  color: white !important;
  border: none !important;
}

Captura de pantalla 2020-02-11 a las 15 46 34-squashed

I've currently got an invisible bitbar plugin that downloads the artwork of the track I'm listening to on Spotify and Plash just points at a HTML file containing an image tag with the downloaded image as the source.

https://gist.github.com/davidsharp/f789b067448ae3548707b232d39f2e6b

It's using some JXA to get the URL from Spotify, does a quick check to determine if it needs to download, curls it to a file and then whenever Plash reloads, the background will be the album art of whatever's currently playing.

I have slightly grander plans for this, it's more of a proof-of-concept at the moment than anything, as it looks a bit ugly, but I've been looking for a way to use my Spotify currently playing as my background for a while (previously I'd built a similar thing as an Electron app).

That said, if I could hook directly into Plash via Applescript/JXA to pass the URL from Spotify to Plash, that'd be ace.

edit ~ I've updated the index.html to reload the image itself, so plash doesn't need to reload the page at all

@davidsharp That's very creative πŸ‘Œ

That said, if I could hook directly into Plash via Applescript/JXA to pass the URL from Spotify to Plash, that'd be ace.

  1. #44 (not likely to happen soon)
  2. #45 (I'll try to work on this soon)

I assume 2will work for you?

I assume 2will work for you?

I believe so!
Should be able to just run that from the plugin, rather than reading and writing files πŸ‘Œ

arekf commented

Hi all,
I am using Plash to show Flightradar24 in my vicinity. I just like to know what is above my head πŸ˜‰
Sharing my custom CSS to hide some unwanted items there:

#navContainer, #leftCol, .site-brand, #fr24_SearchContainer, #fr24_ViewsToolbar, #fr24_ViewsDropdownContainer, img[src^="https://maps.gstatic.com/mapfiles/api-3/images/google_white"], .gmnoprint { display: none !important; }

I was thinking about going even further with it and make a custom HTML with iframes showing a "big picture" of the 50 km surroundings and somewhere in the corner put another one with close up look at the airport's runway. The problem is that CORS is preventing iframes from being loaded. Do you think it make sense to have an option to disable it?

Thanks for all the work on the app!

The problem is that CORS is preventing iframes from being loaded. Do you think it make sense to have an option to disable it?

Would definitely be nice to be able to disable CORS, however, I haven't found any way to do it. If anyone know a way to do that, let me know.

I made a website that fetches NASA's Astronomy Picture of the Day and sets it as the background image! This was inspired by Sindre's Bing Photo of the Day website:

https://github.com/dombrant/nasa-apod-request

I use Plash to display a customized https://plan.foreflight.com/map (add lat+long to URL) and have a VFR chart with realtime weather and airport conditions (and animated satellite of clouds and radar of precipitation). I can quickly enable browsing mode to add in a proposed flight plan and watch the weather along the route.

I also use flightradar24.com to show a realtime map of nearby overhead aircraft.

Thanks for your work on this project! Really cool!

I just added a new widget to the PlashServer series mentioned above: http://www.customct.com/#/tutorials/plashserver/exchangewidget

It gives you an exchange rate display. Since I live in Thailand, I’m always checking the current rates and now you can too.

I use Plash to show my team's Azure DevOps Board.

I use injected CSS to hide header and sidebar

.project-navigation.region-navigation.flex-column.flex-grow.collapsed,
.flex-row.flex-grow.region-header,
.vss-PivotBar--bar-two-line {
  display: none;
}

I use Plash with Bloomberg Watchlist. If you own stock or currency it is really useful for checking it's current price and your gains/losses

Custom CSS that hides all UI, ads, navbars, etc. (use with Invert Website Colors):

#leaderboard, nav, .datastrip, .navi-breaking-news, .bb-global-footer, .page-ad, .bb-that, #navi {
  display: none;
}

image

I just added a Text widget and a Corvid-19 widget to my Svelte Plash Server. The Corvid-19 widget is configurable to show any country stats. I fully documented the code, so you can change what you need to. For me, it now looks like:
7547E923-CD06-4B60-A530-B963657F3FCF

I live in Thailand, but I’m from the USA. That is why I’m show those two locations. Have fun!

IMHO this is a classic:

image

url: https://rezmason.github.io/matrix/

NOTE: took it from this github repo (not mine)...
Kudos to the guy who made it.

https://github.com/Rezmason/matrix

Real time sky with star signs and cind of satellite tracking:

https://stellarium-web.org/

I'm using https://www.fioapp.co/app/ to show different hours for different timezone.

image

I wrote a live feed for what I'm doing on my Mac and other devices, it ties in any platform I connect it to. It uses a standard data model, and currently renders all Discord presence's as well as what I'm listening to on any Spotify device.
https://github.com/EricRabil/PresenceBot (backend, runs on a VPS, tracks my activity)
https://github.com/EricRabil/ericvue (hosted on gh-pages)
image

Re-use of Übersicht widgets

As a longtime, former Übersicht.app user, I rewrote all my widgets that I've used with Übersicht and integrated them into one webpage. Since the Apache-Server is running in the background anyway, it was easy to do. Here is a screenshot with 4 of my widgets (FuzzyTimeWithDate, openWeatherMap, osVersionUptime and calendar):
Plash-Homepage

HD video of a random window in the world https://window-swap.com/

jt3k commented

Typing Practice - https://www.keybr.com/

Take typing speed test, practice your touch typing skills, learn to type faster and with fewer errors with this free online typing tutor.

image

Plash Preferences

image

Custom CSS

I moved the window below to avoid attracting the attention of others when I practice typing at work.

header, aside, iframe {
  display: none;
}

main {
  display: flex;
  flex-direction: column;
  padding-top: 50vh;
  align-items
}

main > section {
  background-color: rgba(34, 33, 33, 0.8);
  border-radius: 50px;
  align-self: center;
}

html > body {
  background-color: rgba(34, 33, 33, 0.2);
}

html > body::before {
  background: transparent;
}

Site Settings

Simply turn on the Dark Mode (sun icon).

03.07.2021 updated css

You can embed p5.js and openprocessing sketches, with links like this!
openprocessing.org/sketch/816453/embed
Screen Shot 2020-08-24 at 6 39 26 PM
It's animated and you can make your own animations. πŸš€

I use Plash to display the status of my Home Assistant smart home devices.

Lovelace

I created a custom dashboard using React, showing a greeting based on time of day, current time, currently playing Spotify track and Todos.
Screen Shot 2020-11-24 at 2 49 43 PM

Screen.Recording.2021-01-09.at.10.37.20.PM.mov

from http://regl.party/

Finally able to find a home for this exquisite corpse clock (randomly samples short story excerpts with breaks to create continutiy) that I'd originally planned for a tiny e-ink screen! https://exquisitetime.github.io/index.html

Screen Shot 2021-01-18 at 11 23 52 PM

https://simply.fyi

Quotes scraped from Kindle highlights archive.

Screen Shot 2021-01-25 at 4 24 15 PM

https://simply.fyi

wzso commented

This is very interesting!!!
https://theuselessweb.com/

@sindresorhus your first example http://twistori.com/#i_think is dead since about april2020 according to archive.org

Plash 2 is out now.

I have updated my Google Calendar tip. It now looks much better on the desktop.

Stock tracker

URL: https://stockstracker.app/userstocks.html?ticks=GBTC,VTI
(Change the last part to the stocks you want to track)

Change the width in the CSS to adjust the width. And change right to left if you want it on the left side instead.

Without background

image

#stkList {
	position: absolute;
	right: 0;
	top: 0;
	width: 400px;
}

* {
	color: rgba(255, 255, 255, 0.8) !important;
}

.copyright {
	display: none !important;
}

With background

image

#stkList {
	background-color: white;
	position: absolute;
	right: 0;
	top: 0;
	width: 400px;
	border: 5px solid hotPink;
	border-radius: 5px;
}

.copyright {
	display: none !important;
}

Very new to all of this, but I made my first "site" and it apparently works well with this great app:
redwork.ca/time

I found that either adjusting the opacity looks great, or you could use:
* { background-color: transparent !important; }
in the CSS to make the background transparent.

Hope you enjoy it. Appreciate any feedback you could give a newbie.
Desktop

Animated (moving) Flying Toasters (After Dark) in CSS
https://www.bryanbraun.com/after-dark-css/all/flying-toasters.html

image

The FireEye Cyber Attack Map is another fun option. https://www.fireeye.com/cyber-map/threat-map.html

image

The ultimate window to the world: refresh for a random webcam view from a window somewhere on the globe. Amazing, love Plash for making this possible... (yes the trucks drive up and down the street)

https://www.window-swap.com/Window

Luis-Window

Another one like the above: https://virtualvacation.us/window

Another one like the above: https://virtualvacation.us/window

This is good, but do not have a static URL of any the specific city.

Another one like the above: https://virtualvacation.us/window

This one is better due to less writing around the picture.

@raguay The overlay content fades out though.

Would it be possible to remove the background and the text over the clock in fullscreen mode, from this word clock? https://www.timeanddate.com/wordclock/?fta=1632042129_bc303d7b1f21c36e_66448f6964bad614b0fa8ac04b92a3fb&n=2199

@theodorjs You can add some CSS to hide elements:

.wrdck__link,
#zoombut[src$="zoomoutblack.png"] {
	display: none;
}

Thank you @sindresorhus
That got rid of the unnecessary text in fullscreen mode.

I made a website to show the weather using Minecraft screenshots.

https://andreaswilli.github.io/minecraft-weather/
image

Tip: The Plash web view background is transparent. So if you don't set a background color in your website or remove it from a website, your actual wallpaper will show through. This enables a lot of cool use-cases. You could, for example, place something interactive over your normal static wallpaper, or only show a dynamic wallpaper on part of the screen.

Example use-case.

Show Google Calendar on top of your normal wallpaper

Screen Shot 2021-03-30 at 17 24 55

  1. Add https://calendar.google.com as a website.
  2. Enable β€œUse print styles ”. (This simplifies the calendar layout) (This options requires macOS 11)
  3. Add this to the "CSS" field:
* {
	background-color: transparent !important;
	color: white !important;
}

.QQYuzf,
.gboEAb,
header.NkK3Fc,
.Hrn1mc {
	display: none !important;
}

[role="grid"] * {
	border-color: rgba(255, 255, 255, 0.3) !important;
}

.tNDBE:not(.Wyo4Qe),
.SGWAac,
.QIadxc:last-child {
	border: none !important;
}

[data-chips-dialog] {
	background-color: rgba(0 0 0 / 80%) !important;
}

how can you add an outline border on the box for the current day

This is my ideal use case: https://louie.co.nz/25th_hour/

A beautiful animated wallpaper that can change with the time.

Unfortunately it moves too quickly to be a true reflection of time passing, so I wondered if there's something I can do with custom CSS/JS to slow it down to a 24h interval.

Anyone know how?

@jacklaing I start by contacting the developer. His contact info is on https://louie.co.nz/

@spkane thanks for the advice.

The designer very kindly responded with a direction that may work.

Basically it's just running off a CSS animation duration of 60s at the moment, simply changing that to 24hrs - 86400s might do the trick but possibly not, but as soon as you start the program it would load at midnight which would negate the purpose of changing it. If you wanted to do it you would need to run js to get the current time of day, change the class of the body at 4 intervals for each scene, then change all the transitions to reference the new classes rather than a 60s global timer.

This is outside my area of expertise so I'll leave it here in case anyone more knowledgeable sees this, likes the wallpaper, and wants to try it for themselves.

I wonder if the Reload Interval preference may help here if it could be updated to also include a reload time (midnight) but I suspect that wouldn't address what happens when you load Plash up at a time that isn't midnight.

P.S. the designer also shared a gorgeous updated version of the animation https://louie.co.nz/lakeside2019v2/

Great app! We're using it to display a Team-Dashboard from Google Sheets in the background.
That way, we cannot forget to open (or review) the dashboard sheet, as it's always part of the desktop :)

Here's a sample:
team-stats-desktop

The CSS to adjust the sheet:

:root{width:600px;margin:0}
body{background:transparent!important}
#docs-chrome{display:none}

Great app, thank you!

For https://manifest.app (sticky notes) you can use custom CSS to make background transparent:

body { background: transparent !important; }

#grid { display: none; }

image

I made a website to show the weather using Minecraft screenshots.

https://andreaswilli.github.io/minecraft-weather/ image

use this css styles:

body {
    overflow: hidden;
}

'Littlelist's Tokyo' by Glen Fox
https://threejs.org/examples/webgl_animation_keyframes.html

Screenshot 2021-12-30 at 22 31 04

CSS to remove extremeties:

#info {
	display: none;
}

#container div canvas {
	opacity: 0;
}

Fancy Digital Clock by Cory on Codepen (added some changes)

Preview:
image

Link: https://codepen.io/hisamafahri/full/gOGevVo

CSS:

header#main-header {
  display: none !important;
}

Sketchfab (Setting 3D Objects as Wallpaper)
I'll be using this project for comparison

  1. Select your project

Screenshot 2022-01-04 at 14 58 35

  1. Open inspect element and find the embed url of the project

Screenshot 2022-01-04 at 15 01 00

  1. Add 'transparent=1&annotation=0&annotations_visible=0&' after 'embed?'
    (You can also add "autospin=1" which spins the 3D model automatically):
    https://sketchfab.com/models/3baba9e13bfd4233935729f109d0e13b/embed?transparent=1&annotation=0&annotations_visible=0&autostart=1&internal=1&tracking=0&ui_infos=0&ui_snapshots=1&ui_stop=0&ui_theatre=1&ui_watermark=0

  2. Add the following to the CSS

.controls {
	display: none !important;
}
  1. You're done!

Screenshot 2022-01-04 at 15 10 51

I build this: https://photos-4-zwift.glitch.me/ long time ago :)
A simple web app to watch some photos while you are training on Zwift.

Does anybody knows a quote website to display quotes on the screen?

Does anybody knows a quote website to display quotes on the screen?

https://simply.fyi was previously shared as an example of on-screen display of quotations.

I have enabled discussions on this repo, so you can now share your use-case there instead and there's also a category for asking questions: https://github.com/sindresorhus/Plash/discussions

I wrote a clock with anime girls holding digits on top of your wallpaper.

Have a try ! (or even star ⭐️ )

It basically looks like this:

example

In action (can be dragged around):

aniclock-plash-light aniclock-plash-dark aniclock-plash-no-bg

Some settings (experimental):

aniclock-settings

is it possible to hide the scrollbar?

image

My websites:
poolsuite.net
patatap.com
typatone.com
hush.onrender.com

Been using https://8bitdash.com. Amazing animated pixel art. Fantastic combo with this app.