Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tanay1337/kanji-files-generator
Kanji files generator for Waybar and SketchyBar.
https://github.com/tanay1337/kanji-files-generator
Last synced: 24 days ago
JSON representation
Kanji files generator for Waybar and SketchyBar.
- Host: GitHub
- URL: https://github.com/tanay1337/kanji-files-generator
- Owner: tanay1337
- License: mit
- Created: 2024-09-10T07:26:51.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-10T07:43:03.000Z (4 months ago)
- Last Synced: 2024-09-10T09:59:50.830Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 948 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Kanji Files Generator
This script parses the `kanji.json` file (about 26K entries) in the `data` folder to create individual JSON files for each kanji entry in the `generated_files` folder. By default, the script will generate entries for only the first 100 characters, which can be updated in the `index.js` file.
You can then use this data to display a random kanji character at regular intervals with Waybar (Linux) or SketchyBar (macOS). You can check out my dotfiles [here](https://github.com/tanay1337/.dotfiles/).
## Setup
Run the following commands:
```
mkdir generated_files
node index.js
```You should then move these generated files to the correct location. For me, it's `Documents/kanji`.