Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » code-gui - Npm package allowing contents of a folder with a Terminal UI!
- WojtekGame
-
Scratcher
1000+ posts
code-gui - Npm package allowing contents of a folder with a Terminal UI!

(removed because bing ai is getting weird in the quote)
NOTE: code-gui uses the "colors" npm module to have a better view than before!
Normally for now it's just an file explorer clone for the terminal.
GitHub: https://GitHub.com/JSInventions/code-gui/
NPM: https://npmjs.com/package/code-gui
NOTE: After 1.0, you have to add {“style”:“text”} after the directory string.
Note that the (version number) represents the version the style was added
All possible styles are:
keyboard (v1.1.2)
text-2 (v1.1.2)
text (v1.1.0)
emoji (1.1.0)
- (safe)
emoji-hacker (1.1.0)
- (also safe)
text-hacker (v1.1.3)
var loadDir = require("code-gui"); loadDir("C:/", {"style":"text"}); loadDir("C:/", {"style":"text-2"}); loadDir("C:/", {"style":"emoji"}); loadDir("C:/", {"style":"emoji-hacker"}); //No it dosen't hack Scratch. loadDir("C:/", {"style":"keyboard"}); loadDir("C:/", {"style":"text-hacker"}); loadDir("C:/", {"style":"text", "showItems":1}); loadDir("C:/", {"style":"text", "limitNames":true});
#-- C:/
| ... // <NULL> Null count: <nc>
#------
┌── C:/
└──
...
#-- C:/
| SomeLongFileThatIMade... <FILE> File count: 1
#------
Last edited by WojtekGame (March 18, 2023 19:51:09)
- bigspeedfpv
-
Scratcher
500+ posts
code-gui - Npm package allowing contents of a folder with a Terminal UI!
why do scratchers have an aversion to using ui libraries
document.createElement('div') is the strangest one i've seen yet i think
document.createElement('div') is the strangest one i've seen yet i think
- WojtekGame
-
Scratcher
1000+ posts
code-gui - Npm package allowing contents of a folder with a Terminal UI!
why do scratchers have an aversion to using ui librariesbecause yes, and i found a better use for my package: Text UI
document.createElement('div') is the strangest one i've seen yet i think
- WojtekGame
-
Scratcher
1000+ posts
code-gui - Npm package allowing contents of a folder with a Terminal UI!
BUMP! 

- god286
-
Scratcher
1000+ posts
code-gui - Npm package allowing contents of a folder with a Terminal UI!
So, this is basically a nice looking ls command? Cool
In your github repository your functions are in 1 line each. I think you should format the code. If you want to have a small package size then you could use a build tool.
In your github repository your functions are in 1 line each. I think you should format the code. If you want to have a small package size then you could use a build tool.
- WojtekGame
-
Scratcher
1000+ posts
code-gui - Npm package allowing contents of a folder with a Terminal UI!
So, this is basically a nice looking ls command? Cool1.Done 2.zipping required
In your github repository your functions are in 1 line each. I think you should format the code. If you want to have a small package size then you could use a build tool.

- WojtekGame
-
Scratcher
1000+ posts
code-gui - Npm package allowing contents of a folder with a Terminal UI!
BUMP + ADDED README!
- WojtekGame
-
Scratcher
1000+ posts
code-gui - Npm package allowing contents of a folder with a Terminal UI!
b u m p
- bigspeedfpv
-
Scratcher
500+ posts
code-gui - Npm package allowing contents of a folder with a Terminal UI!
eslint + prettier plz
also, update your node, node.js 14.x goes EOL in like a month
also, update your node, node.js 14.x goes EOL in like a month
- WojtekGame
-
Scratcher
1000+ posts
code-gui - Npm package allowing contents of a folder with a Terminal UI!
eslint + prettier plzo-o
also, update your node, node.js 14.x goes EOL in like a month
- WojtekGame
-
Scratcher
1000+ posts
code-gui - Npm package allowing contents of a folder with a Terminal UI!
eslint + prettier plzok done updating to 19.x
also, update your node, node.js 14.x goes EOL in like a month
- WojtekGame
-
Scratcher
1000+ posts
code-gui - Npm package allowing contents of a folder with a Terminal UI!
boomp
- lolecksdeehaha
-
Scratcher
1000+ posts
code-gui - Npm package allowing contents of a folder with a Terminal UI!
BUMP + ADDED README!By the way, if you're planning to have more dependencies in the future, typing
npm install
also, don't recommend -g, it can break some future projects that need different versions.
- WojtekGame
-
Scratcher
1000+ posts
code-gui - Npm package allowing contents of a folder with a Terminal UI!
I may update if i will get more NPM projects (or dependecies).BUMP + ADDED README!By the way, if you're planning to have more dependencies in the future, typingby itself in the directory will install all the stuff that it needs.npm install
also, don't recommend -g, it can break some future projects that need different versions.
And ik, “-g” is just global, i may remove when done.
- WojtekGame
-
Scratcher
1000+ posts
code-gui - Npm package allowing contents of a folder with a Terminal UI!
bumping this again 

- WojtekGame
-
Scratcher
1000+ posts
code-gui - Npm package allowing contents of a folder with a Terminal UI!
bump + zipped much so it won't use too much internet data.
- WojtekGame
-
Scratcher
1000+ posts
code-gui - Npm package allowing contents of a folder with a Terminal UI!
code-gui is updated to 1.1.0
- WojtekGame
-
Scratcher
1000+ posts
code-gui - Npm package allowing contents of a folder with a Terminal UI!
bump pls
- WojtekGame
-
Scratcher
1000+ posts
code-gui - Npm package allowing contents of a folder with a Terminal UI!
bump 

- bigspeedfpv
-
Scratcher
500+ posts
code-gui - Npm package allowing contents of a folder with a Terminal UI!
why bump so many times in one day
- Discussion Forums
- » Advanced Topics
-
» code-gui - Npm package allowing contents of a folder with a Terminal UI!



