https://github.com/gobeli/journey-share-image
https://github.com/gobeli/journey-share-image
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/gobeli/journey-share-image
- Owner: gobeli
- Created: 2025-01-08T15:07:12.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-09T07:56:09.000Z (over 1 year ago)
- Last Synced: 2025-03-12T20:48:53.953Z (over 1 year ago)
- Language: TypeScript
- Size: 76.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Share a train journey with the browser share API
This [demo](https://gobeli.github.io/journey-share-image/) creates a png based on a train journey which can be shared via the share API. The share API is not widely supported, use an Android device with Chrome or iOS with Safari for it to work.
### Example

Clicking the share button on the first element will generate the following picture to be shared:

This way the receiver of the train connection sees the departure immediately and does not have to follow the link.