• Stars
    star
    382
  • Rank 112,241 (Top 3 %)
  • Language
    PHP
  • Created over 7 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

βœ… Simple site launch checklist checker/validator.

kupo Build Status

A simple site launch checklist checker (for the lack of a better name).

Screen record

Why

After (or is it before?) launching a new site, you often want to validate it against a checklist and make sure the title is filled, gzip is enabled, robots.txt and sitemap.xml are all there etc. kupo is built to help you with this tedious task. Just key in the site's address, hit ENTER, and it will check for:

Install

As this tool is built on top of Vue and Laravel, your environment must meet their requirements. You'll also need a decent Node version (mine is v9.11.2) and yarn. Now from your command line, execute this bunch of commands:

git clone https://github.com/phanan/kupo.git
cd kupo
composer install
php artisan kupo:init
php artisan serve
// kupo should now have been started at http://localhost:8000/

Extend

Depending on your needs, you may want to add more rules into kupo. In order to do so, just follow these certain steps:

  1. Create a new Rule class: php artisan make:rule FunnyBunnyMustBeSeen
  2. Open app\Rules\FunnyBunnyMustBeSeen.php and fill the class with your logic. Basically, you'll need to make sure check() returns a truthy/falsy value, indicating if the rule passes/fails. Other methods should be self-explanatory.
  3. Now add App\Rules\FunnyBunnyMustBeSeen::class to the array found in config/customRules.php
  4. That should be it!

Contribute

If you feel like a certain rule should be added, please contribute! Just fork and follow the same steps as described in the above "Extend" section, except the file in step 3 should be config/rules.php instead. Create a passing test, make a PR, and I'll be more than happy to consider. Of course, bug fixes and any other kind of contributions are welcome, too!

License

MIT Β© Phan An

More Repositories

1

htaccess

βœ‚A collection of useful .htaccess snippets.
12,497
star
2

vue-google-signin-button

πŸ” A simple Vue plugin to include a Google sign-in button into your web app.
JavaScript
288
star
3

vue-facebook-signin-button

A simple plugin to include a custom Facebook sign-in button into your web app.
JavaScript
135
star
4

vue-linkify

A simple Vue directive to turn URL's and emails into clickable links
JavaScript
81
star
5

vue-snippets

βœ‚οΈA collection of Vue snippets
CSS
81
star
6

tieqviet

A trivial module to convert Vietnamese into the new, experimental, IPA
JavaScript
74
star
7

cascading-config

Bringing the cascading configuration system back to Laravel 5 and its sister project, Lumen.
PHP
55
star
8

factoria

Simplistic model factory for Node/JavaScript
TypeScript
51
star
9

slider-puzzle

A simple slider puzzle built with Vue
JavaScript
49
star
10

vuequery

Traverse Vue's component tree with ease.
TypeScript
40
star
11

remote

Simple remote connection / SFTP / SSH for Laravel 5
PHP
31
star
12

vue-fractal

An attempt to port https://github.com/Swizec/react-fractals/ into Vue
JavaScript
30
star
13

vue-test-helpers

Some helpers for vue-test-utils
JavaScript
30
star
14

tieqviet-demo

Demo for tieqviet module
Vue
28
star
15

phanan.net

🏑 My homepage, built on Nuxt.js
Vue
9
star
16

redmine_webhook

A Redmine plugin posts webhook on creating and updating tickets, originally forked from @sue
Ruby
8
star
17

vuebus

A simple event bus in Vue 2.x
TypeScript
8
star
18

til

The source code for https://til.phanan.net
HTML
7
star
19

laravel-5-cascading-config

Re-enable cascading configuration system in Laravel 5
PHP
7
star
20

smart-playlist-creator

A PoC smart playlist creator (Γ  la iTunes / Winamp)
Vue
6
star
21

log

A minimal WordPress theme
PHP
6
star
22

virtualmin-nginx-config-hook

A Virtualmin hook to generate a nginx server config file post Apache server setup
Shell
4
star
23

unit-test-async-component

A demo on how to unit test Vue async components with Vue Test Utils
Vue
4
star
24

vite-playground

Vue
2
star
25

counter-meetup

The repo for the first Vue meetup
JavaScript
2
star
26

vue-jquery-mask

A demo repo for Vue+jquery-mask
JavaScript
2
star
27

translation-sample

2
star
28

laravel-attr-bug

PHP
1
star