# Adding custom code snippet generator to Postman Desktop/GUI App?

**URL:** <https://community.postman.com/t/adding-custom-code-snippet-generator-to-postman-desktop-gui-app/68997>\
**Category:** Help Hub\
**Tags:** code-gen\
**Created:** [September 27, 2024, 8:18pm UTC](https://community.postman.com/t/adding-custom-code-snippet-generator-to-postman-desktop-gui-app/68997 "2024-09-27T20:18:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![namm0](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/namm0/32/30261_2.png) [@namm0](https://community.postman.com/u/namm0)\
**Post date:** [September 27, 2024, 8:18pm UTC](https://community.postman.com/t/adding-custom-code-snippet-generator-to-postman-desktop-gui-app/68997/1 "2024-09-27T20:18:15Z")

</div>

I wrote a “snippet creator” / `postman-code-generator` for Mikrotik’s RouterOS’s `/tool/fetch` command, and followed the directions to file a pull request for it. See [Initial push of codegen for Mikrotik RouterOS - `routeros-fetch` by mobileskyfi · Pull Request #770 · postmanlabs/postman-code-generators · GitHub](https://github.com/postmanlabs/postman-code-generators/pull/770)

I can run it locally using Newman/CLI/JS. And happy to share my code… But “my need” is use my customized postman-code-generator NPM in the Postman App’s GUI - but I cannot figure out how to do that (since app is all bundled into Electron/etc. on my Mac).

Is there some way to get the Postman App to load the code generator’s NPM library from alternative source?

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [October 27, 2024, 8:19pm UTC](https://community.postman.com/t/adding-custom-code-snippet-generator-to-postman-desktop-gui-app/68997/2 "2024-10-27T20:19:05Z")

</div>

Closed on October 27, 2024, 8:19pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
