Giter Club home page Giter Club logo

insomnium's Introduction

Summary

ArchGPT is a source-code-management framework to enable a new meta-programming paradigm specially designed for Language-Model-Driven-Development (LMDD) i.e. the utilization of Large Language Models for automated software development.

We call this meta-programming paradigm The Yoneda paradigm, drawing inspiration from the Yoneda lemma in Category Theory, which states that:

"Everything in a category is completely determined by its relationships to everything else."

The Yoneda Paradigm vs Existing Programming Paradigms

We say that a programmer is writing code under a programming paradigm of X when X can be conceptually viewed as the "first-class citizens" in the code they write. For example, in Object-Oriented Programming (OOP), the first-class citizens are Objects (i.e. the realization of Classes or Prototypes). In Functional Programming (FP), the first-class citizens are functions (with the possiblity of Side Effects unless Purity is emphasized, e.g. in Haskell, in which case the first-class citizens are Pure Functions and we will end up with things like Monads).

The Yoneda Paradigm, on the other hand, is a meta-programming paradigm in which the "abstract relationships" between "abstractions" in code are the first-class citizens.

These "abstract relationships" are the equivalent of Arrows in Category Theory, and the "abstractions" can be anything, including but not limited to:

  • Files
  • Features
  • Groups of Function calls
  • Type Defintions
  • the notion of "User"
  • User stories
  • etc.

They can basically be everything within the domain of human language.

For the Yoneda Paradigm to work, we need to first define a list of "abstractions" most interesting to us, and then generate/customize a list of "abstract relationships" between them. And then ArchGPT will figure out the realization (i.e. within the context of an existing codebase) of these "abstractions" and "abstract relationships", and automatically handle the prompt orchestration to feed into LLMs for code generation/editing.

Right now ArchGPT is still work in progress && under active development .. (i.e. the implementation is not completed yet)

Miletone 1 (Feb 2024)

After configuration, ArchGPT should be able to allow users to give natural-language commands to generate/edit code based on the existing codebase.

e.g. using an image to edit the ReactJS code for the UI of a to-do list app.

archgpt "use this image for the UI" --image "./img1.png"

insomnium's People

Contributors

ankur0904 avatar archywillhe avatar eltociear avatar foxt avatar fschumacher-tef avatar jffhll avatar jkwok0714 avatar necr0z avatar perryvw avatar skyrina avatar spogatetz avatar techchrism avatar udivankin avatar usama-dev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

insomnium's Issues

Opening Changelog leads to 404 page

Expected Behavior

Changelog link should open to the Insomnium github release page.

Actual Behavior

Opening the changelog navigates to a 404 error: https://github.com/ArchGPT/insomnium/releases/tag/core

Reproduction Steps

Open the changelog in the menu bar in Insomnium 0.2.2

Is there an existing issue for this?

Additional Information

It seems like you are trying to link to a release page specifically for releases that have the "core" tag, but github is expecting there to be a version number included along with that core tag. I am not sure if you can link to a general release tag like that, but I tried doing some research and couldn't find any conclusive evidence saying it is possible.

I did find this page though, which says you can use the URL "https://github.com/ArchGPT/insomnium/releases/latest" to always link to the latest release.

Insomnium Version

0.2.2

What operating system are you using?

Other Linux

Operating System Version

Operating System: Arch Linux, KDE Plasma Version: 5.27.9, KDE Frameworks Version: 5.111.0, Qt Version: 5.15.11, Kernel Version: 6.1.59-1-lts (64-bit), Graphics Platform: X11

Installation method

AUR

Last Known Working Insomnium version

No response

Error importing Postman data: No importers found for file

Expected Behavior

Expected to import Postman data - JSON file exported from Postman v10.19.7

Actual Behavior

Capture

Reproduction Steps

Click My Collection > Import

Drag the Postman JSON export into the drag and drop section

Click Scan

Is there an existing issue for this?

Additional Information

No response

Insomnium Version

0.2.3-a

What operating system are you using?

Windows

Operating System Version

Windows 10

Installation method

downloaded here

Last Known Working Insomnium version

This is the first version I've used

User-Agent string is still referencing "insomnia" and out of sync with current version number

Expected Behavior

The default User-Agent string should follow the pattern of insomnium/current version.

Actual Behavior

The default User-Agent string on an HTTP request is referring to "insomnia" rather "insomnium", and the version that appears is still "0.2.0".

Reproduction Steps

  1. Create a new HTTP request.
  2. Click the headers tab.

Screenshot_20231025_200152

Is there an existing issue for this?

Additional Information

I found this comment from insomnia's issue tracker saying that the intention for the default User-Agent string in a HTTP request is to follow the pattern of program/current version.

For this fork, the program name should be updated to Insomnium to reflect that it is distinct from Insomnia.

It also seems like whatever logic Insomnia had to keep the version number that appears in the User-Agent string in alignment with the current application version number has been out of sync in Insomnium since v0.2.0.

Great work maintaining this fork by the way <3

Insomnium Version

0.2.2

What operating system are you using?

Other Linux

Operating System Version

Operating System: Arch Linux, KDE Plasma Version: 5.27.9, KDE Frameworks Version: 5.111.0, Qt Version: 5.15.11, Kernel Version: 6.1.59-1-lts (64-bit), Graphics Platform: X11

Installation method

AUR

Last Known Working Insomnium version

No response

[macOS] CFBundleIdentifier is still "com.insomnia.app"

Expected Behavior

as this is not upstream insomnia the CFBundleIdentifier should not be the same as the identifier of the original project

