All Projects → dkhamsing → Frankenstein

dkhamsing / Frankenstein

Licence: mit
Correct README Redirects

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Frankenstein

Awesome bot
✅ Validate links in awesome projects
Stars: ✭ 697 (+128.52%)
Mutual labels:  cli, readme, tool
Rfc
📄 Read RFCs from the command-line
Stars: ✭ 185 (-39.34%)
Mutual labels:  cli, tool
Protodep
Collect necessary .proto files (Protocol Buffers IDL) and manage dependencies
Stars: ✭ 167 (-45.25%)
Mutual labels:  cli, tool
Code Minimap
🛰 A high performance code minimap render.
Stars: ✭ 235 (-22.95%)
Mutual labels:  cli, tool
Proji
A powerful cross-platform CLI project templating tool.
Stars: ✭ 156 (-48.85%)
Mutual labels:  cli, tool
Fselect
Find files with SQL-like queries
Stars: ✭ 3,103 (+917.38%)
Mutual labels:  cli, tool
Csview
📠 A high performance csv viewer with cjk/emoji support.
Stars: ✭ 208 (-31.8%)
Mutual labels:  cli, tool
Trino
Trino: Master your translations with command line!
Stars: ✭ 118 (-61.31%)
Mutual labels:  cli, tool
Hiper
🚀 A statistical analysis tool for performance testing
Stars: ✭ 2,667 (+774.43%)
Mutual labels:  cli, tool
Iponmap
commandline IP location finder
Stars: ✭ 250 (-18.03%)
Mutual labels:  cli, tool
Musoq
Use SQL on various data sources
Stars: ✭ 252 (-17.38%)
Mutual labels:  cli, tool
Circleci Cli
Use CircleCI from the command line
Stars: ✭ 297 (-2.62%)
Mutual labels:  cli, tool
Genesis
Templating, scaffolding and generation tool
Stars: ✭ 122 (-60%)
Mutual labels:  cli, tool
Grex
A command-line tool and library for generating regular expressions from user-provided test cases
Stars: ✭ 4,847 (+1489.18%)
Mutual labels:  cli, tool
Git Hub
Git command line interface to GitHub
Stars: ✭ 119 (-60.98%)
Mutual labels:  cli, tool
Gossm
💻Interactive CLI tool that you can connect to ec2 using commands same as start-session, ssh in AWS SSM Session Manager
Stars: ✭ 192 (-37.05%)
Mutual labels:  cli, tool
Onefetch
Git repository summary on your terminal
Stars: ✭ 3,680 (+1106.56%)
Mutual labels:  cli, tool
Redis Cui
Simple, visual command line tool for redis
Stars: ✭ 101 (-66.89%)
Mutual labels:  cli, tool
Npm Try
🚆 Quickly try npm packages without writing boilerplate code.
Stars: ✭ 103 (-66.23%)
Mutual labels:  cli, tool
Laravel Zero
A PHP framework for console artisans
Stars: ✭ 2,821 (+824.92%)
Mutual labels:  cli, tool

Frankenstein

frankenstein checks for live URLs in a file, it can update links based on HTTP redirects in a README

This project uses awesome_bot to validate links.

Build Status

Installation

git clone https://github.com/dkhamsing/frankenstein.git
cd frankenstein
rake install

Usage

$ frankenstein https://fastlane.tools # URL
$ frankenstein README.md # Path to file
$ frankenstein ccgus/fmdb # GitHub repo README, https://github.com/ccgus/fmdb works too

Found: master for ccgus/fmdb — A Cocoa / Objective-C wrapper around SQLite — 8935⭐️  — last updated today
🏃  Processing links for ccgus/fmdb ...
🔎  Checking 18 links
✅  https://www.zetetic.net/sqlcipher/
✅  http://sqlite.org/
✅  https://cocoapods.org/
✅  https://github.com/marcoarment/FCModel
✅  https://github.com/layerhq/FMDBMigrationManager
#...
🕐  Time elapsed: 4.07 seconds

🏃  No failures for ccgus/fmdb
✅ 200 ok
🔶 3xx redirect
🔴 4xx error
⚪ white list / other

Correct GitHub README Redirects

frankenstein can open a pull request to update README links based on HTTP redirects (this requires credentials set in .netrc).

$ frankenstein fastlane/sigh

Finding default branch for fastlane/sigh
Found: master for fastlane/sigh — Because you would rather spend your time building stuff than fighting provisioning — 864⭐️  — last updated 8 days ago
🏃  Processing links for https://raw.githubusercontent.com/fastlane/sigh/master/README.md ...
🔎  Checking 21 links
🔶  301 https://github.com/KrauseFx/fastlane
🔶  301 https://github.com/KrauseFx/deliver
#...
🔶  10 redirects
https://github.com/KrauseFx/fastlane redirects to
https://github.com/fastlane/fastlane
#...
Next? (pull request | white list w=<s1^s2..> | gist | tweet [-h] [message] | enter to end) p
Creating pull request on GitHub for fastlane/sigh ...
Pull request created: https://github.com/fastlane/sigh/pull/195

White List

  • URLs that are meant to be redirected (i.e. URL shortener, badge, authentication) are white listed and not corrected.

  • You can also white list links at the end of a run with option w.

$ frankenstein dkhamsing/forker

Finding default branch for dkhamsing/forker
Found: wip for dkhamsing/forker — Fork GitHub repos found on a page — 0⭐️  — last updated today
🏃  Processing links for dkhamsing/forker ...
🔎  Checking 10 links
✅  https://github.com/opensourceios
#...
🔶  1 redirect
http://gph.is/1768v38 redirects to
http://giphy.com/gifs/loop-factory-how-its-made-n1JN4fSrXovJe
#...
🕐  Time elapsed: 2.56 seconds

🏃  No failures for dkhamsing/forker

Next? (pull request | white list w=<s1^s2..> | gist | tweet [-h] [message] | enter to end) w=gph
#...

Contact

License

This project is available under the MIT license. See the LICENSE file for more info.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].