I Developed neocities-red Gem
I am developer my own cli for neocities with my own features!!!!!!!!!!!!
Story starts at December 25th when i was started to use neocities cli. For them who not known - this is a package which allows you to upload your website on neocities using cmd/console/terminal.I was noticed that that gem doesnt works on the latest versions of Ruby programming language, which i fixed here.
I decided to make my own cli just because original repository isn't active and i wanted to refactor all entire project which doesn't matter, really.
cool features:
- [push] Uploading files to neocities is multithreaded. It means that programm uploads 3 files at one moment instead by 1 file....
- [push] Fixed `-e` flag to exclude folders with their content.
-
[push] You could ignore all dotfiles (files with '.' at the start), just adding
`--ignore-dotfiles`
flag on pushing
P.S.: At the original gem you can't just ignore folders and there was a situation when programm tries to import the `.git` folder. For avoiding that you needed before to add folder in .gitignore. I think it is a bug and adding items in .gitignore - is a dog-nail. At the next updates it will be automatically ignore all dotfiles.
-
[push] Instead of pushing all files from your project now you can use the `--optimized` flag.
It pushes only files
which different from neocities's storage.
P.S.: At the original gem `neocities push` 'push' just takes all files and trying to push them, sometimes that process will take a lot of time.. ZzZZZzzz
- [upload] Now, you can easily upload files to specific path on neocities. The logic of that command was changed.
Always glad to see guys, who wants to help me with that gem :)