Actual Behavior

the identifier is the same as upstream, making it indistinguishable to the operating system and 3rd party apps.

    <key>CFBundleIdentifier</key>
    <string>com.insomnia.app</string>

how about org.archgpt.insomnia?

Reproduction Steps

No response

Is there an existing issue for this?

Additional Information

the CFBundleIdentifier is in the Contents/Info.plistfile

Insomnium Version

any

What operating system are you using?

macOS

Operating System Version

macOS

Installation method

any

Last Known Working Insomnium version

No response

Help > Show Software Licenses leading to insomnia repo

Expected Behavior

When clicking on 'Help > Show Software Licenses' the software leads to the licenses in this repo.

Actual Behavior

When clicking on 'Help > Show Software Licenses' the software leads to the licenses in the insomnia repo.

Reproduction Steps

  1. Click 'Help'
  2. Select 'Show Software Licenses'

Is there an existing issue for this?

Additional Information

No response

Insomnium Version

0.2.3-a

What operating system are you using?

Windows

Operating System Version

Windows 11

Installation method

Portable edition

Last Known Working Insomnium version

No response

git sync issue

Expected Behavior

When I use the (re-)new git sync menu (from 0.2.3-a), with Git environnement well done, when I use "git pull" after a "git fetch", I must see requests collection.

Actual Behavior

After "git fetch" action, I can see commit history, all branches, but there is no request
Screen Shot 11-03-23 at 11 23 AM

Reproduction Steps

  1. Define git synch
  2. create 2 simple requests
  3. git comit
  4. git push
  5. confirm this commit is present from gitlab interface

From an other laptop
6. define git synch
7. git pull

Is there an existing issue for this?

Additional Information

No response

Insomnium Version

0.2.3-a

What operating system are you using?

Windows

Operating System Version

Windows 10 Entreprise 22H2

Installation method

download .exe

Last Known Working Insomnium version

0.2.1

No icon on linux in taskbar

Expected Behavior

Some icon would be nice to have.

Actual Behavior

image

Reproduction Steps

  1. Install 0.2.1-b

Is there an existing issue for this?

Additional Information

No response

Insomnium Version

0.2.1-b

What operating system are you using?

Ubuntu

Operating System Version

KDE Neon 5.2.7

Installation method

deb

Last Known Working Insomnium version

0.1.3

Opening the changelog causes JavaScript error

Expected Behavior

