Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .env.template
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
DRIVE_WEB_URL=https://drive.internxt.com
DRIVE_NEW_API_URL=https://api.internxt.com/drive
NETWORK_URL=https://api.internxt.com
DRIVE_NEW_API_URL=https://gateway.internxt.com/drive
NETWORK_URL=https://gateway.internxt.com/network
APP_CRYPTO_SECRET=6KYQBP847D4ATSFA
APP_MAGIC_IV=d139cb9a2cd17092e79e1861cf9d7023
APP_MAGIC_SALT=38dce0391b49efba88dbc8c39ebf868f0267eb110bb0012ab27dc52a528d61b1d1ed9d76f400ff58e3240028442b1eab9bb84e111d9dadd997982dbde9dbd25e
APP_MAGIC_SALT=38dce0391b49efba88dbc8c39ebf868f0267eb110bb0012ab27dc52a528d61b1d1ed9d76f400ff58e3240028442b1eab9bb84e111d9dadd997982dbde9dbd25e
DESKTOP_HEADER=3b68706a367fd567b929396290b1de40768bb768
82 changes: 57 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ $ npm install -g @internxt/cli
$ internxt COMMAND
running command...
$ internxt (--version)
@internxt/cli/1.5.4 win32-x64 node-v23.7.0
@internxt/cli/1.5.5 win32-x64 node-v23.7.0
$ internxt --help [COMMAND]
USAGE
$ internxt COMMAND
Expand All @@ -63,6 +63,7 @@ USAGE

