Closed burningscript closed 1 year ago
I did not know link was outdated. Anyways, I was able to build this project by following these steps. (This should work with npm, but I recommend using yarn. This can be installed using sudo npm i -g yarn
, then check using yarn --version
)
git clone
for cryptomator-ts, as it contains test cases on extended file name length, which are not compatible with Windows, and will not pull some essential files that comes after the test folder (namely, tsconfig.json).yarn install
.tsc
. This should not print anything.yarn install
. After this, you should see cryptomator-ts folder under node_modules.homepage
in package.json so that it points to where you will be hosting this. I have an instance hosted in https://skew.ch/cryptomator/
, and I had to set homepage
to that. (Accessible by entering https://skew.ch/cryptomator/index.html since I can't be bothered to edit Nginx config)yarn build
.I can confirm that this worked, both using link
and file
. One thing you may missed is the "building the library" step (step 2 and 3). Do reply if it still does not work.
Here is a full video: https://youtu.be/wfr96L1Jp_Q
Thank you!! I will try it later :) Yes, true! I think I missed building the library!
Thank you! It works :)
(The issue was my missing knowledge of react and npm haha)
Just two things more:
It is already supported, but you have to do some "register your app" thing on Microsoft website. I did it, but I forgot how. I'll upload a tutorial when I have time. As for streaming, I don't think it is possible. Current design downloads the file completely, then decrypts it in the browser. Once the decryption is done, the download is triggered. I might be able to do it after making some major changes, but even then I'm not sure if it would work. Sorry.
Alright, thank you very much for your friendly help. It is really nice that someone is working on something like that :)
Hello, I am trying to host cryptomator-web on my server, I don't know much about npm or react, but after I installed cryptomator-web (npm install) and trying to npm build it it just says " Module not found: Error: Can't resolve 'cryptomator-ts' in '/var/www/vhosts/domain/httpdocs/src/web'.
Any Idea?
Already change the cryptomator-ts depency in the package.json file to "file:../cryptomator-ts" instead of "link" (because it link is outdated)
Regards