Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nicejade/arya-jarvis
π Designed to save developers more time and energy. https://www.jeffjade.com/
https://github.com/nicejade/arya-jarvis
arya developer front-end-development frontend jarvis nodejs prettier quickapp toolkit
Last synced: about 2 months ago
JSON representation
π Designed to save developers more time and energy. https://www.jeffjade.com/
- Host: GitHub
- URL: https://github.com/nicejade/arya-jarvis
- Owner: nicejade
- License: mit
- Created: 2019-08-15T16:24:34.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-08-21T15:40:53.000Z (over 1 year ago)
- Last Synced: 2024-08-03T21:03:29.790Z (5 months ago)
- Topics: arya, developer, front-end-development, frontend, jarvis, nodejs, prettier, quickapp, toolkit
- Language: JavaScript
- Homepage: https://arya.lovejade.cn/
- Size: 900 KB
- Stars: 41
- Watchers: 4
- Forks: 5
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-seeds - arya-jarvis
README
ARYA JARVIS
Designed to save developers more time and energy.
### English | [δΈζ](https://arya.lovejade.cn/#/zh-cn)
## Goal and Philosophy
The ideal goal is to help us deal with things that can be more precise in the simplest way. `Arya Jarvis` is an attempt to do this, it designed to save developers more time and energy.
## Prerequisites
[Node.js](https://nodejs.org/en/) (>= 8.\*), Npm version 5+ ([Yarn](https://www.jeffjade.com/2017/12/30/135-npm-vs-yarn-detial-memo/) preferred).
## Install
```bash
npm i arya-jarvis -g
# Or
yarn global add arya-jarvis
```## Usage
The following two functions can support multiple format files, such as: `.js`, `.vue`, `.ux`, `.less`, `.scss`, `.css`, `.json`, `.md`, `.html`, `.qxml`, `.wxml`.
### π Prettier the code under the specified path.
```bash
arya prettier index.js
# π Or Use Alias
arya p ./src/**/**/*.js
# ππ Or Use Alias & Wildcard
arya p .
```### π¬ Listen for code changes in the specified path and prettier them.
```bash
arya watcher index.js
# π Or Use Alias
arya w ./src/**/**/*.js
# ππ Or Use Alias & Wildcard
arya w .
```It is worth mentioning that the code formatting of this project is handled by `arya w .`. Thanks to myself for developing this `arya jarvis` in my spare time, **I am super like it**.
### π Used to quickly build a local web server.
```bash
arya server
# π Or Use Alias
arya s
```### π One-click preview of the specified Markdown file
```bash
arya markdown README.md
arya markdown ./nice-project/README.md
# π Or Use Alias
arya m README.md
```#### Watcher (`-w` , `--watch`)
By default, the `Markdown` file you specify will not be listened. You can enable the monitor function by adding the `-w` option to refresh your preview page in real time. See the example belowοΌ
```bash
arya markdown README.md -w
arya markdown README.md --watch
```### β‘οΈ Find your local IP address and print it.
```bash
arya ip
```### π View programs that occupy the specified port.
```bash
arya port 8080
```### π· Generate QR code for specified text
```bash
arya qrcode "https://www.jeffjade.com/"
arya qrcode "ζζ΄εΉ½θ轩轩主"
```#### Save (`-s` , `--save`)
```bash
arya qrcode "https://nicelinks.site/" -s
arya qrcode "https://www.lovejade.cn/" --save
```### βοΈ Clear the terminal screen if possible
```bash
arya clear
# Or
arya c
```On Mac OS, if you want to implement this function, you can run the `clear` command on the terminal; but this is not particularly convenient; you can use `oh-my-zsh` to configure the command alias in the `.zshrc` file: _alias cls= 'clear'_; in this case, running `cls` is enough to clear the terminal screen content; and this is another case on Windows systems; in this case, using `arya c` is a pretty good choice.
### π· Greyscale: remove colour from the image.
```bash
arya img:greyscale# π Or Use Alias
arya igs
# local folder
arya igs ./assets/images
# local image file
arya igs ./assets/images/logo.png
# online image address
arya igs https://www.lovejade.cn/logo.png
```All processed pictures are placed in a new folder: `arya-greyscale-imgs`. Supported Image Types: `.bmp`, `.gif`, `.jpeg`, `.jpg`, `.png`, `.tiff`.
### π List the script commands in package.json.
```bash
arya ls
# π Or Use Alias
arya l
```In addition, [arya jarvis](https://github.com/nicejade/arya-jarvis) is still implanting more useful features, if you have any needs, you can tell me, or expand on this basis. If you encounter any problems during use, you can always follow me feedback. Wish: Life is happy and work is well.
## Recommended links
- [**NICE LINKS**](https://nicelinks.site/?utm_source=github.com)
- [About Me](https://about.me/nicejade/?utm_source=github.com)
- [**Hexo Blog**](https://jeffjade.com/?utm_source=github.com)
- [VuePress Blog](https://www.lovejade.cn/?utm_source=github.com)
- [VuePress Blog](https://nice.lovejade.cn/?utm_source=github.com)
- [Ghost Blog](https://quickapp.lovejade.cn/?utm_source=github.com)
- [Jekyll blog](https://blog.lovejade.cn/?utm_source=github.com)
- [SegmentFault](https://segmentfault.com/u/jeffjade)
- [Wei bo](http://weibo.com/jeffjade/)
- [Zhi Hu](https://www.zhihu.com/people/yang-qiong-pu/)
- [Jian Shu](http://www.jianshu.com/u/9aae3d8f4c3d)
- [Twitter](https://twitter.com/nicejadeyang)
- [Facebook](https://www.facebook.com/nice.jade.yang)## License
[MIT](http://opensource.org/licenses/MIT)
Copyright (c) 2019-present, [nicejade](https://aboutme.lovejade.cn/?utm_source=arya.lovejade.cn).