3.0 KiB
3.0 KiB
type, created, updated
type | created | updated |
---|---|---|
topic | 2024-01-14T02:18:21.719Z | 2024-01-16T22:39:43.760Z |
code-marketplace
# https://github.com/coder/code-marketplace
mkdir D:\go-lang\code-marketplace\extensions
nssm install code-marketplace
Application Tab:
Path: D:\go-lang\code-marketplace\code-marketplace-windows-amd64.exe
Startup directory: D:\go-lang\code-marketplace
Arguments: server --extensions-dir ./extensions
D:
cd "D:\go-lang\code-marketplace"
code-marketplace-windows-amd64.exe --extensions-dir ./extensions add "C:\Users\phares\Downloads\dheovani.svg-viewer-1.0.2.vsix"
code-marketplace-windows-amd64.exe --extensions-dir ./extensions add "L:\Git\YO-VSCode\type-script-helper\type-script-helper-1.5.1.vsix"
L:
cd "L:\Git\code-marketplace"
go run ./cmd/marketplace/main.go server --extensions-dir ./extensions
curl 'https://localhost/api/extensionquery' -H 'Accept: application/json;api-version=3.0-preview.1' --compressed -H 'Content-Type: application/json' --data-raw '{"filters":[{"criteria":[{"filterType":8,"value":"Microsoft.VisualStudio.Code"}],"pageSize":1}],"flags":439}' | jq .results[0].extensions[0].versions[0].assetUri
"https://localhost/assets/vscodevim/vim/1.24.1"
"https://localhost/assets/IFX/type-script-helper/1.5.1"
"https://localhost/files/IFX/type-script-helper/1.5.1"
"extensionsGallery": {
"serviceUrl": "https://code-marketplace/api",
"itemUrl": "https://code-marketplace/item",
"resourceUrlTemplate": "https://code-marketplace/files/{publisher}/{name}/{version}/{path}"
},
"linkProtectionTrustedDomains": [
"https://code-marketplace"
],
[
{
"_id": "0147389a-4d28-47df-a84d-937d1f15a411",
"colId": "history",
"containerId": "",
"name": "https://code-marketplace/api/extensionquery",
"url": "https://code-marketplace/api/extensionquery",
"method": "POST",
"sortNum": 0,
"created": "2023-09-30T19:41:35.995Z",
"modified": "2023-09-30T19:52:38.850Z",
"headers": [
{
"name": "Accept",
"value": "application/json;api-version=3.0-preview.1"
},
{
"name": "Content-Type",
"value": "application/json"
},
{
"name": "User-Agent",
"value": "Thunder Client (https://www.thunderclient.com)",
"isDisabled": true
}
],
"params": [],
"body": {
"type": "json",
"raw": "{\"filters\":[{\"criteria\":[{\"filterType\":8,\"value\":\"Microsoft.VisualStudio.Code\"}],\"pageSize\":1}],\"flags\":439}",
"form": []
},
"tests": []
}
]