diff --git a/Makefile b/Makefile index 432d3bc..30de19e 100644 --- a/Makefile +++ b/Makefile @@ -33,3 +33,7 @@ run: ## Run project locally .PHONY: docs docs: ## Generate and show documentation cargo doc --open + +.PHONY: screencast +screencast: ## Create a screencast for the docs + svg-term --command 'assets/screencast.sh' --out 'assets/screencast.svg' --width 100 --padding 10 --window \ No newline at end of file diff --git a/README.md b/README.md index c3ae8fe..11b1e0b 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ reStructuredText, or any other text file or website! Available as a command-line utility, a library and a [GitHub Action](https://github.com/lycheeverse/lychee-action). -![Lychee demo](./assets/lychee.gif) +![Lychee demo](./assets/screencast.svg) ## Installation diff --git a/assets/screencast.sh b/assets/screencast.sh new file mode 100644 index 0000000..dafd91e --- /dev/null +++ b/assets/screencast.sh @@ -0,0 +1,60 @@ +#!/usr/bin/env bash +# +# Adapted from +# https://github.com/marionebl/svg-term-cli +# https://github.com/sharkdp/fd/blob/master/doc/screencast.sh +# +# Designed to be executed via svg-term from the lychee root directory: +# svg-term --command="bash assets/screencast.sh" --out assets/screencast.svg --padding=10 +# Then run this (workaround for https://github.com/sharkdp/fd/issues/1003): +# sed -i '' 's/llylyclychlychelycheelycheeREADME.md0/0[00:00:00]█████████████████████████🔍52Total52OK🚫0Errorslychee-lychee--lychee--verboselychee--verbose--format=jsonlychee--verbose--format=jsonfixtures/test.html[200]https://hello-rust.show/10/[200]https://endler.dev/2020/rust-compile-times/{"total":2,"successful":2,"failures":0,"unknown":0,"timeouts":0,"redirects":0,"excludes":0,"errors":0,"cached":0,"fail_map":{}}lychee--no-progresslychee--no-progress--formatdetailedlychee--no-progress--formatdetailedhttps://example.com📝Summary---------------------🔍Total............1Successful.......1Timeouts.........0🔀Redirected.......0👻Excluded.........0Unknown..........0🚫Errors...........0lychee--dumplychee--dump--includelychee--dump--includegithublychee--dump--includegithub--lychee--dump--includegithub--'./**/*.md'https://github.com/lycheeverse/lychee#github-tokenhttps://github.com/rust-lang/crates.io/issues/788https://wilsonmar.github.io/maximum-limits/https://github.com/analysis-tools-dev/static-analysis/issues/350octocat+github@github.comhttps://github.com/rust-lang/rusthttps://github.com/lycheeverse/lycheehttps://github.com/raviqqe/muffethttps://github.com/analysis-tools-dev/dynamic-analysishttps://github.com/papers-we-love/papers-we-lovehttps://github.com/lycheeverse/lychee/blob/master/lychee.example.tomlhttps://github.com/ramitsurana/awesome-kuberneteshttps://github.com/dkhamsing/awesome_bothttps://github.com/hello-rust/lychee/workflows/Rust/badge.svghttps://github.com/lycheeverse/lychee/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22https://github.com/Azure/ResourceModuleshttps://github.com/launchdarkly/LaunchDarkly-Docshttps://github.com/tcort/markdown-link-check/issues/94https://github.com/JustinBeckwith/linkinatorhttps://github.com/opensearch-project/OpenSearchhttps://github.com/pawroman/linkshttps://github.com/mre/idiomatic-rust-doesnt-exist-manlycheeRlycheeRElycheeREAlycheeREADlycheeREADMElycheeREADME.lycheeREADME.m15/52[00:00:00]███████░░░░░░░░░░░░░░░░░░[200]https://github.com/settings/tokens48/52[00:00:01]███████████████████████░░[200]https://github.com/lycheeverse/lychee/releases50/52[00:00:01]████████████████████████░[200]https://github.com/Azure/ResourceModuleslychee--vlychee--velychee--verlychee--verblychee--verbolychee--verboslychee--verbose-lychee--verbose--lychee--verbose--flychee--verbose--folychee--verbose--forlychee--verbose--formlychee--verbose--formalychee--verbose--formatlychee--verbose--format=lychee--verbose--format=jlychee--verbose--format=jslychee--verbose--format=jsolychee--verbose--format=jsonflychee--verbose--format=jsonfilychee--verbose--format=jsonfixlychee--verbose--format=jsonfixtlychee--verbose--format=jsonfixtulychee--verbose--format=jsonfixturlychee--verbose--format=jsonfixturelychee--verbose--format=jsonfixtureslychee--verbose--format=jsonfixtures/lychee--verbose--format=jsonfixtures/tlychee--verbose--format=jsonfixtures/telychee--verbose--format=jsonfixtures/teslychee--verbose--format=jsonfixtures/testlychee--verbose--format=jsonfixtures/test.lychee--verbose--format=jsonfixtures/test.hlychee--verbose--format=jsonfixtures/test.htlychee--verbose--format=jsonfixtures/test.htm1/2[00:00:00]████████████░░░░░░░░░░░░░[200]https://hello-rust.show/10/2/2[00:00:00]█████████████████████████[200]https://endler.dev/2020/rust-compile-times/lychee--nlychee--nolychee--no-plychee--no-prlychee--no-prolychee--no-proglychee--no-progrlychee--no-progreslychee--no-progress-lychee--no-progress--lychee--no-progress--folychee--no-progress--forlychee--no-progress--formlychee--no-progress--formalychee--no-progress--formatlychee--no-progress--formatdlychee--no-progress--formatdelychee--no-progress--formatdetlychee--no-progress--formatdetalychee--no-progress--formatdetailychee--no-progress--formatdetailelychee--no-progress--formatdetailedhlychee--no-progress--formatdetailedhtlychee--no-progress--formatdetailedhttplychee--no-progress--formatdetailedhttpslychee--no-progress--formatdetailedhttps:lychee--no-progress--formatdetailedhttps:/lychee--no-progress--formatdetailedhttps://lychee--no-progress--formatdetailedhttps://exlychee--no-progress--formatdetailedhttps://exalychee--no-progress--formatdetailedhttps://examlychee--no-progress--formatdetailedhttps://examplychee--no-progress--formatdetailedhttps://exampllychee--no-progress--formatdetailedhttps://example.lychee--no-progress--formatdetailedhttps://example.clychee--no-progress--formatdetailedhttps://example.colychee--dlychee--dulychee--dumlychee--dump-lychee--dump--lychee--dump--ilychee--dump--inlychee--dump--inclychee--dump--incllychee--dump--inclulychee--dump--includlychee--dump--includeglychee--dump--includegilychee--dump--includegitlychee--dump--includegithlychee--dump--includegithulychee--dump--includegithub-lychee--dump--includegithub--'lychee--dump--includegithub--'.lychee--dump--includegithub--'./lychee--dump--includegithub--'./*lychee--dump--includegithub--'./**lychee--dump--includegithub--'./**/lychee--dump--includegithub--'./**/*lychee--dump--includegithub--'./**/*.lychee--dump--includegithub--'./**/*.mlychee--dump--includegithub--'./**/*.mdhttps://github.com/hello-rust/lycheehttps://github.com/lycheeverse/lychee/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22https://github.com/lycheeverse/lychee/actions/workflows/links.yml/badge.svghttps://github.com/analysis-tools-dev/static-analysishttps://github.com/microsoft/WhatTheHackhttps://github.com/pingcap/docshttps://github.com/tcort/markdown-link-checkhttps://github.com/lycheeverse/lychee/releaseshttps://github.com/lycheeverse/lychee/actions/workflows/links.ymlhttps://github.com/marketplace/actions/lychee-broken-link-checkerhttps://github.com/raviqqe/liche/issues/13https://github.com/settings/tokenshttps://github.com/linkchecker/linkcheckerhttps://github.com/lycheeverse/lychee-actionhttps://github.com/stevenvachon/broken-link-checkerhttps://github.com/nix-community/awhttps://github.com/nix-community/awesome-nix \ No newline at end of file diff --git a/fixtures/TEST.html b/fixtures/TEST.html index fba01a4..4415bbc 100644 --- a/fixtures/TEST.html +++ b/fixtures/TEST.html @@ -10,7 +10,6 @@ >
  • Hello Rust
  • -
  • Hello Rust