Skip to content

Commit

Permalink
feat: initial version
Browse files Browse the repository at this point in the history
  • Loading branch information
Gareth Flowers committed May 5, 2023
0 parents commit d8e1c37
Show file tree
Hide file tree
Showing 25 changed files with 781 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
root = true

[*]
charset = utf-8
end_of_line = crlf
indent_size = 4
indent_style = tab
insert_final_newline = true
trim_trailing_whitespace = true
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ko_fi: garethflowers
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.DS_Store
InsomniaPortable/Data
Binary file added InsomniaPortable/App/AppInfo/AppIcon.ico
Binary file not shown.
Binary file added InsomniaPortable/App/AppInfo/AppIcon_128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added InsomniaPortable/App/AppInfo/AppIcon_16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added InsomniaPortable/App/AppInfo/AppIcon_32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added InsomniaPortable/App/AppInfo/AppIcon_75.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions InsomniaPortable/App/AppInfo/AppInfo.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[Format]
Type=PortableApps.comFormat
Version=3.5

[Details]
Name=Insomnia Portable
AppId=InsomniaPortable
Publisher=Gareth Flowers, Kong & PortableApps.com
Homepage=https://garethflowers.dev/insomnia-portable
Category=Development
Description=Leading Open Source API Development Platform for HTTP, REST, GraphQL, gRPC, SOAP, and WebSockets.
Language=Multilingual

[License]
Shareable=true
OpenSource=true
Freeware=true
CommercialUse=true

[Version]
PackageVersion=2023.2.0.0
DisplayVersion=2023.2.0.0

[Control]
Icons=1
Start=InsomniaPortable.exe
10 changes: 10 additions & 0 deletions InsomniaPortable/App/AppInfo/Installer.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[DownloadFiles]
AdditionalInstallSize=85000
DownloadFilename=Insomnia.Core-2023.2.0.exe
DownloadName=Insomnia 2023.2.0
DownloadURL=https://github.com/Kong/insomnia/releases/download/core@2023.2.0/Insomnia.Core-2023.2.0.exe
AdvancedExtract1To=App
AdvancedExtract1Filter=insomnia-*-full.nupkg
DoubleExtractFilename=insomnia-*-full.nupkg
DoubleExtract2To=App
DoubleExtract2Filter=lib\net45\**
18 changes: 18 additions & 0 deletions InsomniaPortable/App/AppInfo/Launcher/InsomniaPortable.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[Launch]
ProgramExecutable=Insomnia\Insomnia.exe
CommandLineArguments='--user-data-dir="%PAL:DataDir%"'
DirectoryMoveOK=yes
DisableSplashScreen=true
SplashTime=0
SupportsUNC=yes
MinOS=7

[Environment]
INSOMNIA_DATA_PATH=%PAL:DataDir%
INSOMNIA_DISABLE_AUTOMATIC_UPDATES=true

[DirectoriesCleanupForce]
1=%APPDATA%\Insomnia\logs

[DirectoriesCleanupIfEmpty]
1=%APPDATA%\Insomnia
238 changes: 238 additions & 0 deletions InsomniaPortable/Help.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,238 @@
<!DOCTYPE html>
<html lang="en-US">

<head>
<meta charset="UTF-8">
<title>Insomnia Portable Help</title>
<link rel="alternate" href="https://portableapps.com/feeds/general" type="application/rss+xml" title="PortableApps.com">
<link rel="shortcut icon" href="Other/Help/Images/Favicon.ico">
<style type="text/css">
body {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 76%;
color: black;
margin: 20px;
background: #e6e8ea;
text-align: center;
}

a {
color: #b31616;
font-weight: bold;
}

a:hover {
color: red;
}

h1,
h2,
h3,
h4,
h5,
h6 {
font-family: Arial, sans-serif;
font-weight: normal;
}

h1 {
color: #b31616;
font-weight: bold;
letter-spacing: -2px;
font-size: 2.2em;
border-bottom: 1px solid silver;
padding-bottom: 5px;
}

h2 {
font-size: 1.5em;
border-bottom: 1px solid silver;
padding-bottom: 3px;
clear: both;
}

h3 {
font-size: 1.2em;
}

h4 {
font-size: 1.1em;
}

h5 {
font-size: 1.0em;
}

h6 {
font-size: 0.8em;
}

img {
border: 0;
}

ol,
ul,
li,
p,
pre,
table,
tr,
td,
th {
font-size: 1.0em;
}

pre {
font-family: monospace;
}

