Skip to content

Instantly share code, notes, and snippets.

@geelen

geelen/a.md

Last active May 29, 2020
Embed
What would you like to do?
(all night) Long HTTP Request demo

Example of FAB streaming.

  1. Open https://www.youtube.com/watch?v=nqAvFx3NxUM
  2. Paste the following in the terminal:
curl "https://despacito.glen.workers.dev/?https://gist.githubusercontent.com/geelen/779758741e57f717a93e7bff7f2a6c5f/raw/ac8eb260f7fd2130ff5b648b91924ce1262262b0/lyrics.vtt"
  1. About 11 seconds into the video, hit enter.
  2. Put away the work to be done:

all night long

Want to make your own? Find a youtube video with subtitles, use youtube-dl to download them as a WebVTT file. Fork this GIST and paste the lyrics below, get the raw url of your lyrics.vtt file then curl "https://despacito.glen.workers.dev/?<your raw gist url here>".

<3 -glen.

WEBVTT
Kind: captions
Language: en-US
00:00:12.379 --> 00:00:16.783
♪ Da da ♪
00:00:16.783 --> 00:00:20.320
♪ Oh oh ♪
00:00:20.320 --> 00:00:24.524
♪ Well, my friends,
the time has come ♪
00:00:24.524 --> 00:00:28.895
♪ Raise the roof
and have some fun ♪
00:00:28.895 --> 00:00:33.299
♪ Throw away the
work to be done ♪
00:00:33.299 --> 00:00:37.837
♪ Let the music play on ♪
00:00:37.837 --> 00:00:42.275
♪ Everybody sing,
everybody dance ♪
00:00:42.275 --> 00:00:45.211
♪ Lose yourself
in wild romance ♪
00:00:45.211 --> 00:00:50.183 align:start size:94% position:6%
♪ We going to party,
Karamu, fiesta, forever ♪
00:00:51.418 --> 00:00:53.920
♪ Come on and sing along ♪
00:00:53.920 --> 00:00:58.892
♪ We're going to party,
Karamu, fiesta, forever ♪
00:01:00.126 --> 00:01:03.363
♪ Come on and sing along ♪
00:01:03.363 --> 00:01:08.268 align:start size:97% position:3%
♪ All night long, all night,
all night, all night ♪
00:01:08.268 --> 00:01:12.639 align:start size:97% position:3%
♪ All night long, all night,
all night, all night ♪
00:01:12.639 --> 00:01:16.943 align:start size:97% position:3%
♪ All night long, all night,
all night, all night ♪
00:01:16.943 --> 00:01:21.481
♪ All night long, all
night, all night ♪
00:01:21.481 --> 00:01:26.486 align:start size:97% position:3%
♪ Yeah, once you get
started you can't sit down ♪
00:01:31.357 --> 00:01:36.362
♪ Come join the fun,
it's a merry-go-round ♪
00:01:37.564 --> 00:01:42.469
♪ Everyone's dancing
their troubles away ♪
00:01:45.205 --> 00:01:49.776 align:start size:84% position:16%
♪ Come join our party,
see how we play ♪
00:02:02.021 --> 00:02:06.059
♪ Tom bo li de say de moi
ya, yeah, jambo jumbo ♪
00:02:06.059 --> 00:02:10.763
♪ Way to party o we
going, oh, jambali ♪
00:02:10.763 --> 00:02:15.768
♪ Tom bo li de say de moi
ya, yeah, jambo jumbo ♪
00:02:18.271 --> 00:02:21.374
♪ Oh, oh, oh, oh, yes ♪
00:02:21.374 --> 00:02:24.978
♪ We're gonna have
a party, yeah, uh ♪
00:02:24.978 --> 00:02:29.749 align:start size:97% position:3%
♪ All night long, all night,
all night, all night ♪
00:02:29.749 --> 00:02:34.254 align:start size:88% position:13%
♪ All night long, all
night, yeah, all night ♪
00:02:34.254 --> 00:02:38.358 align:start size:97% position:3%
♪ All night long, all night,
all night, all night ♪
00:02:38.358 --> 00:02:42.028
♪ All night long, all night ♪
00:02:42.028 --> 00:02:43.863
♪ Whoa, uh, all night ♪
00:02:43.863 --> 00:02:47.934 align:start size:97% position:3%
♪ Everyone you meet, they're
jamming in the street ♪
00:02:47.934 --> 00:02:50.537
♪ All night long, all night ♪
00:02:50.537 --> 00:02:52.872
♪ Yeah, I said, all night ♪
00:02:52.872 --> 00:02:54.774
♪ Everyone you meet, all night ♪
00:02:54.774 --> 00:02:56.643
♪ They're jamming in
the street, all night ♪
00:02:56.643 --> 00:03:00.413
♪ All night long, all
night, all night ♪
00:03:00.413 --> 00:03:02.482
♪ Feel good, feel good ♪
00:03:02.482 --> 00:03:06.352
♪ All night, all night ♪
00:03:06.352 --> 00:03:11.357
♪ All night, all night ♪
00:03:12.125 --> 00:03:15.295
♪ All night, all night ♪
00:03:15.295 --> 00:03:20.033
♪ All night, all night ♪
00:03:20.033 --> 00:03:24.003
♪ All night, all night ♪
00:03:24.003 --> 00:03:28.474
♪ All night, all night ♪
00:03:28.474 --> 00:03:32.879
♪ All night, all night ♪
00:03:32.879 --> 00:03:37.517
♪ All night, all night ♪
00:03:37.517 --> 00:03:41.921
♪ All night, all night ♪
00:03:41.921 --> 00:03:46.326
♪ All night, all night ♪
00:03:46.326 --> 00:03:48.394
♪ All night ♪
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.