-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 92768fe
Showing
177 changed files
with
43,071 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
{ | ||
"root": true, | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"project": "./tsconfig.json" | ||
}, | ||
"plugins": [ | ||
"@typescript-eslint", | ||
"eslint-plugin-tsdoc" | ||
], | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/eslint-recommended", | ||
"plugin:@typescript-eslint/recommended" | ||
], | ||
"overrides": [ | ||
{ | ||
"files": ["**.ts"], | ||
"excludedFiles": ["**.js"], | ||
"rules": { | ||
"no-prototype-builtins": "off", | ||
|
||
"prefer-const": "off", | ||
"block-spacing": "warn", | ||
"brace-style": ["warn", "1tbs"], | ||
"camelcase": "warn", | ||
"comma-dangle": ["warn", "never"], | ||
"comma-spacing": ["warn", { "before": false, "after": true }], | ||
"comma-style": ["warn", "last"], | ||
"consistent-return": "error", | ||
"eol-last": ["warn", "always"], | ||
"func-call-spacing": ["warn", "never"], | ||
"indent": ["warn", 4, { "SwitchCase": 1 }], | ||
"keyword-spacing": ["warn", { "before": true, "after": true }], | ||
"lines-between-class-members": [ "warn", "always", { "exceptAfterSingleLine": true } ], | ||
"no-trailing-spaces": "warn", | ||
"quotes": ["warn", "double"], | ||
"semi": ["error", "always"], | ||
"semi-style": ["warn", "last"], | ||
"space-before-blocks": "warn", | ||
"no-var": "warn", | ||
|
||
"@typescript-eslint/no-explicit-any": "off", | ||
"@typescript-eslint/no-empty-interface": "off", | ||
"@typescript-eslint/explicit-module-boundary-types": ["warn", { "allowArgumentsExplicitlyTypedAsAny": true }], | ||
"@typescript-eslint/no-inferrable-types": "off", | ||
"@typescript-eslint/member-ordering": "warn", | ||
"@typescript-eslint/explicit-function-return-type": "error", | ||
"@typescript-eslint/no-unsafe-return": "error", | ||
"@typescript-eslint/naming-convention": [ | ||
"warn", | ||
{ "selector": "objectLiteralProperty", "modifiers": [ "requiresQuotes" ], "format": null }, | ||
{ "selector": "memberLike", "modifiers": [ "public" ], "format": ["camelCase"], "leadingUnderscore": "allow" }, | ||
{ "selector": "memberLike", "modifiers": [ "protected" ], "format": ["camelCase"], "leadingUnderscore": "require" }, | ||
{ "selector": "memberLike", "modifiers": [ "private" ], "format": ["camelCase"], "leadingUnderscore": "require" } | ||
], | ||
|
||
"tsdoc/syntax": "warn" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
|
||
jobs: | ||
build-win32: | ||
runs-on: windows-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Build httpiness on Windows | ||
run: | | ||
npm install | ||
npm run lint | ||
npm run test | ||
npm run build:prod | ||
build-macos: | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Build httpiness on macOS | ||
run: | | ||
npm install | ||
npm run lint | ||
npm run test | ||
npm run build:prod |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
# Logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# Runtime data | ||
*.pid | ||
*.seed | ||
*.pid.lock | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
|
||
# nyc test coverage | ||
.nyc_output | ||
|
||
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
# Bower dependency directory (https://bower.io/) | ||
bower_components | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
|
||
# Compiled binary addons (https://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Dependency directories | ||
node_modules/ | ||
jspm_packages/ | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional eslint cache | ||
.eslintcache | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
# Output of 'npm pack' | ||
*.tgz | ||
|
||
# Yarn Integrity file | ||
.yarn-integrity | ||
|
||
# dotenv environment variables file | ||
.env | ||
|
||
# next.js build output | ||
.next | ||
|
||
# OS X temporary files | ||
.DS_Store | ||
|
||
# Rush temporary files | ||
common/deploy/ | ||
common/temp/ | ||
common/autoinstallers/*/.npmrc | ||
**/.rush/temp/ | ||
|
||
# Build output | ||
**/dist/electron-workspace/*.js | ||
**/dist/electron-workspace/*.node | ||
**/dist/electron-workspace/*.LICENSE.txt | ||
**/dist/bin | ||
**/temp/** | ||
**/test/bin/** | ||
dummyCollection.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"recommendations": [ | ||
"davidanson.vscode-markdownlint", | ||
"streetsidesoftware.code-spell-checker" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"[markdown]": { | ||
"editor.tabSize": 2, | ||
"editor.detectIndentation": false, | ||
"editor.wordWrap": "wordWrapColumn", | ||
"editor.defaultFormatter": "DavidAnson.vscode-markdownlint", | ||
"editor.rulers": [80] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Copyright (c) 2023-2024 httpiness contributors | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# httpiness | ||
|
||
httpiness is a developer-oriented parametric HTTP client for slalom API testing. | ||
|
||
![httpiness preview](./docs/images/screenshot.png) | ||
|
||
## How to run httpiness? | ||
|
||
### Build from source (preferred) | ||
|
||
```bash | ||
# TL;DR | ||
git clone https://github.com/bognikol/httpiness.git | ||
cd httpiness | ||
# You may need to run the command bellow as an admin for the first time | ||
npm run start:prod:clean | ||
``` | ||
|
||
1. Make sure Node.js is installed on your machine. | ||
2. Open the shell (you may need to run the shell as admin), navigate to root directory (where package.json is located) and run `npm run start:prod:clean`. This script will clean the repo (if any garbage), install the dependencies, build and finally run httpiness. The script will also build the installers (though not signed). | ||
|
||
### Download binaries | ||
|
||
Alternatively, you can download Windows and macOS installers at [httpiness.com](https://www.httpiness.com). Current version of binaries is 1.4.2. Be aware that they almost certainly outdated because new binaries are not pushed to the httpiness.com due to signing issues. | ||
|
||
## How to use httpiness? | ||
|
||
After starting httpiness, click **Help** button in the upper-right corner and help window will be shown. Alternatively, the same help sections can be accessed on [httpiness.com](https://www.httpiness.com/#/docs). | ||
|
||
## How is httpiness architectured? | ||
|
||
httpiness is an [electron](https://electronjs.org) application which currently acts as a GUI shell for [curl](https://curl.se). curl may be substituted to some other HTTP client in the future. | ||
|
||
HTML-based GUI in written using [aflon](https://github.com/bognikol/aflonstack). aflon is a strongly-typed object-oriented UI framework for web. | ||
|
||
## Contributing | ||
|
||
You are welcome to contribute. Refer to `docs` directory for technical details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>com.apple.security.cs.allow-jit</key> | ||
<true/> | ||
<key>com.apple.security.cs.debugger</key> | ||
<true/> | ||
<key>com.apple.security.cs.disable-library-validation</key> | ||
<true/> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>httpiness</title> | ||
<link rel="stylesheet" href="resources/icons/style.css"> | ||
<style> | ||
@font-face { | ||
font-family: "Open Sans"; | ||
src: url("resources/fonts/OpenSans-Regular.ttf"); | ||
font-weight: 400; | ||
} | ||
@font-face { | ||
font-family: "Open Sans"; | ||
src: url("resources/fonts/OpenSans-Italic.ttf"); | ||
font-weight: 400; | ||
font-style: italic; | ||
} | ||
@font-face { | ||
font-family: "Open Sans"; | ||
src: url("resources/fonts/OpenSans-Bold.ttf"); | ||
font-weight: 700; | ||
} | ||
@font-face { | ||
font-family: "Open Sans"; | ||
src: url("resources/fonts/OpenSans-ExtraBold.ttf"); | ||
font-weight: 800; | ||
} | ||
@font-face { | ||
font-family: "Ubuntu Mono"; | ||
src: url("resources/fonts/UbuntuMono-Bold.ttf"); | ||
font-weight: 700; | ||
} | ||
@font-face { | ||
font-family: "Ubuntu Mono"; | ||
src: url("resources/fonts/UbuntuMono-Regular.ttf"); | ||
font-weight: 400; | ||
} | ||
</style> | ||
<!--<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline';" />--> | ||
</head> | ||
<body> | ||
<script src="renderer.js"></script> | ||
</body> | ||
</html> |
Oops, something went wrong.