Skip to content

Commit 0e82023

Browse files
committed
web/readme: add info about link prefill
1 parent 2558f35 commit 0e82023

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

web/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,17 @@ them, you must specify them when building the frontend (or running a vite server
2121
\* don't use plausible.io as receiver backend unless you paid for their cloud service.
2222
use your own domain when hosting community edition of plausible. refer to their [docs](https://plausible.io/docs) when needed.
2323

24+
## link prefill
25+
to prefill the link into the input box & start the download automatically, you can pass the URL in the `#` parameter, like this:
26+
```
27+
https://cobalt.tools/#https://www.youtube.com/watch?v=dQw4w9WgXcQ
28+
```
29+
30+
the link can also be URI-encoded, like this:
31+
```
32+
https://cobalt.tools/#https%3A//www.youtube.com/watch%3Fv=dQw4w9WgXcQ
33+
```
34+
2435
## license
2536
cobalt web code is licensed under [CC-BY-NC-SA-4.0](LICENSE).
2637

0 commit comments

Comments
 (0)