<!-- commands -->
* [`internxt add-cert`](#internxt-add-cert)
* [`internxt autocomplete [SHELL]`](#internxt-autocomplete-shell)
* [`internxt config`](#internxt-config)
* [`internxt create-folder`](#internxt-create-folder)
* [`internxt delete-permanently-file`](#internxt-delete-permanently-file)
Expand Down Expand Up @@ -119,7 +120,38 @@ EXAMPLES
$ internxt add-cert
```

_See code: [src/commands/add-cert.ts](https://github.com/internxt/cli/blob/v1.5.4/src/commands/add-cert.ts)_
_See code: [src/commands/add-cert.ts](https://github.com/internxt/cli/blob/v1.5.5/src/commands/add-cert.ts)_

## `internxt autocomplete [SHELL]`

Display autocomplete installation instructions.

```
USAGE
$ internxt autocomplete [SHELL] [-r]

ARGUMENTS
SHELL (zsh|bash|powershell) Shell type

FLAGS
-r, --refresh-cache Refresh cache (ignores displaying instructions)

DESCRIPTION
Display autocomplete installation instructions.

EXAMPLES
$ internxt autocomplete

$ internxt autocomplete bash

$ internxt autocomplete zsh

$ internxt autocomplete powershell

$ internxt autocomplete --refresh-cache
```

_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v3.2.34/src/commands/autocomplete/index.ts)_

## `internxt config`

Expand All @@ -139,7 +171,7 @@ EXAMPLES
$ internxt config
```

_See code: [src/commands/config.ts](https://github.com/internxt/cli/blob/v1.5.4/src/commands/config.ts)_
_See code: [src/commands/config.ts](https://github.com/internxt/cli/blob/v1.5.5/src/commands/config.ts)_

## `internxt create-folder`

Expand Down Expand Up @@ -168,7 +200,7 @@ EXAMPLES
$ internxt create-folder
```

_See code: [src/commands/create-folder.ts](https://github.com/internxt/cli/blob/v1.5.4/src/commands/create-folder.ts)_
_See code: [src/commands/create-folder.ts](https://github.com/internxt/cli/blob/v1.5.5/src/commands/create-folder.ts)_

## `internxt delete-permanently-file`

Expand Down Expand Up @@ -198,7 +230,7 @@ EXAMPLES
$ internxt delete-permanently-file
```

_See code: [src/commands/delete-permanently-file.ts](https://github.com/internxt/cli/blob/v1.5.4/src/commands/delete-permanently-file.ts)_
_See code: [src/commands/delete-permanently-file.ts](https://github.com/internxt/cli/blob/v1.5.5/src/commands/delete-permanently-file.ts)_

## `internxt delete-permanently-folder`

Expand Down Expand Up @@ -228,7 +260,7 @@ EXAMPLES
$ internxt delete-permanently-folder
```

_See code: [src/commands/delete-permanently-folder.ts](https://github.com/internxt/cli/blob/v1.5.4/src/commands/delete-permanently-folder.ts)_
_See code: [src/commands/delete-permanently-folder.ts](https://github.com/internxt/cli/blob/v1.5.5/src/commands/delete-permanently-folder.ts)_

## `internxt delete permanently file`

Expand Down Expand Up @@ -317,7 +349,7 @@ EXAMPLES
$ internxt download-file
```

_See code: [src/commands/download-file.ts](https://github.com/internxt/cli/blob/v1.5.4/src/commands/download-file.ts)_
_See code: [src/commands/download-file.ts](https://github.com/internxt/cli/blob/v1.5.5/src/commands/download-file.ts)_

## `internxt download file`

Expand Down Expand Up @@ -376,7 +408,7 @@ EXAMPLES
$ internxt list
```

_See code: [src/commands/list.ts](https://github.com/internxt/cli/blob/v1.5.4/src/commands/list.ts)_
_See code: [src/commands/list.ts](https://github.com/internxt/cli/blob/v1.5.5/src/commands/list.ts)_

## `internxt login`

Expand Down Expand Up @@ -405,7 +437,7 @@ EXAMPLES
$ internxt login
```

_See code: [src/commands/login.ts](https://github.com/internxt/cli/blob/v1.5.4/src/commands/login.ts)_
_See code: [src/commands/login.ts](https://github.com/internxt/cli/blob/v1.5.5/src/commands/login.ts)_

## `internxt logout`

Expand All @@ -425,7 +457,7 @@ EXAMPLES
$ internxt logout
```

_See code: [src/commands/logout.ts](https://github.com/internxt/cli/blob/v1.5.4/src/commands/logout.ts)_
_See code: [src/commands/logout.ts](https://github.com/internxt/cli/blob/v1.5.5/src/commands/logout.ts)_

## `internxt logs`

Expand All @@ -445,7 +477,7 @@ EXAMPLES
$ internxt logs
```

_See code: [src/commands/logs.ts](https://github.com/internxt/cli/blob/v1.5.4/src/commands/logs.ts)_
_See code: [src/commands/logs.ts](https://github.com/internxt/cli/blob/v1.5.5/src/commands/logs.ts)_

## `internxt move-file`

Expand Down Expand Up @@ -477,7 +509,7 @@ EXAMPLES
$ internxt move-file
```

_See code: [src/commands/move-file.ts](https://github.com/internxt/cli/blob/v1.5.4/src/commands/move-file.ts)_
_See code: [src/commands/move-file.ts](https://github.com/internxt/cli/blob/v1.5.5/src/commands/move-file.ts)_

## `internxt move-folder`

Expand Down Expand Up @@ -509,7 +541,7 @@ EXAMPLES
$ internxt move-folder
```

_See code: [src/commands/move-folder.ts](https://github.com/internxt/cli/blob/v1.5.4/src/commands/move-folder.ts)_
_See code: [src/commands/move-folder.ts](https://github.com/internxt/cli/blob/v1.5.5/src/commands/move-folder.ts)_

## `internxt move file`

Expand Down Expand Up @@ -600,7 +632,7 @@ EXAMPLES
$ internxt rename-file
```

_See code: [src/commands/rename-file.ts](https://github.com/internxt/cli/blob/v1.5.4/src/commands/rename-file.ts)_
_See code: [src/commands/rename-file.ts](https://github.com/internxt/cli/blob/v1.5.5/src/commands/rename-file.ts)_

## `internxt rename-folder`

Expand Down Expand Up @@ -631,7 +663,7 @@ EXAMPLES
$ internxt rename-folder
```

_See code: [src/commands/rename-folder.ts](https://github.com/internxt/cli/blob/v1.5.4/src/commands/rename-folder.ts)_
_See code: [src/commands/rename-folder.ts](https://github.com/internxt/cli/blob/v1.5.5/src/commands/rename-folder.ts)_

## `internxt rename file`

Expand Down Expand Up @@ -719,7 +751,7 @@ EXAMPLES
$ internxt trash-clear
```

_See code: [src/commands/trash-clear.ts](https://github.com/internxt/cli/blob/v1.5.4/src/commands/trash-clear.ts)_
_See code: [src/commands/trash-clear.ts](https://github.com/internxt/cli/blob/v1.5.5/src/commands/trash-clear.ts)_

## `internxt trash-file`

Expand Down Expand Up @@ -749,7 +781,7 @@ EXAMPLES
$ internxt trash-file
```

_See code: [src/commands/trash-file.ts](https://github.com/internxt/cli/blob/v1.5.4/src/commands/trash-file.ts)_
_See code: [src/commands/trash-file.ts](https://github.com/internxt/cli/blob/v1.5.5/src/commands/trash-file.ts)_

## `internxt trash-folder`

Expand Down Expand Up @@ -779,7 +811,7 @@ EXAMPLES
$ internxt trash-folder
```

_See code: [src/commands/trash-folder.ts](https://github.com/internxt/cli/blob/v1.5.4/src/commands/trash-folder.ts)_
_See code: [src/commands/trash-folder.ts](https://github.com/internxt/cli/blob/v1.5.5/src/commands/trash-folder.ts)_

## `internxt trash-list`

Expand All @@ -805,7 +837,7 @@ EXAMPLES
$ internxt trash-list
```

_See code: [src/commands/trash-list.ts](https://github.com/internxt/cli/blob/v1.5.4/src/commands/trash-list.ts)_
_See code: [src/commands/trash-list.ts](https://github.com/internxt/cli/blob/v1.5.5/src/commands/trash-list.ts)_

## `internxt trash-restore-file`

Expand Down Expand Up @@ -836,7 +868,7 @@ EXAMPLES
$ internxt trash-restore-file
```

_See code: [src/commands/trash-restore-file.ts](https://github.com/internxt/cli/blob/v1.5.4/src/commands/trash-restore-file.ts)_
_See code: [src/commands/trash-restore-file.ts](https://github.com/internxt/cli/blob/v1.5.5/src/commands/trash-restore-file.ts)_

## `internxt trash-restore-folder`

Expand Down Expand Up @@ -867,7 +899,7 @@ EXAMPLES
$ internxt trash-restore-folder
```

_See code: [src/commands/trash-restore-folder.ts](https://github.com/internxt/cli/blob/v1.5.4/src/commands/trash-restore-folder.ts)_
_See code: [src/commands/trash-restore-folder.ts](https://github.com/internxt/cli/blob/v1.5.5/src/commands/trash-restore-folder.ts)_

## `internxt trash clear`

Expand Down Expand Up @@ -1064,7 +1096,7 @@ EXAMPLES
$ internxt upload-file
```

_See code: [src/commands/upload-file.ts](https://github.com/internxt/cli/blob/v1.5.4/src/commands/upload-file.ts)_
_See code: [src/commands/upload-file.ts](https://github.com/internxt/cli/blob/v1.5.5/src/commands/upload-file.ts)_

## `internxt upload file`

Expand Down Expand Up @@ -1119,7 +1151,7 @@ EXAMPLES
$ internxt webdav status
```

_See code: [src/commands/webdav.ts](https://github.com/internxt/cli/blob/v1.5.4/src/commands/webdav.ts)_
_See code: [src/commands/webdav.ts](https://github.com/internxt/cli/blob/v1.5.5/src/commands/webdav.ts)_

## `internxt webdav-config`

Expand All @@ -1145,7 +1177,7 @@ EXAMPLES
$ internxt webdav-config
```

_See code: [src/commands/webdav-config.ts](https://github.com/internxt/cli/blob/v1.5.4/src/commands/webdav-config.ts)_
_See code: [src/commands/webdav-config.ts](https://github.com/internxt/cli/blob/v1.5.5/src/commands/webdav-config.ts)_

## `internxt whoami`

Expand All @@ -1165,7 +1197,7 @@ EXAMPLES
$ internxt whoami
```

_See code: [src/commands/whoami.ts](https://github.com/internxt/cli/blob/v1.5.4/src/commands/whoami.ts)_
_See code: [src/commands/whoami.ts](https://github.com/internxt/cli/blob/v1.5.5/src/commands/whoami.ts)_
<!-- commandsstop -->

# Current Limitations
Expand Down
48 changes: 22 additions & 26 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"author": "Internxt <hello@internxt.com>",
"version": "1.5.4",
"version": "1.5.5",
"description": "Internxt CLI to manage your encrypted storage",
"scripts": {
"build": "yarn clean && tsc",
Expand Down Expand Up @@ -36,56 +36,50 @@
"/oclif.manifest.json"
],
"dependencies": {
"@inquirer/prompts": "7.6.0",
"@internxt/inxt-js": "2.2.2",
"@inquirer/prompts": "7.8.4",
"@internxt/inxt-js": "2.2.7",
"@internxt/lib": "1.3.1",
"@internxt/sdk": "1.10.5",
"@oclif/core": "4.4.1",
"@types/validator": "13.15.2",
"async": "3.2.6",
"axios": "1.10.0",
"@internxt/sdk": "1.11.1",
"@oclif/core": "4.5.2",
"@oclif/plugin-autocomplete": "3.2.34",
"axios": "1.11.0",
"bip39": "3.1.0",
"body-parser": "2.2.0",
"cli-progress": "3.12.0",
"dayjs": "1.11.13",
"dotenv": "17.0.1",
"dayjs": "1.11.18",
"dotenv": "17.2.2",
"express": "5.1.0",
"express-async-handler": "1.2.0",
"express-basic-auth": "1.2.1",
"fast-xml-parser": "5.2.5",
"mime-types": "3.0.1",
"openpgp": "5.11.3",
"pm2": "6.0.8",
"openpgp": "6.2.2",
"pm2": "6.0.10",
"range-parser": "1.2.1",
"reflect-metadata": "0.2.2",
"selfsigned": "2.4.1",
"sharp": "0.34.2",
"selfsigned": "3.0.1",
"sharp": "0.34.3",
"tty-table": "4.2.3",
"winston": "3.17.0"
},
"devDependencies": {
"@internxt/eslint-config-internxt": "2.0.0",
"@internxt/eslint-config-internxt": "2.0.1",
"@internxt/prettier-config": "internxt/prettier-config#v1.0.2",
"@oclif/test": "4.1.13",
"@openpgp/web-stream-tools": "0.0.11-patch-1",
"@types/async": "3.2.24",
"@openpgp/web-stream-tools": "0.1.3",
"@types/cli-progress": "3.11.6",
"@types/express": "5.0.3",
"@types/mime-types": "3.0.1",
"@types/node": "22.16.0",
"@types/range-parser": "1.2.7",
"@vitest/coverage-istanbul": "3.2.4",
"@vitest/spy": "3.2.4",
"eslint": "9.30.1",
"eslint": "9.34.0",
"husky": "9.1.7",
"lint-staged": "16.1.2",
"nock": "14.0.5",
"lint-staged": "16.1.6",
"nodemon": "3.1.10",
"oclif": "4.20.1",
"oclif": "4.22.16",
"prettier": "3.6.2",
"rimraf": "6.0.1",
"ts-node": "10.9.2",
"typescript": "5.8.3",
"typescript": "5.9.2",
"vitest": "3.2.4",
"vitest-mock-express": "2.2.0"
},
Expand All @@ -99,7 +93,9 @@
"bin": "internxt",
"dirname": "internxt-cli",
"commands": "./dist/commands",
"plugins": [],
"plugins": [
"@oclif/plugin-autocomplete"
],
"topicSeparator": " ",
"topics": {},
"hooks": {
Expand Down
3 changes: 2 additions & 1 deletion src/commands/download-file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export default class DownloadFile extends Command {

progressBar?.start(100, 0);
const [executeDownload, abortable] = await networkFacade.downloadToStream(
user.bucket,
driveFile.bucket,
user.mnemonic,
driveFile.fileId,
driveFile.size,
Expand Down Expand Up @@ -212,6 +212,7 @@ export default class DownloadFile extends Command {
bridgePass: user.userId,
bridgeUrl: ConfigService.instance.get('NETWORK_URL'),
encryptionKey: user.mnemonic,
appDetails: SdkManager.getAppDetails(),
});
const networkFacade = new NetworkFacade(
networkModule,
Expand Down
1 change: 1 addition & 0 deletions src/commands/upload-file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ export default class UploadFile extends Command {
bridgePass: user.userId,
bridgeUrl: ConfigService.instance.get('NETWORK_URL'),
encryptionKey: user.mnemonic,
appDetails: SdkManager.getAppDetails(),
});
const networkFacade = new NetworkFacade(
networkModule,
Expand Down
Loading
Loading