usebruno / bruno

Opensource IDE For Exploring and Testing Api's (lightweight alternative to postman/insomnia)
https://www.usebruno.com/
MIT License
22.34k stars 1.04k forks source link

Feature request: support for importing Thunder Client collections #511

Open M-Gonzalo opened 9 months ago

M-Gonzalo commented 9 months ago

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.

sanjai0py commented 7 months ago

i can work on this. please assign it to me

helloanoop commented 7 months ago

@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.

sanjai0py commented 7 months ago

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.

rondDev commented 7 months ago

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 )

sanjai0py commented 6 months ago

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

Phyziik commented 3 months ago

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.

sanjai0py commented 3 weeks ago

Hey @Phyziik, sure go ahead!