Giter Site home page Giter Site logo

bhupesh-v / areyouok Goto Github PK

View Code? Open in Web Editor NEW
32.0 32.0 1.0 4.17 MB

A fast and easy to use URL health checker ⛑️ Keep your links healthy during tough times (Out of box support for GitHub Actions)

Home Page: https://bhupesh.me/areyouok-keep-your-urls-healthy-github-actions-golang/

License: MIT License

Go 67.66% HTML 28.95% Shell 3.39%
actions automation blogging linkchecker monitoring tech-blogger url url-health url-health-checker

areyouok's Introduction

wassup nerds 🖖

Software Craftsman and Tech Writer living in New Delhi, India. I like to build stuff using Go, Python & Bash.

  • I am a Community Lead at r/developersIndia (Home for more than 400K techies. 🚀)
  • In my free time, I am probably sleeping or reading something online.
  • I write sometimes, you can read some of my work below 👇

Recent Writeups

BlogsTIL Newsletter

Getting bored? have a meme

thatWillBeAnImportantLesson
thatWillBeAnImportantLesson

ℹ️ Source [ Powered By 🔥 Memer Action ]

Hire Me

areyouok's People

Contributors

allcontributors[bot] avatar bhupesh-v avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

juhnny5

areyouok's Issues

socket: too many open files

Describe the bug
there is a limit to how many file descriptors can be open at a time.
See https://stackoverflow.com/questions/32325343/go-tcp-too-many-open-files-debug

To Reproduce
Steps to reproduce the behavior:

  1. Run Areyouok on file with greater than 200 links (For e.g awesome-go README)
  2. A lot of URLs are reported as above error

Expected behavior
All URLs should be correctly fetched

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. Windows 10]
  • areyouok version: [latest]

Additional context
Use buffered channels, and add a limit for it (use ulimit -n)

UTF Icons don't show up in HTML report

Describe the bug
UTF icons don't show up in the generated HTML report.

To Reproduce
Steps to reproduce the behavior:

  1. Run the binary
  2. Serve the generated HTML report.
  3. No fancy icons 😢

Expected behavior
Need muh UTF icons.

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows
  • Browser: N/A
  • Version: N/A

Smartphone (please complete the following information):

  • Device: N/A
  • OS: N/A
  • Browser: N/A
  • Version: N/A

Additional context
N/A

Throws a `999` Status Error Code for LinkedIn links

Describe the bug
While checking for broken links, areyouok throws a 999 Error Status code for URLs pointing towards LinkedIn.

EDIT: Just found out, even URLs pointing towards Twitter returns a 404 Not Found Error. Here's an example issue thread for reference.

To Reproduce
Steps to reproduce the behavior:

  1. Create an example README.md file with the a link to a LinkedIn profile.
  2. Run areyouok against the newly created README.md file (which contains the LinkedIn URL).
  3. Check the generated report for a 999 Error Status Code.

Expected behavior
areyouok should've returned a 200 OK Status Code.

Screenshots
image

Desktop (please complete the following information):

  • OS: Ubuntu 20.04
  • areyouok version: v1.1.0 built on (26 Jan 2021)

Modularise code

Right now the logic for areyouok contains in one single big file. It would be nice to have some structure in place.
We can follow the 12 factor app pattern here

support for line numbers in github & html report format

Is your feature request related to a problem? Please describe.
Right now the links appear in list of tables for the GitHub report format.
It would be nice if we can link to the exact line number where the link exists.

Describe the solution you'd like
A new parser kinda thing will be required to find the line numbers of exact regexp matches. Its an interesting and fun problem to solve

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.