https://github.com/kabeep/neoconfig
> A Node.js CLI for the NeoFetch configuration file manager._
https://github.com/kabeep/neoconfig
cli file-manager neoconfig neofetch nodejs
Last synced: about 1 year ago
JSON representation
> A Node.js CLI for the NeoFetch configuration file manager._
- Host: GitHub
- URL: https://github.com/kabeep/neoconfig
- Owner: kabeep
- License: mit
- Created: 2025-01-07T23:49:58.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-01-09T00:08:48.000Z (over 1 year ago)
- Last Synced: 2025-03-10T04:11:19.504Z (over 1 year ago)
- Topics: cli, file-manager, neoconfig, neofetch, nodejs
- Language: TypeScript
- Homepage: https://github.com/kabeep/neoconfig
- Size: 1.19 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
NeoConfig
A Node.js CLI for the `NeoFetch` configuration file manager.
[![NodeJS][node-image]][node-url]
[![Install Size][install-size-image]][install-size-url]
[![NPM][npm-image]][npm-url]
[![code style][code-style-image]][code-style-url]
[![License][license-image]][license-url]
English | [įŽäŊ䏿][zh-cn-url]

## đ Introduction
> [!TIP]
>
> By default, the themes directory is empty. You can add your custom configuration files or use configurations shared by
> the open-source community (see the "Related Repositories" section below).
Easily switch between custom NeoFetch themes from the command line, enabling quick transitions between presets for
screen recording and presentation scenarios.
## âī¸ Prerequisites
***\> Install [NeoFetch][neofetch-url]. Without it, this package serves no purpose.***
1. NPM ([Node.js][node-url])
```bash
npm i -g neofetch
```
2. Windows
```bash
scoop i -g neofetch
```
3. MacOS
```bash
brew i -g neofetch
```
***\> Use a terminal that supports Unicode Symbols for the best experience with `NeoFetch` and `NeoConfig`.***
Some terminals have limited or no support, especially those based on `xterm-256color`, like `Microsoft/VSCode` or
`Vercel/Hyper`.
See https://github.com/xtermjs/xterm.js/issues/2693 for details.
In such cases, you'll need to download a compatible font. We recommend [Nerd Symbols Font][nerd-url], which is widely
used in command-line applications.
After downloading the font, configure your terminal accordingly. For example, on Windows 11 and Hyper:
Install the font via `Settings` > `Personalization` > `Fonts`.
Add the font name to the `fontFamily` setting in `Hyper`'s configuration file.
The same applies to editors like `Sublime Text` and `VSCode`.
## đĻ Installation
```bash
npm install --global @kabeep/neoconfig
```
```bash
yarn add --global @kabeep/neoconfig
```
```bash
pnpm add --global @kabeep/neoconfig
```
## đ Usage
#### \$ Show help_
```bash
neoconfig -h
```
```
neoconfig [options]
Options:
-h, --help Show help [boolean]
-v, --version Show version number [boolean]
```
#### \$ Interactive configuration_
```bash
neoconfig
```
```
? Please select a neofetch theme.
⯠âī¸ default.conf
đ large
đ small
đ termux
(Use arrow keys)
------------------
Press Ⲡ/ âŧ to move the cursor.
Press âē / ENTER to enter the selected directory.
Press â to return to the parent directory.
Press ENTER to switch themes.
Press CTRL - C to exit the interaction.
```
#### $ See more_
## đ Supported directory structure
```
~/.config/neofetch # Root directory
âââ config.conf # Current configuration file
âââ themes # Fixed themes directory
âââ default.conf # Single configuration file
âââ large # Grouped configurations (no restriction on directory names or nesting depth)
â âââ myTheme1 # Custom configuration
â â âââ ascii.txt # ASCII art file
â â âââ config.conf # Configuration file
â âââ myTheme2 # Nested custom configuration
â â âââ config.conf # Configuration file
â â âââ assets # Assets referenced by configuration (no restriction on directory names or nesting depth)
â â âââ ascii.txt # ASCII art file
â âââ ...
âââ small
âââ ...
```
## đ i18n
| Language Name | Native Name | ISO-639-1 | ISO-3166-1 (Alpha-2) | Locale File |
|:-------------------|:-----------:|:---------:|:--------------------:|:-----------------------------|
| English | - | en | US | [en-US.ts][locale-en-us-url] |
| Chinese Simplified | įŽäŊ䏿 | zh | CN | [zh-CN.ts][locale-zh-cn-url] |
## đ Related
- [neofetch-themes][neofetch-themes-url] - Neofetch configs put into a convinient repository.
- [NeoCat][neocat-url] - NeoFetch Theme Pack.
## đ¤ Contribution
Contributions via Pull Requests or [Issues][issues-url] are welcome.
## đ License
This project is licensed under the MIT License. See the [LICENSE][license-url] file for details.
[node-image]: https://img.shields.io/node/v/%40kabeep%2Fneoconfig?color=lightseagreen
[node-url]: https://nodejs.org/
[npm-image]: https://img.shields.io/npm/d18m/%40kabeep%2Fneoconfig?color=fa6673
[npm-url]: https://www.npmjs.com/package/@kabeep/neoconfig
[install-size-image]: https://packagephobia.com/badge?p=@kabeep/neoconfig
[install-size-url]: https://packagephobia.com/result?p=@kabeep/neoconfig
[code-style-image]: https://img.shields.io/badge/Formatted_with-Biome-cornflowerblue?style=flat&logo=biome
[code-style-url]: https://biomejs.dev/
[license-image]: https://img.shields.io/github/license/kabeep/neoconfig?color=slateblue
[license-url]: LICENSE
[en-us-url]: README.md
[zh-cn-url]: README.zh-CN.md
[locale-en-us-url]: src/locale/en-US.ts
[locale-zh-cn-url]: src/locale/zh-CN.ts
[neofetch-url]: https://github.com/dylanaraps/neofetch
[nerd-url]: https://www.nerdfonts.com/font-downloads
[neofetch-themes-url]: https://github.com/Chick2D/neofetch-themes
[neocat-url]: https://github.com/m3tozz/NeoCat
[issues-url]: https://github.com/kabeep/neoconfig/issues