strong,
b {
font-weight: bold;
}

td,
th {
border: 1px solid #aaaaaa;
border-collapse: collapse;
padding: 3px;
}

th {
background: #3667a8;
color: white;
}

ol ol {
list-style-type: lower-alpha;
}

.content {
text-align: left;
margin-left: auto;
margin-right: auto;
width: 780px;
background-color: white;
border-left: 1px solid black;
border-right: 1px solid black;
padding: 12px 30px;
line-height: 150%;
}

.logo {
background: white url("Other/Help/Images/Help_Background_Header.png") repeat-x;
width: 840px;
margin-top: 20px;
margin-left: auto;
margin-right: auto;
text-align: left;
border-right: 1px solid black;
border-left: 1px solid black;
}

.footer {
background: white url("Other/Help/Images/Help_Background_Footer.png") repeat-x;
width: 840px;
height: 16px;
margin-left: auto;
margin-right: auto;
text-align: left;
border-right: 1px solid black;
border-left: 1px solid black;
}

.logo img {
padding-left: 0px;
border: none;
position: relative;
top: -4px;
}

* html .content {
width: 760px;
}

* html .logo,
* html .footer {
width: 820px;
}

.content h1 {
margin: 0px;
}

h1.hastagline {
border: 0;
}

h2.tagline {
color: #747673;
clear: none;
margin-top: 0em;
}

/* printer styles */
@media print {

body,
.content {
margin: 0;
padding: 0;
}

.navigation,
.locator,
.footer a,
.message,
.footer-links {
display: none;
}

.footer,
.content,
.header {
border: none;
}

a {
text-decoration: none;
font-weight: normal;
color: black;
}
}
</style>
</head>

<body>
<div class="logo"><a href="https://portableapps.com/"><img src="Other/Help/Images/Help_Logo_Top.png" alt="PortableApps.com - Your Digital Life, Anywhere"></a></div>
<div class="content">
<h1 class="hastagline">Insomnia Portable Help</h1>
<h2 class="tagline">A leading Open Source API Development Platform for HTTP, REST,
GraphQL, gRPC, SOAP, and WebSockets.</h2>
<p>Insomnia Portable is the Insomnia API developer platform packaged with a PortableApps.com launcher as a <a
href="https://portableapps.com/about/what_is_a_portable_app">portable app</a>, so you can run a full instance of
the Insomnia API developer platform on your iPod, USB flash drive, portable hard drive, etc. It has all the same features
as Insomnia, plus, it leaves no personal information behind on the machine you run it on, so you can take
it with you wherever you go. <a href="https://insomnia.rest/">Learn more about Insomnia...</a></p>
<p><a href="https://portableapps.com/donate"><img src="Other/Help/Images/Donation_Button.png" style="vertical-align:middle"
alt="Make a Donation"></a> - Support PortableApps.com's Hosting and Development</p>
<p><a href="https://garethflowers.dev/insomnia-portable">Go to the Insomnia Portable Homepage &gt;&gt;</a></p>
<p><a href="https://portableapps.com/">Get more portable apps at PortableApps.com</a></p>
<p>The PortableApps.com Launcher that portablizes this application and the PortableApps.com Installer used to package
this application are OSI Certified Open Source Software. OSI Certified is a certification mark of the Open Source
Initiative. The base application is under a different license.</p>
<h2>Portable App Issues</h2>
<ul>
<li><a href="https://portableapps.com/support/portable_app#downloading">Downloading a Portable App</a></li>
<li><a href="https://portableapps.com/support/portable_app#installing">Installing a Portable App</a></li>
<li><a href="https://portableapps.com/support/portable_app#using">Using a Portable App</a></li>
<li><a href="https://portableapps.com/support/portable_app#upgrading">Upgrading a Portable App</a></li>
</ul>
<p>You can read about advanced configuration options for the PortableApps.com Launcher in its <a href="Other/Source/Readme.txt">readme
file</a>.</p>
</div>
<div class="footer"></div>
</body>

</html>
Binary file added InsomniaPortable/InsomniaPortable.exe
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added InsomniaPortable/Other/Help/images/Favicon.ico
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions InsomniaPortable/Other/Source/AppNamePortable.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
AdditionalParameters=
DisableSplashScreen=false
RunLocally=false

# The above options are explained in the included readme.txt
# This INI file is an example only and is not used unless it is placed as described in the included readme.txt
Loading

0 comments on commit d8e1c37

Please sign in to comment.