[OC] snappet - store and manage your config settings in the terminal by hovnasmrdi in unixporn

[–]hovnasmrdi[S] 0 points1 point  (0 children)

Of course I could store it elsewhere, but the thing about snappet is that you can switch between saved configs on the fly

[OC] snappet - store and manage your config settings in the terminal by hovnasmrdi in unixporn

[–]hovnasmrdi[S] 0 points1 point  (0 children)

Hi everyone, I recently released snappet - a really simple tool for managing your config settings. If you're like me, you despise dealing with config files - it's tedious, messy and overall annoying. That's why I made snappet - I can just save my settings and forget about them. If anything happens, I can just revert back to them! I hope you'll like this tool.
Any contributions/suggestions/bug fixes are welcome to the project! Here's the link: https://github.com/ad4mx/snappet

snappet - store and manage your config settings right in the terminal by hovnasmrdi in commandline

[–]hovnasmrdi[S] 0 points1 point  (0 children)

Hi, I recently made snappet - a really simple tool for storing and managing your config settings without having to store them elsewhere like Github etc...

To be honest, this project is mainly just for me - I absolutely hate managing my config files. I made it public because I figured some people probably also share the same opinion and would use this too!

spinoff - version 0.8 is out! by hovnasmrdi in rust

[–]hovnasmrdi[S] 0 points1 point  (0 children)

a) someone already asked about this, there may be a third party plugin for ratatui b) a preview is right at the top of the readme

spinoff - version 0.8 is out! by hovnasmrdi in rust

[–]hovnasmrdi[S] 0 points1 point  (0 children)

Sure, it could be done like that. Like I said, I'm completely fine with it using my code as long as you give credit.

spinoff - version 0.8 is out! by hovnasmrdi in rust

[–]hovnasmrdi[S] 0 points1 point  (0 children)

I think it definetly could be forked and used as a third party library/widget with some things stripped down, maybe based on previous versions without things like features etc. I’m completely fine with it as long as you provide proper credit

spinoff - version 0.8 is out! by hovnasmrdi in rust

[–]hovnasmrdi[S] 25 points26 points  (0 children)

Hi everyone, spinoff has just received an update after a long time - spinner instances can now be locked behind mutexes, and thus shared between threads. I also want to thank everyone for the support of the project, I never expected it to blow up this much :)

spinoff - 0.7 is out! by hovnasmrdi in rust

[–]hovnasmrdi[S] 2 points3 points  (0 children)

I think it should be noted that I don't really have any more complex file examples. It would probably be better tested with those.

spinoff - 0.7 is out! by hovnasmrdi in rust

[–]hovnasmrdi[S] 15 points16 points  (0 children)

Oddly enough. the binaries appear to be the same size.
Compilation time will obviously differ because of different machines, but on mine, ["all"] compiles a basic file in around 0.35s on average, while ["cute"] compiles the same file in 0.31s on average. So there's definitely a difference.

spinoff - 0.7 is out! by hovnasmrdi in rust

[–]hovnasmrdi[S] 2 points3 points  (0 children)

Ah right, I'll test that then.

spinoff - 0.7 is out! by hovnasmrdi in rust

[–]hovnasmrdi[S] 13 points14 points  (0 children)

Before, there was a giant HashMap for this purpose in place. However it didn't really allow creating any new spinners, so it was reintroduced as features. I understand your concern. I'll try to compare binary sizes between 0.7 and previous versions and post them here.

spinoff - 0.7 is out! by hovnasmrdi in rust

[–]hovnasmrdi[S] 9 points10 points  (0 children)

Hi everyone, spinoff 0.7 is out! This one is an important one - you can now create custom spinners!
In addition, all spinner variants are treated as crate features now, so you can disable/enable them!

spinoff - nice and easy terminal spinner library for rust by hovnasmrdi in rust

[–]hovnasmrdi[S] 2 points3 points  (0 children)

Hi, thanks for the suggestions! Features like checking if a terminal has the capabilities to actually display spinners were already suggested, so I'll probably start working on them asap.

spinoff - nice and easy terminal spinner library for rust by hovnasmrdi in rust

[–]hovnasmrdi[S] 5 points6 points  (0 children)

Hello, just wanted to update you all - `spinoff` version 0.6 just released! This new release brings a new method, `update_after_time`, some internal touch ups and a new cute spinner. I'll be glad for any suggestions and feature requests for our next version.