bruno icon indicating copy to clipboard operation
bruno copied to clipboard

Feature request: support for importing Thunder Client collections

Open M-Gonzalo opened this issue 1 year ago • 6 comments

Mostly just what the title says. TC is going the same path as Insomnia sadly, and I'd like to use Bruno as an alternative.

Feel free to point me in the right direction, I could probably implement it myself with a little nudge here and there.

M-Gonzalo avatar Oct 10 '23 11:10 M-Gonzalo

i can work on this. please assign it to me

sanjai0py avatar Dec 11 '23 06:12 sanjai0py

@sanjai0py There is no process at the moment for assigning issues. You can work in this issue, share your progress here and then raise a PR.

helloanoop avatar Dec 11 '23 06:12 helloanoop

Couldn't find the full schema of ThunderClient. I tried using the VS Code extension and exported a collection, from which I obtained this structure:

{
    "client": "Thunder Client",
    "collectionName": "test",
    "dateExported": "2023-12-12T08:01:33.110Z",
    "version": "1.1",
    "folders": [],
    "requests": [
        {
            "_id": "4b1c0538-8b86-4035-925a-b80135bf08c9",
            "colId": "66dff488-c633-46dd-a3d9-6ef8ef7ecc89",
            "containerId": "",
            "name": "https://www.thunderclient.com/welcome",
            "url": "https://www.thunderclient.com/welcome",
            "method": "GET",
            "sortNum": 10000,
            "created": "2023-12-11T10:19:20.495Z",
            "modified": "2023-12-11T10:19:20.495Z",
            "headers": [],
            "params": [],
            "tests": []
        }
    ]
}

I am not sure how reliable this is.

sanjai0py avatar Dec 12 '23 08:12 sanjai0py

Is this really necessary when thunder client can be converted to Postman format? (ref: https://github.com/rangav/thunder-client-support#how-to-convert-to-postman-format )

rondDev avatar Dec 24 '23 11:12 rondDev

then i think one can convert the collections to postman format and then import it into bruno.

sanjai0py avatar Jan 24 '24 11:01 sanjai0py

Is there still any value in this? I'm looking for an issue to contribute on as a first one, and I was a big Thunderclient user before I found Bruno.

Phyziik avatar Mar 31 '24 02:03 Phyziik