mirror of
https://github.com/sindresorhus/awesome.git
synced 2026-07-18 20:43:02 -05:00
Removing broken links from lists #252
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @basharovV on GitHub (Jun 23, 2020).
I've got a list of every dead or broken link in every awesome list, along with the error, which is probably useful to the list maintainers.
Here is the output from my cleanup script, which checks every URL in every awesome list:
That's 14% of all links being unavailable...
If you maintain an awesome list, feel free to find the file for your list and check if it has any dead links.
@bernardoduarte commented on GitHub (May 14, 2021):
Here's a tool that could help check if your lists links are alive: https://github.com/dkhamsing/awesome_bot
I use it on my awesome-version-managers list
.travis.ymlconfig for CI automation.@riderx commented on GitHub (Nov 21, 2022):
in my repo i use this github action who check link and lint
@d-wasserman commented on GitHub (Nov 23, 2022):
This was really helpful @riderx. The only change I made was I run the awesome linter first, then the check links.
@GovLeena commented on GitHub (May 29, 2024):
🙋♀️
@koushik-drmgr commented on GitHub (Oct 2, 2024):
Hey use my Turbo C code for this..I hope this may helpful for you
#include <stdio.h>
#include <string.h>
// Simulated function to "check" if a URL is valid
int check_url(char *url) {
// In a real scenario, network operations would be done here.
// For now, simulate that any URL containing "valid" is good, others are broken.
}
// Function to process URLs from a file and generate a report
void process_urls(const char *input_file, const char *output_file) {
FILE *infile, *outfile;
char url[200]; // Buffer to store each URL (assuming max 200 chars)
int status;
}
int main() {
// File paths (adjust as needed)
char input_file[] = "urls.txt"; // Input file containing URLs (one per line)
char output_file[] = "report.txt"; // Output file to store the results
}
@good1400 commented on GitHub (Mar 2, 2025):
👍
@Catgotyourtongue commented on GitHub (Aug 31, 2025):
@Angel-Mathew007 commented on GitHub (Sep 4, 2025):
Comment suggestion:
Hi @basharovV and everyone,
Thanks for this valuable cleanup effort! I’d love to help maintainers by contributing to fixing broken links in some Awesome lists.
Also, if anyone needs assistance setting up automated link checking workflows or tools like awesome_bot, feel free to reach out. Happy to help!