November Progress Report
What progress was made on your grant this month?
- We have adopted all file handling functionality available in the Tiri browser extension, and added a “File” menu section for browsing the SIA storage.
- In the “Sync” menu section we have implemented scanning of the chosen directory for folders and files structure, and building up a “tree model” populated with files checksums and modification times for comparison with similar data in the SIA storage for synchronisation.
- We’ve added API points on the Tiri backend to store and retrieve “tree model” data.
Currently, the “Sync” menu section performs replication of the local structure to the SIA storage.
Summarize any problems that you ran into this month and how you’ll be solving them.
We have encountered several challenges that, unfortunately, took longer to resolve than we had planned, so we are slightly behind schedule.
There were several issues causing the upload to fail: it happened at the “weak point” of the project - streaming uploads, which are very sensitive to conditions. Preliminary research suggested that this should work in Electron.js as it uses the Chromium engine, but it didn’t. The issue turned out not to be with fetch, but a step earlier: the worker responsible for encryption wasn’t providing correct data for fetch. We had to further rework the interaction with the sia-worker to function smoothly with Electron’s production mode.
We plan to fix the timeline in Dec-Jan, where additional time has been allocated for holidays and potential risks.
Links to repos worked on this month:
Tiri desktop
Tiri gateway
The current version of the executable file (for Windows) is here: TiriVD-Setup-v.0.2.1.exe
What will you be working on next?
Our plan for the next month is to proceed to the 2nd milestone and start implementing WebSocket Server and SIA Storage Change Tracking.