GervinFung/gitignored
Application of Gitignored. A more UI/UX Friendly Web Application to Preview/Copy/Download Single or Multiple .gitignore File(s)
Gitignored
Web App
A web application that let the developer generate various .gitignore templates, available here
The templates are taken from the repo gitignore of GitHub. Hence the templates generated are reliable
Here's what the developers can do with it
- Copy various templates as one or download as all into one zip
- Copy each template without downloading any templates
Home Page
Templates
Docs Introduction
Docs Content
Docs API
Introduction
Commit Time
Templates
404 Page
Tech Used
| Aspect | Name |
|---|---|
| Development Language | TypeScipt |
| Scripting Language | TypeScipt |
| Testing | Vitest |
| Styling | Chakra-UI |
| Framework | NextJS |
| Build Automation Tool | Make |
| Dependency Management | Pnpm |
| Continuous Integration | GitHub Actions |
Make Commands
Below are the non-exhaustive listed commands that you can use to build/develop/test this app. For more command, checkout Makefile
| Command | Usage |
|---|---|
| make start-(development OR production OR testing OR staging) | Start development |
| make build-(development OR production OR testing OR staging) | Bundle and build the app |
| make install | Install all dependencies |
| make test | Run all test code |
| make typecheck | Run typechecking for source code |
| make lint | Run linter for source and test code |
| make format-check | Run prettier to check source and test code format |
| make format | Run prettier to format source and test code |
| make start-(development OR testing)-database | Start database |
| make copy-env-(development OR testing) | Copy environment variables |
Test
It's necessary to UI snapshot test, it's also a must to write test for logical processing functions
Cli App
An Offline-first CLI application that let the developer generate various .gitignore templates
The templates are taken from the web application Gitignored, which is the GUI application of this application. The TUI application is available here
Side note:
The GUI application takes the templates from gitignore of Github
Here's what the developers can do with this application
- View the name of all available templates
- Search to find out whether a name of a template exists
- Preview each template(s) searched, it will include the closest template if there's typo in the name searched, i.e JetBrains for jetbrain
- Generate template(s) to a
.gitignorefile, will not override current.gitignore, pass--forceto forcefully override - Generate template(s) to a specified directory, i.e
temp/temp1, it will auto generate at astemp/temp1/.gitignore - Append template(s) to an existing
.gitignorefile, it will create one if it does not exist - Append template(s) to an existing
.gitignorefile of a specified directory, again it will create one if it does not exist - Update the cache to receive latest templates
- Uninstall and remove every cache
- Open home page/website of this application
You don't need to have an internet connection to use it, unless you want to update the cache
Note: gitignored-cli is a work-in-progress library, so expect breaking changes in its API
Default or Help
gitignored-cliOR
gitignored-cli --helpUpdate Available
Default Listing
gitignored-cli template --listListing with column number specified
gitignored-cli template --list --column 8Search
gitignored-cli template --search rust node java vscode jetbrain whateverPreview
gitignored-cli template --preview rust node java vscode jetbrainDefault Generate
gitignored-cli template --generate rust node java vscode jetbrain whateverAbort Generate
gitignored-cli template --generate rust node java vscode jetbrain whateverForce Generate
gitignored-cli template --generate rust node java vscode jetbrain whatever --forceGenerate with outdir specified
gitignored-cli template --generate rust node java vscode jetbrain whatever --outdir temp-dev/temp-twoDefault Append
gitignored-cli template --append rust node java vscode jetbrain whateverAbort Append
gitignored-cli template --append rust node java vscode jetbrain whateverAppend with outdir specified
gitignored-cli template --append rust node java vscode jetbrain whatever --outdir temp-dev/temp-twoUpdated Cache
gitignored-cli template --updateUpdating Cache
gitignored-cli template --updateOpen home page in browser
gitignored-cli open-linkUninstall
gitignored-cli uninstallOf course, input validation
How To Use
Install it
cargo install gitignored-cliRun it
gitignored-cli (commands)Tech Used
| Aspect | Name |
|---|---|
| Language | Rust |
| Linting | Clippy |
| Format | Rustfmt |
| Build Automation Tool | Make |
| Package Manager | Cargo |
| Continuous Integration | GitHub Actions |
Make Commands
Below are the listed commands that you can use to build/develop/test this app
| Command | Usage |
|---|---|
| make test-dev | Run all test code in development environment |
| make test-prod | Run all test code in ci-cd |
| make build | Bundle, build and release the app as executable |
| make check | Run compiler checking on code |
| make lint | Run linter for code |
| make format | Run formatter to format the code |
Contribution
Make sure you can run make, otherwise you need to run commands listed in Makefile separately
- Open an issue
- Fork this repo
- Write test
Changes
Refer to here


