When opening the changelog from the menu bar, I would expect to see the changelog for insomnium (https://github.com/ArchGPT/insomnium/releases)

Actual Behavior

A javascript error is thrown:

Screenshot_20231013_201345

Reproduction Steps

  1. From the menu bar, click "Application" > "Changelog"

Is there an existing issue for this?

Additional Information

No response

Insomnium Version

0.2.0

What operating system are you using?

Other (specify below)

Operating System Version

Operating System: Arch Linux, KDE Plasma Version: 5.27.8, KDE Frameworks Version: 5.110.0, Qt Version: 5.15.11, Kernel Version: 6.1.57-1-lts (64-bit), Graphics Platform: X11

Installation method

AUR

Last Known Working Insomnium version

No response

Restarting the app removes saved gRPC request bodies and breaks proto file link

Expected Behavior

After restarting the app I expect the gRPC requests I created before the restart to still be valid and working.

Specifically:

  • The request gRPC Method should be the same
  • The request's request body should be the same
  • The link to the proto file related to the request should still be valid

Actual Behavior

Requests have their gRPC Method reset to unselected. The request body is no longer visible because there is no gRPC method selected. It is not possible to re-select the method because it does not know what proto file the request relates to.

Selecting the same proto file does not work, presumably because the app thinks the file is the same as it was before. It does still highlight the correct file.

Only after selecting a different proto file, then selecting the desired file again, the method dropdown becomes active again. Selecting the same method as before then causes the request body to reappear as it was before, so the data is in the save file somewhere.

Reproduction Steps

  • Create 2 gRPC requests using the same method in the same proto file
  • Set the method in both requests to the same gRPC method from the proto
  • Fill in some (different) request body for both requests
  • Close the application
  • Reopen the application

Is there an existing issue for this?

Additional Information

This is quite annoying and a blocker for using Insomnium for us.

It seems like the information is somehow there in the save file because the request body does reappear after selecting a method.
Also the correct proto file is still highlighted so presumably the proto link is also still there.

My guess would be this has something to do with the proto parsing and resolution of its imports (which are in a parent folder and require a specific proto base directory). This import resolution does seem to work while working in the same session, so not entirely sure this is the actual issue.

Insomnium Version

0.2.1-b

What operating system are you using?

Windows

Operating System Version

Win10

Installation method

downloaded exe from github releases

Last Known Working Insomnium version

No response

Missing Dependancy

Expected Behavior

Application to load

Actual Behavior

Application hangs

Reproduction Steps

  1. Install deb package (0.1.3, 0.2.2, 0.2.3-a)
  2. After installation tried to start application no error or warning.
  3. Tried to start using the cli
  4. Received this error message:
  5. A JavaScript error occurred in the main process Uncaught Exception: Error: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.32' not found (required by /tmp/.org.chromium.Chromium.BX2WUO)
    at process.func [as dlopen] (node:electron/js2c/asar_bundle:2:1869)
    at Module._extensions..node (node:internal/modules/cjs/loader:1354:18)
    at Object.func [as .node] (node:electron/js2c/asar_bundle:2:2096)
    at Module.load (node:internal/modules/cjs/loader:1124:32)
    at Module._load (node:internal/modules/cjs/loader:965:12)
    at f._load (node:electron/js2c/asar_bundle:2:13377)
    at Module.require (node:internal/modules/cjs/loader:1148:19)
    at require (node:internal/modules/cjs/helpers:110:18)
    at Object. (/opt/Insomnium/resources/app.asar/node_modules/@getinsomnia/node-libcurl/dist/Easy.js:5:18)
    at Module._compile (node:internal/modules/cjs/loader:1269:14)
    MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

`

Is there an existing issue for this?

Additional Information

The application doesn't close or crash it just sits in memory so it appears to be waiting for some input.

Insomnium Version

0.1.3, 0.2.2, 0.2.3-a

What operating system are you using?

Other Linux

Operating System Version

Debian 11

Installation method

dpkg

Last Known Working Insomnium version

n/a

"Here are some additional things that may need help" section refers to the documentation and support page of Insomnia Rest (KONG)

Expected Behavior

Either no visible
"Here are some additional things that may need help"
or using Insomnium hosted resources.

The main Issue here is the "Contact Support" due to this being a product, which is not maintained by kong.
The Documentation may still apply to a great extent.

Screenshot 2023-11-19 171519

Actual Behavior

Insomnium linking to KONG resources

Reproduction Steps

  1. Send a request resulting in a 500 error
  2. Below preview the buttons Documentation and Contact Support are visible and refer to kong

Is there an existing issue for this?

Additional Information

No response

Insomnium Version

0.2.3-a

What operating system are you using?

Windows

Operating System Version

10

Installation method

exe (not portable)

Last Known Working Insomnium version

No response

Filter gets lost when selecting request

Expected Behavior

When selecting a request the list or requests should stay filtered

Actual Behavior

When selecting a request the list of requests is not filtered anymore and all requests in a collection show up

Reproduction Steps

  1. Enter a filter in request collection
  2. Select a request

Is there an existing issue for this?

Additional Information

Thanks for the effort of this fork!!!

Insomnium Version

0.1.3-alpha.0

What operating system are you using?

macOS

Operating System Version

Ventura 13.6

Installation method

downloaded from releases

Last Known Working Insomnium version

No response

Right click no options, only "Select All"

Expected Behavior

Right-clicking on a folder or a request should open a menu of options, example:

image

Actual Behavior

Right click no options, only "Select All"

image

Reproduction Steps

  1. Go to collection
  2. Click in "New Folder" or "HTTP Request"
  3. Right click on folder or request created
  4. See only "Select All"

Is there an existing issue for this?

Additional Information

No response

Insomnium Version

0.2.3-a (portable)

What operating system are you using?

Windows

Operating System Version

Windows 11 Pro version 22H2

Installation method

Download from github

Last Known Working Insomnium version

No response

Had to submit twice to effectively execute the request

Expected Behavior

When I click on the "send" button on a request with a prompt funtion in the URI, a popup appear in order to provide the information missing.

After setting the desired value, a single click on the button "submit" should send the request.

Actual Behavior

When I click on the "submit" button, instead of sending the request, the popup disappear, et reappear. I have to click again, a second time, on the button "submit", and now the request is sent.

Reproduction Steps

  1. select a request with a prompt functionin the uri
  2. click on send button
  3. provide the desired value and click on submit button

Is there an existing issue for this?

Additional Information

No response

Insomnium Version

0.2.1-b

What operating system are you using?

Windows

Operating System Version

Windows 10 Entreprise 22H2

Installation method

portable

Last Known Working Insomnium version

No response

No publisher information in Windows

Expected Behavior

Application should install with no errors or warnings

Actual Behavior

Windows throws up a blue screen error warning of potentially dangerous program.

Reproduction Steps

Run the compiled Windows executable or the compact version.

Is there an existing issue for this?

Additional Information

No response

Insomnium Version

Current

What operating system are you using?

Windows

Operating System Version

Windows 10, 11

Installation method

Download from insomnium page, double click to run

Last Known Working Insomnium version

No response

Revert merge of my branch "thenoseman/fix-double-prompt"

Expected Behavior

No double prompting when using the {{prompt}} interpolation.

Actual Behavior

I created that branch to fix the double prompting issue present.

Sadly this change also causes the entered prompt value to no be passed / interpolated into the request 😢

I'm sorry that I didn't notice that and I think reverting the merge commit (SHA 8e562eb) would be the right way to go.

Again sorry for making a mess here but there is no coverage in the tests for that...

Reproduction Steps

No response

Is there an existing issue for this?

Additional Information

No response

Insomnium Version

0.2.3-a

What operating system are you using?

macOS

Operating System Version

macOs Ventura

Installation method

build by hand

Last Known Working Insomnium version

keyboard shortcuts not working

Expected Behavior

Keyboard shortcuts should be working fine.

Actual Behavior

Most of the Keyboard shortcuts are not working on Intel based Mac.

  • cmd+P - Not working ❌
  • cmd+L - Focus on url bar but editing url does not work. You need to manually click on url bar ❌
  • cmd+E - working ✅
  • cmd+N - working ✅

This Bug exists in Insomnia also.

Reproduction Steps

Macbook Pro Intel
MacOS Sonoma 14.2 Beta (23C5055b)

Is there an existing issue for this?

Additional Information

No response

Insomnium Version

v0.2.3

What operating system are you using?

macOS

Operating System Version

Sonoma 14.2 Beta (23C5055b)

Installation method

Downloaded from Github Releases

Last Known Working Insomnium version

No response

deb package installation failed

Expected Behavior

Update from 0.2.1-b to 0.2.3-a without an error

Actual Behavior

Update failed:

Preparing to unpack Insomnium.Core-0.2.3-a.deb ...
Unpacking insomnium (0.2.3-a) ...
dpkg: error processing archive Insomnium.Core-0.2.3-a.deb (--install):
 trying to overwrite '/opt/Insomnium/libGLESv2.so', which is also in package insomnia 0.2.1-b
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...
Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Errors were encountered while processing:
 Insomnium.Core-0.2.3-a.deb

Reproduction Steps

  1. Install an older version like 0.2.1-b
  2. Download the latest release
  3. Update to 0.2.3-a using dpkg

Is there an existing issue for this?

Additional Information

Command used:

sudo dpkg -i Insomnium.Core-0.2.3-a.deb

Insomnium Version

0.2.3-a

What operating system are you using?

Ubuntu

Operating System Version

Ubuntu 22.04.3 LTS

Installation method

downloaded from the release section and installed via dpkg

Last Known Working Insomnium version

No response

Windows: package name matches Insomnia

Expected Behavior

Insomnium should be either updated as a separate app or not touched at all by winget

Actual Behavior

Insomnium is "updated" to Insomnia 8.2.0 by winget

Reproduction Steps

  1. install Insomnium
  2. run winget upgrade
  3. winget shows Insomium with the id insomnia.insomnia and "latest available" version 8.2.0
  4. run winget upgrade --all
  5. winget replaces Insomnium with Insomnia

Is there an existing issue for this?

Additional Information

Insomnium should have its own package name, but right now the package name matches that of Insomnia: insomnium.insomnium. I think this name is derived from the package name in ./packages/insomnia/package.json. More info on how the package name is determined can be found here: microsoft/winget-cli#3033

Insomnium Version

0.2.1-b

What operating system are you using?

Windows

Operating System Version

Windows 11 22H2

Installation method

GitHub releases

Last Known Working Insomnium version

No response

Importing an insomnia project doesn't import Base Environment's variables

Expected Behavior

Importing an insomnia project should import everything (requests, variables...)

Actual Behavior

Everything has been imported, including variables environments from folders and sub environments, but nothing in the Base Environment.

Reproduction Steps

  1. Create a project in Insomnia with a variable in the Base Environment
  2. Create a sub environment with other variables
  3. Export this project
  4. Open it in Insomnium
  5. See that the variable in the sub environment is there, but not the Base Environment's one

Is there an existing issue for this?

Additional Information

No response

Insomnium Version

0.2.1-b

What operating system are you using?

Windows

Operating System Version

Windows 10 Entreprise 22H2

Installation method

Tried on portable build

Last Known Working Insomnium version

No response

Undo in Address bar

Expected Behavior

When changing something in the request address, clicking send and after clicking back in the address bar -> Undo (Strg+Z) should undo the last change.

Actual Behavior

Clicking undo does not update changing in address bar.

Reproduction Steps

  1. Create Request
  2. make change in address bar
  3. click send
  4. click in address bar
  5. hit undo

Is there an existing issue for this?

Additional Information

No response

Insomnium Version

0.2.1-b

What operating system are you using?

Other Linux

Operating System Version

fedora 38

Installation method

dnf

Last Known Working Insomnium version

No response

working with sub-enviroment is super buggy on Mac

Expected Behavior

can click and select between main & sub enviroments easily and can use variables proerly

Actual Behavior

  1. clicking on sub-enviroment is none-responsive sometimes; hard to navigate properly. something's wrong with the React component

  2. variables can't be used properly; often show syntax errors

Reproduction Steps

  1. create a few sub enviroments
  2. try to navigate between different enviroments in the env tab
  3. try to include & use variables

Is there an existing issue for this?

Additional Information

No response

Insomnium Version

v0.2.1-b

What operating system are you using?

macOS

Operating System Version

13.3.1

Installation method

all

Last Known Working Insomnium version

No response

Dynamic values don't hold after export and import

Expected Behavior

When I export a collection with dynamic values that point to the response of a request, I expect the import to link that value to the new request in the new collection.

Actual Behavior

It doesn't update it to use the new request. If you export and import into the same Insomnium instance it will act like that connect was kept, but it will actually be pointing at the original request from the original collection, not the new collection. If this is a different system entirely ALL of the dynamic variables will be broken and need to be re-established.

Reproduction Steps

In the same Instance:

Create two requests in a new collection.
In the first request send a json call to "https://echo.free.beeceptor.com" and it will echo the http response back as json.
In the body of the second request use the attribute "parsedBody" from the response in the first request and send it. The response will be the same as the first.
Export the collection to a file.
Import that file back into Insomnium.
In the new collection, send a new json body in the first request that differs from the original request.
In the new collection, send the second request without altering it and you will get back the value from the original first request.

In a different Instance:

Use the same 4 steps from above up to and including exporting the collection to a file.
Copy the export to a new machine with Insomnium and import the file.
Send the first request.
In the second request the dynamic value will not work. It will be red and if you try to send it you'll get an insomnium popup with an error about resolving the value.

Is there an existing issue for this?

Additional Information

I have looked at issue #60 and #42 but they don't state this issue specifically. They are discussing environment variables, and import of the base, but not for inlined variables like I have mentioned.

Insomnium Version

v0.2.3-a

What operating system are you using?

Windows

Operating System Version

Windows 11 Pro 22621.2428

Installation method

Using .exe from github release.

Last Known Working Insomnium version

Unknown. This has never worked, even with Insomnia.

Application error when starting with OpenAPI Spec documents

Expected Behavior

OpenAPI Spec documents are loaded correctly, and the Application is usable.

Actual Behavior

The following error occurres, and the Application is unusable.

TypeError: t.spec.info.version.startsWith is not a function
    at children (file:///tmp/.mount_Insomn2Jv1B2/resources/app.asar/project-31d5e5ef.js:10:27884)
    at file:///tmp/.mount_Insomn2Jv1B2/resources/app.asar/index-62719d76.js:197:9275
    at Object.useMemo (file:///tmp/.mount_Insomn2Jv1B2/resources/app.asar/index-62719d76.js:38:25888)
    at w2.useMemo (file:///tmp/.mount_Insomn2Jv1B2/resources/app.asar/index-62719d76.js:9:6238)
    at Ns (file:///tmp/.mount_Insomn2Jv1B2/resources/app.asar/index-62719d76.js:197:9182)
    at GCe (file:///tmp/.mount_Insomn2Jv1B2/resources/app.asar/index-62719d76.js:197:9613)
    at ZCe (file:///tmp/.mount_Insomn2Jv1B2/resources/app.asar/index-62719d76.js:197:9989)
    at i7 (file:///tmp/.mount_Insomn2Jv1B2/resources/app.asar/index-62719d76.js:197:9737)
    at Swe (file:///tmp/.mount_Insomn2Jv1B2/resources/app.asar/index-62719d76.js:197:24092)
    at RC (file:///tmp/.mount_Insomn2Jv1B2/resources/app.asar/index-62719d76.js:38:19553)

Reproduction Steps

No response

Is there an existing issue for this?

Additional Information

This issue has already been fixed in Insomnia 8.0 with this commit: Kong/insomnia@368c34f

The simplest solution would be to port that commit to Insomnium.

Insomnium Version

0.2.1-b

What operating system are you using?

Other Linux

Operating System Version

Arch Linux (Kernel: 6.5.6)

Installation method

AppImage

Last Known Working Insomnium version

No response

electron 25.2.0 has remote code execution (CVE-2023-4863) Security vulnerability

Expected Behavior

Insomnium is vulnerable to a remote code execution security vulnerability, widely reported as CVE-2023-4863:
GHSA-j7hp-h8jx-5ppr

Insomnium vulnerable through a vulnerable Electron version 25.2.0:

"electron": "25.2.0",

Actual Behavior

Unable to report this to [email protected] - mailbox bounces with 'delivery failed'.

Reproduction Steps

No response

Is there an existing issue for this?

Additional Information

No response

Insomnium Version

All versions

What operating system are you using?

Other (specify below)

Operating System Version

All operating systems

Installation method

Haven't installed yet

Last Known Working Insomnium version

No response

Cannot install plugins

Expected Behavior

Can install plugins successfully

Actual Behavior

Plugins fail to load. When clicking "Install Plugin" from the marketplace installation fails and it shows this:
image

When installing a plugin from the Plugins tab in preferences it fails to install and shows this message:
image

This issue occurs for every plugin I've tried.

Reproduction Steps

  1. Open the Plugins tab in Insomnia preferences
  2. Type "insomnia-plugin-save-variables" in the text box, or the name of another plugin
  3. Click "Install Plugin"

Is there an existing issue for this?

Additional Information

No response

Insomnium Version

v0.2.3-a

What operating system are you using?

Windows

Operating System Version

Windows 10 Build 19045

Installation method

.exe

Last Known Working Insomnium version

N/A

Promt show up twice?

Expected Behavior

When having a prompt in a url it should only show up once

Actual Behavior

The prompt shows up two times

Reproduction Steps

  1. add a url with a prompt
  2. Click the send button

Is there an existing issue for this?

Additional Information

No response

Insomnium Version

0.2.3-a

What operating system are you using?

Windows

Operating System Version

Windows 11

Installation method

Download from github

Last Known Working Insomnium version

No response

SSL_read: error:0A000126:SSL routines::unexpected eof while reading, errno 0

Expected Behavior

Kong/insomnia#6554

Actual Behavior

Error when receiving response.

Reproduction Steps

No response

Is there an existing issue for this?

Additional Information

No response

Insomnium Version

0.2.2

What operating system are you using?

Windows

Operating System Version

Windows 11

Installation method

Download the Windows executable

Last Known Working Insomnium version

No response

Error when installing snap

Expected Behavior

snap should install withut any issues

Actual Behavior

We get an warning when installing .snap as it cannot find signature metadata

Reproduction Steps

  1. Use ubuntu
  2. try to install snap
  3. fail

Is there an existing issue for this?

Additional Information

Ideally we won't need to install with the dangerous flag

Insomnium Version

0.2.1b

What operating system are you using?

Ubuntu

Operating System Version

22 lts

Installation method

downloaded snap from releases

Last Known Working Insomnium version

No response

Handling of query parameter encoding is incorrect

Expected Behavior

Setting a query parameter search to %key% should match the result of encodeURIComponent

Actual Behavior

The result doesn't match encodeURIComponent

Reproduction Steps

No response

Is there an existing issue for this?

Additional Information

No response

Insomnium Version

0.2.3-a

What operating system are you using?

macOS

Operating System Version

Sonoma

Installation method

Release download

Last Known Working Insomnium version

No response

Default PKCE Code Challenge Method is Plain not SHA-256

Expected Behavior

Code Challenge Method in OAuth 2.0 is set to SHA-256 by default and it should be sent to the Authorization endpoint as such

Actual Behavior

Even though the Code Challenge Method in OAuth 2.0 is set to SHA-256 by default, I have to change the dropdown value to Plain and again to SHA-256 in order to use it.

Reproduction Steps

  1. Select OAuth 2.0 as Auth type
  2. Check 'USE PKCE'
  3. Leave default Code challenge which is SHA-256

Is there an existing issue for this?

Additional Information

No response

Insomnium Version

0.2.3-a

What operating system are you using?

Windows

Operating System Version

Windows 11

Installation method

exe

Last Known Working Insomnium version

No response

Workspace Not Found error when copying Insomnia files

Expected Behavior

Application starts with my settings from Insomnia

Actual Behavior

Application hopens with this window:

image

Error: Workspace not found at _t (file:///Applications/Insomnium.app/Contents/Resources/app.asar/index-e5e8515f.js:68:7551) at Module.Ot (file:///Applications/Insomnium.app/Contents/Resources/app.asar/workspace-c2145993.js:1:491) at async kl (file:///Applications/Insomnium.app/Contents/Resources/app.asar/index-e5e8515f.js:50:3691) at async Promise.all (index 1) at async Ie (file:///Applications/Insomnium.app/Contents/Resources/app.asar/index-e5e8515f.js:49:21936) at async He (file:///Applications/Insomnium.app/Contents/Resources/app.asar/index-e5e8515f.js:49:16864) at async le (file:///Applications/Insomnium.app/Contents/Resources/app.asar/index-e5e8515f.js:49:15041) at async s1 (file:///Applications/Insomnium.app/Contents/Resources/app.asar/index-e5e8515f.js:49:21835) at async He (file:///Applications/Insomnium.app/Contents/Resources/app.asar/index-e5e8515f.js:49:17112) at async le (file:///Applications/Insomnium.app/Contents/Resources/app.asar/index-e5e8515f.js:49:15041)

Reproduction Steps

  • Download Insomnium
  • Open Insomnium
  • Close Insomnium
  • Run the command from the migration guide: cp -r ~/Library/Application\ Support/Insomnia/*.db ~/Library/Application\ Support/Insomnium/

Is there an existing issue for this?

Additional Information

No response

Insomnium Version

0.2.1-b

What operating system are you using?

macOS

Operating System Version

macOS Sonoma 14.0

Installation method

Downloaded from GitHub repository

Last Known Working Insomnium version

0.19.X

Environment Overrides not saving

Expected Behavior

I expect that when I make a change to the Environment Overrides that the changes are saved when the close button is clicked.

Actual Behavior

A few things are happening that seem related.

  1. When I create an Environment Override that contains a tag it will not save when the Overrides window is closed. I set up a Header tag that references the Date response header in a call to google.com
    image
    and when I close the window and open it again it becomes
    image

  2. When I create a new regular text Environment Override then close the window and re-open it, the override disappears.
    image
    image
    But this will re-appear if it is used or if I change to another project and back

Reproduction Steps

  1. Create a folder and in that folder create two GET HTTP requests called a and b, each for google.com and click Send in a
  2. In the menu for the folder select Environment
  3. Create a new variable called "test":"" then right click on the "" and select Response -> Header. Click on the red text that appears.
  4. In the Edit Tag window set the request to a and Header Name = Date. The live preview should show the date.
  5. Hit Done and observe the correct override appears in the window
  6. Hit Close and then re-open the Environment window
  7. Sometimes the variable will be gone at this point, but sometimes it will still be there. If it is still there then click on the tag and change the Request to GET b, the live preview will change to an error.
  8. Hit done and observe that the tag is in an error state.
  9. Close and re-open the Environment Overrides panel and observe that the variable is not in an error state anymore because it changed back to GET a in the tag.

Is there an existing issue for this?

Additional Information

This is an issue that has existed in one state or another in the last few versions of Insomnia.

Often can be worked around by copying the text in the Overrides panel when it is correct and pasting it back in when it errors. Also switching projects sometimes reverts to the correct variable.

The part where it doesn't save regular text variable is really inconsistent.

Insomnium Version

Insomnium 0.2.1-b

What operating system are you using?

Windows

Operating System Version

Windows 10

Installation method

Portable exe from https://github.com/ArchGPT/insomnium/releases

Last Known Working Insomnium version

No response

Collection/Project imports change request Id, breaking request-chaining

Expected Behavior

This is a copy of the original bug that came over with the Kong code: Kong/insomnia#5942
It starts out talking about "tags", but in the comments, things change to talking about request-chaning. There's a chance it's fixed in this PR: Kong/insomnia#6521

There's a comment that implies this got fixed over in Kong/insomnia#5983 but the bug still exists in Insomnium 0.2.3-a: https://github.com/ArchGPT/insomnium/releases/tag/core%400.2.3-a .


Import of a collection/project exported in v4 Json or Yaml (from Insomnia or Insomnium) will retain the exported request Ids, like it does all of the other Ids, so request chaining works.

Actual Behavior

The requests in each collection each get a newly generated request Id. Since the request-chaining setups reference the original Id (from the Json/Yaml export file), all of that functionality breaks.

Reproduction Steps

  1. Create a collection with 2 requests, one of which uses request-chaining to pull response data from the other request.
  2. Export it.
  3. Import it into a new Project.
  4. Notice that the request-chaining doesn't work because the request-reference is incorrect.

Is there an existing issue for this?

Additional Information

No response

Insomnium Version

0.2.3-a

What operating system are you using?

macOS

Operating System Version

Ventura 13.6.2 (22G320)

Installation method

The .dmg download file

Last Known Working Insomnium version

none

Git overview not showing, can't commit or switch branches

Expected Behavior

Git overview is shown on the right side when opening a collection, like it did in Insomnia.

Actual Behavior

Git overview is not there.

image

Reproduction Steps

Open a collection.
Overview is not there.

Is there an existing issue for this?

Additional Information

No response

Insomnium Version

0.2.1-b

What operating system are you using?

macOS

Operating System Version

14.0 (23A344)

Installation method

downloaded from insomnium github page

Last Known Working Insomnium version

no

cannot install plugin in

Expected Behavior

can install plugin in from plugin management

Actual Behavior

Failed to install

There may be an issue with the plugin itself, as a note you can discover and install plugins from the Plugin Hub.
Additional Information

Reproduction Steps

No response

Is there an existing issue for this?

Additional Information

No response

Insomnium Version

Insomnium 0.2.1-b

What operating system are you using?

macOS

Operating System Version

13.6 (22G120)

Installation method

download it

Last Known Working Insomnium version

No response

Plugins interface not shown in preferences

Expected Behavior

Plugins tab should appear in Preferences

Actual Behavior

Plugins tab does not appear in Preferences

Reproduction Steps

  1. Click on Preferences button
  2. Notice there is no Plugins tab

Is there an existing issue for this?

Additional Information

It's understandable that the whole plugins ecosystem from Insomnia cannot be integrated as such, but an alternative should be found - some plugins have a real added value.

Insomnium Version

v0.1

What operating system are you using?

Other Linux

Operating System Version

Manjaro 23.0.3

Installation method

locally built from source

Last Known Working Insomnium version

No response

Missing support for plugin-defined workspace actions

Expected Behavior

Items exported from a plugin's module.exports.workspaceActions get populated in the workspace dropdown

Actual Behavior

The workspace dropdown contains no plugin content

Reproduction Steps

Can be replicated with any plugin that defines workspace actions. One such example is https://insomnia.rest/plugins/insomnia-plugin-repo-sync-3

Is there an existing issue for this?

Additional Information

It appears the react state getter for actionPlugins in packages/insomnia/src/ui/components/dropdowns/workspace-dropdown.tsx is missing: https://github.com/ArchGPT/insomnium/blob/8e562eb3f8a64fc5c2ab1a78caf198b699d371b7/packages/insomnia/src/ui/components/dropdowns/workspace-dropdown.tsx#L49C64-L49C64

This regression was introduced in the massive commit seen here: 0496695#diff-c205c4e3fa2d0d5ea9b8feabe3210440ab35db3c06901dd72ba77d891cdaa911

I guess this might fall under the "etc" in "removed sentry, segment, etc, and updated readme"? If this was intentional, it's not clear to me what the reasoning was.

Insomnium Version

0.2.3-a

What operating system are you using?

Windows

Operating System Version

Windows 11

Installation method

installer

Last Known Working Insomnium version

No response

Application Error: Failed to render when trying to import postman collection

Expected Behavior

Postman collection is imported without any errors

Actual Behavior

image

Reproduction Steps

  1. Go to 'Insomnium' project
  2. At the top right corner click + button -> Import
  3. Chose postman collection
  4. Click 'Scan' button
    Twilio Messaging - SMS.postman_collection_20.json

Is there an existing issue for this?

Additional Information

No response

Insomnium Version

0.2.2

What operating system are you using?

Windows

Operating System Version

Windows 10 Pro 10.0.19045

Installation method

From github releases

Last Known Working Insomnium version

No response

Grpc module became useless

Expected Behavior

Grpc module like in previous version

Actual Behavior

Why you decided to change ui from message list to "draw all messages in one screen"? Js can't handle this amount of data and stuck always

Reproduction Steps

No response

Is there an existing issue for this?

Additional Information

Snapshot_2023-11-16_12-30-58

Insomnium Version

0.2.3-a

What operating system are you using?

Ubuntu

Operating System Version

Ubuntu 23.04

Installation method

Download from releases

Last Known Working Insomnium version

No response

Discussion - How to store Insomnium using the FS

I've been a long time Insomnia user (coming on 5 years), and I've hated that it's a nightmare to import/export data and use your own syncing features. So I would love to spark a discussion on how we can get off NeDb and use the FileSystem instead.

I am wondering if it makes sense to use a file for each request, and a folder will be reflected as such in the FS. I have been using Obsidian for my note taking, and they make it so easy to write notes, and then also to edit those notes in a different tool like Neovim for example. Having the ability to edit an API call by modifying the file directly would be incredible.

Thoughts? I haven't spent any time looking at Nedb and how it's currently stored so I might be off base with this idea to start with, but once an idea is settled in how to store everything offline I am happy to contribute the code that will make this possible.

Taskbar icon is of low resolution when using large taskbar icons on KDE Plasma

Expected Behavior

I have a huge monitor and crappy vision, so I use a large vertical taskbar (72px width) in KDE Plasma with large icons. The taskbar icons usually are scaled from a higher resolution source.

Actual Behavior

The icon for insomnium that is being recognized by KDE seems to be one of a low resolution, so it looks pixelated when blown up to the size that I use. Compare to the others adjacent to it:

Screenshot_20231012_042451

Reproduction Steps

  1. Install Insomnium from the AUR on Arch Linux while using KDE Plasma.
  2. Right click on your taskbar and increase the width to a large number (I am using 72px width).
  3. Open Insomnium and view the taskbar icon.

Is there an existing issue for this?

Additional Information

This might be related to issue #38, but I am using the AUR source. I can add my scenario to that issue if you prefer.

Overall this is a very minor issue that doesn't bother me much. Thank you for the work that you are doing on this wonderful and privacy-respecting alternative!

Insomnium Version

0.2.1_b-1

What operating system are you using?

Other Linux

Operating System Version

Arch Linux with KDE Plasma and kernel 6.1.57-1-lts

Installation method

AUR

Last Known Working Insomnium version

No response

Insomnium making requests to updates.insomnia.rest

Expected Behavior

Insomnium should not be tapping back home.
Should work offline and only make requests to where the user point it to, and when the user instructs it to.

Actual Behavior

With a firewall installed, in this case LuLu, I can see that insomnium is making requests to the following url:

https://updates.insomnia.rest/builds/check/mac?v=0.2.1-b&app=com.insomnium.app&channel=stable
Screenshot 2023-10-23 at 17 53 26

I have never accepted any privacy policy, terms of use or checkbox saying automatic updates.
Furthermore nor the License that is a plain MIT License or the readme mention that this application does tracking.

Reproduction Steps

  • Install the firewall of your choice, in this case LuLu
  • Clean install Insomnium 0.2.1-b on mac 14.0 (23A344)
  • Copy .DB files from Insomnia to Insomnium
  • Open Insomnium
  • Insomnium will make this request

Is there an existing issue for this?

Additional Information

No response

Insomnium Version

0.2.1-b

What operating system are you using?

macOS

Operating System Version

14.0 (23A344)

Installation method

Manual with Insomnium.Core-0.2.1-b.dmg frm GitHub releases

Last Known Working Insomnium version

Haven't tried other versions

GUI very slow response (300+ requests in collection) on user actions inside left navigation menu

Expected Behavior

Application reaction time on user actions inside left navigation menu like scrolling, collapsing groups should be instant.

Actual Behavior

Application reaction time on user actions inside left navigation menu are very slow. collapsing, scrolling etc. (1000ms delay after user action)

Reproduction Steps

  1. import collection with more than 300 requests grouped to more than 20 folders
  2. try to navigate inside left menu

Is there an existing issue for this?

Additional Information

No response

Insomnium Version

0.23-a

What operating system are you using?

Windows

Operating System Version

Windows 11

Installation method

downloaded exe from git releases

Last Known Working Insomnium version

No response

Cannot POST or PUT with strings containing {{double curly brackets}}

Expected Behavior

Hello, we're using string replacements in our API, and fields in our JSON data can contain strings with curly brackets.

In the example below, the data looks like this

"name": "{{My First Group}}",

Actual Behavior

Insomnium interprets these as environment variables and blocks me from submitting requests.

What's rendered on screen below:

image

Reproduction Steps

Have JSON data. Make a field a string containing template literal. Try POST or PUT.

Is there an existing issue for this?

Additional Information

No response

Insomnium Version

0.2.2

What operating system are you using?

macOS

Operating System Version

macOS Sonoma

Installation method

Download from GitHub

Last Known Working Insomnium version

No response

How to use authentication automation? Variables?

Expected Behavior

I expect to be able to send an authentication request and get an authentication token, and that token get saved in a variable that can be used in subsequent requests.

Actual Behavior

No idea, you don't have any documentation

Reproduction Steps

.

Is there an existing issue for this?

Additional Information

No response

Insomnium Version

latest

What operating system are you using?

Windows

Operating System Version

Microsoft Windows 11 Enterprise (64-bit)

Installation method

download from here

Last Known Working Insomnium version

No response

[email protected] is not set up yet

Expected Behavior

The email address referred to in the Security Policy, [email protected] does not accept email.

Actual Behavior

The email server responds with:

Remote server returned '554 5.0.0 < #5.0.0>'

Which would mean that the mailbox security doesn't exist?

Reproduction Steps

  1. Send mail to [email protected].
  2. Wait for bounce reply.

Is there an existing issue for this?

Additional Information

No response

Insomnium Version

Irrelevant

What operating system are you using?

Other (specify below)

Operating System Version

Irrelevant

Installation method

Irrelevant

Last Known Working Insomnium version

Irrelevant

Couldn't open the app in MacOS

Expected Behavior

Should be able to launch the app without errors.

Actual Behavior

Screenshot 2023-10-05 at 2 01 56 PM

Reproduction Steps

  1. Download Insomnium.Core-0.1.3.dmg from https://github.com/ArchGPT/insomnium/releases/tag/core%400.1.3
  2. Drag and drop the app into Application folder.
  3. Double click on the app from Application folder (Finder).

Is there an existing issue for this?

Additional Information

No response

Insomnium Version

Insomnium 0.1.3b

What operating system are you using?

macOS

Operating System Version

macOS Sonoma

Installation method

Download from https://github.com/ArchGPT/insomnium/releases

Last Known Working Insomnium version

No response

Bad name of application on deb package

Expected Behavior

I should be able to install insomnia and insomnium side by side, just to check if everything is imported correctly.

Actual Behavior

image

Only can install one.

Reproduction Steps

  1. Download deb package
  2. Try to installed.

Is there an existing issue for this?

Additional Information

No response

Insomnium Version

0.2.1-b

What operating system are you using?

Ubuntu

Operating System Version

20.04.1-Ubuntu

Installation method

deb

Last Known Working Insomnium version

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.