Okay, I have finally decided to post updates here, probably weekly, let's see how long I can keep this up.
For the past week / more than a week, I have been working on glesha, it's an archiving tool. More information of what it does is available at the linked website.
I have wasted a lot of time yesterday in setting up auto-upload for generated release binaries to vercel blob storage until I complete the MVP and open source the project, but it turned out to be a lot more work, so I have decided to just manually upload from vercel's dashboard. For now, I am using vercel as much as possible because then I don't have to worry about unexpected bills.
Github releases are already automated, and are in place, so binaries will be available from github releases.
So far, glesha
can create a .tar.gz
archive for a directory you provide, and create an AWS bucket according to your config. I have hardcoded current storage costs from AWS S3 pricing docs to estimate how much it would cost to store the generated archive.
$ glesha add -c ./config.json ~/pro
Computing files info
Task created with id: 2
Use 'glesha run <id>' to run the task.
For more information, see 'glesha help add'.
$ glesha run 2
Task:
ID: 2
InputPath: /home/vaib/pro
OutputPath: /home/vaib/.glesha-cache
ConfigPath: /home/vaib/pro/real/glesha-secrets/config.json
Provider: aws
ArchiveFormat: .tar.gz
Size: 1.79GB
TotalFileCount: 63889
Cannot continue from previous state, starting fresh
Computing files info
Plan Archive: OK
Archiving: Done (63889/63889) (1.79GB -> 912.59MB)
Create Archive: OK
Archive: /home/vaib/.glesha-cache/glesha-2.tar.gz
AWS: Bucket already exists: glesha-backup
Create Bucket: OK
Aws: initiating upload: /home/vaib/.glesha-cache/glesha-2.tar.gz (912.59MB)
AWS: Estimating costs...
S3 Storage Class Cost for 912.59MB (per year)
Standard (Frequent Retrieval) : 22.60 INR
Standard (Infrequent Retrieval) : 12.28 INR
Express (High Performance) : 108.07 INR
Glacier (Flexible Retrieval) : 3.64 INR
Glacier (Deep Archive) : 0.97 INR
Note: Above storage costs are an approximation based on storage costs for us-east-1 region, it does not include retrieval/deletion costs.
[ERROR] AWS: upload not implemented yet
I'll probably continue to implement multi-part uploads to S3, along with ability to specify a storage class in the config.json
file.
The install script is really scuffed because I have generated it with AI, so probably will fix that as well. I'll maybe try to create a MSI installer for windows as well.
Most importantly, hopefully I'll post next update in a week.