https://github.com/injms/yaled
A delay proxy that's useful for breaking things.
https://github.com/injms/yaled
Last synced: 3 months ago
JSON representation
A delay proxy that's useful for breaking things.
- Host: GitHub
- URL: https://github.com/injms/yaled
- Owner: injms
- Created: 2017-10-26T09:50:38.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2025-01-09T04:50:29.000Z (6 months ago)
- Last Synced: 2025-04-01T22:59:11.784Z (3 months ago)
- Language: JavaScript
- Size: 50.8 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Yaled
It's delay backwards.Totally inspired by Deelay.me (now defunct) and [Atwood's Law](https://blog.codinghorror.com/the-principle-of-least-power).
This is a delay proxy, allowing you to test what happens when one or more assets load slowly. Useful for breaking things.
## Install
Requires Node v23.Clone the repo, then `npm install` to get the dependencies.
Then it's `npm start` to run.
## Use
Change a resource's URI to be proxied by Yaled:```html
http://your-domain:3000/{integer: 20}/{url: http://mysite.com/image.gif}`
```The {integer} is the time delay you want in seconds - maximum of 20 by default. (You can change this is `config.json`)
The {url} is the full resource you want to delay loading.
For example, delaying the loading of an image by 10 seconds:
```html
![]()
```Or the loading of scripts:
```html
````
## To do
- Package for NPM
- Global install?
- ??