All Projects → do-community → glob-tool

do-community / glob-tool

Licence: Apache-2.0 License
A tool to test globs against sets of test strings quickly and easily for the DigitalOcean Community.

Programming Languages

Vue
7211 projects
SCSS
7915 projects
javascript
184084 projects - #8 most used programming language
typescript
32286 projects
HTML
75241 projects

Projects that are alternatives of or similar to glob-tool

Micromatch
Contributing Pull requests and stars are always welcome. For bugs and feature requests, please create an issue. Please read the contributing guide for advice on opening issues, pull requests, and coding standards.
Stars: ✭ 1,979 (+14035.71%)
Mutual labels:  glob, glob-pattern, glob-matching, minimatch
matched
Glob matching with support for multiple patterns and negation. Use `~` in cwd to find files in user home, or `@` for global npm modules.
Stars: ✭ 25 (+78.57%)
Mutual labels:  glob, glob-pattern, glob-matching
glob-fs
file globbing for node.js. speedy and powerful alternative to node-glob. This library is experimental and does not work on windows!
Stars: ✭ 54 (+285.71%)
Mutual labels:  glob, glob-pattern, minimatch
extglob
Extended globs. Add (almost) the expressive power of regular expressions to glob patterns.
Stars: ✭ 25 (+78.57%)
Mutual labels:  glob, minimatch
is-valid-glob
Return true if a value is a valid glob pattern string, or array of glob patterns.
Stars: ✭ 21 (+50%)
Mutual labels:  glob, glob-pattern
Nginxconfig.io
⚙️ NGINX config generator on steroids 💉
Stars: ✭ 14,983 (+106921.43%)
Mutual labels:  digitalocean, digitalocean-community-tools
dots
Implements the wildcard file matching in Go used by golint, go test etc.
Stars: ✭ 26 (+85.71%)
Mutual labels:  glob, glob-pattern
matcher
Matcher is a fast path matcher/globber supporting globstar/doublestar
Stars: ✭ 52 (+271.43%)
Mutual labels:  glob, globstar
glob
Pure Nim library for matching file paths against Unix style glob patterns.
Stars: ✭ 58 (+314.29%)
Mutual labels:  glob, glob-matching
faster-than-walk
Faster recursive directory walk on Python 3
Stars: ✭ 36 (+157.14%)
Mutual labels:  glob, glob-pattern
globify
Run browserify and watchify with globs - even on Windows!
Stars: ✭ 16 (+14.29%)
Mutual labels:  glob-pattern, globs
to-absolute-glob
Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.
Stars: ✭ 16 (+14.29%)
Mutual labels:  glob, glob-pattern
deglob
📂 Take a list of glob patterns and return an array of file locations, respecting `.gitignore` and allowing for ignore patterns via `package.json`.
Stars: ✭ 38 (+171.43%)
Mutual labels:  glob, glob-pattern
kubernetes-branch-review
🚟 Review clusters of GitHub pull requests / Examen des groupes de demandes de tirage de GitHub
Stars: ✭ 22 (+57.14%)
Mutual labels:  digitalocean
hacktoberfest2021
Make your first PR. A beginner friendly repository made specifically for open source beginners. Add any program under any language (it can be anything from a simple program to a complex data structure algorithm). Happy coding...
Stars: ✭ 41 (+192.86%)
Mutual labels:  digitalocean
DigitalOcean-Spaces-Sync
This WordPress plugin syncs your media library with DigitalOcean Spaces Container.
Stars: ✭ 46 (+228.57%)
Mutual labels:  digitalocean
DSA
Write DSA Codes into it
Stars: ✭ 18 (+28.57%)
Mutual labels:  digitalocean
bash-glob
Bash-powered globbing for node.js. Alternative to node-glob. Does not work on Windows 9 and lower.
Stars: ✭ 13 (-7.14%)
Mutual labels:  glob
hacktoberfest2019
A repository for hacktoberfest 2019 [ Not counting towards hacktoberfest contribution ]
Stars: ✭ 12 (-14.29%)
Mutual labels:  digitalocean
ansible-digitalocean
An ansible role that creates a DigitalOcean droplet and returns the droplet's IP address for further use in playbooks
Stars: ✭ 20 (+42.86%)
Mutual labels:  digitalocean

Glob Tool

A tool to test globs against sets of test strings quickly and easily for the DigitalOcean Community.


Development/Building

To setup the build/develop environment, you will need to run npm i with Node 12+ installed. This will install the dependencies to allow you to build the project.

To develop for this tool run npm run dev. This will start a development server that will automatically reload the codebase when changes occur.

If you wish to host this tool on a service, simply run npm run build. This will run all the necessary build scripts automatically to build the tool.
You can then take the dist folder and put it on your web server/bucket.

GitHub Actions is setup to do this automatically for this repository to deploy to gh-pages.

CORS proxy

To integrate with NPm and provide users with the ability to ues file names from an NPM package, the tool utilises the cors.bridged.cc proxy as NPM does not have CORS headers on their registry.

The CORS proxy is only used for the NPM functionality, but requires an API key that will be used in the client to authenticate the requests, set as the CORS_API_KEY environment variable.

You can find out more about getting an API key for the CORS proxy at gridaco/base#23.

Source Structure

src/glob-tool

src/glob-tool/i18n

In this directory lives all the internationalisation data and strings for the tool. Currently, this only contains the English versions of the strings but could be expanded in the future.

src/glob-tool/scss

The scss directory contains the main SCSS styling file for the tool, which imports our do-bulma library and then adds tool-specific customisations.

src/glob-tool/templates

This directory contains the Vue templates that are used to render the tool on the client-side. app.vue is the main Vue file that other templates are referenced into.

Contributing

If you are contributing, please read the contributing file before submitting your pull requests.

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].