Giter Club home page Giter Club logo

markdownscanner's Introduction

Markdownscanner (TM)

Are your links broken? Let's find out: https://mdscanner.dcalvo.dev/ Please note that this project is under (sporadic) development and it's not finished. I just need to get around polishing a few things...

Okay but now for real

While signing up to contribute to k8s, I found a broken link on the sign up process. This was then my my first contribution.
I then wondered: How many other markdown links are broken in open source projects? As it turns out, a lot of them.
This tool will hopefully help me find and fix these links.

TODOs:

  • Fix this first: Why do some links show as 404 in the report even though they are not 404s?
    • The etcd repo has a few occurences of this
    • You should be able to replica this fairly easily! (Maybe you can even create a cobra command named "check link" to see which result your application will return for that internally)
  • Hey test accessing the S3 bucket before launching the program, if you scan everything but can't upload the results, that's terrible!
    • Perhaps put that in the root command together with reading the config too!
  • Do a ctrl+f for "deprecated", a few of your functions became deprecated!
  • Document your functions!
  • Document the settings that config.yaml accepts!
  • Put the S3 and templating stuff in other file away from repository.go? HmmMmMmm
  • Check for the git command when starting mdscanner, you need it! (for all use cases?)
  • Amahgad remove your hardcoding of "tmp" filesystem path on the config file!
  • Write tests man, shame_bell_gameofthrones.gif
  • On the init() function for all commands, you're checking for the config.yaml file by copying and pasting it around. Any way to do this for all commands? Maybe on root.go?

Random thougths

  • It seems that having functions be part of the markdown link type make them a bit inflexible

markdownscanner's People

Contributors

danielcalvo avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

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.