This repository has been archived by the owner on Dec 19, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Showing
4 changed files
with
60 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
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,11 @@ | ||
# Flameshot | ||
|
||
The Flameshot script has been updated to be a lot more dynamic, including adding support for [cheek](https://github.com/tycrek/cheek#readme), my serverless ShareX upload server. To set cheek mode, edit the file [`flameshot-v2.sh`](https://github.com/tycrek/ass/blob/dev/0.15.0/flameshot-v2.sh) and set `MODE=0` to `MODE=1`. | ||
|
||
To set your token (not in use yet, can be random) and domain for the script, create these directories with the following files: | ||
|
||
- `~/.ass/` (or `~/.cheek/`) | ||
- `~/.ass/.token` | ||
- `~/.ass/.domain` | ||
|
||
For `.domain`, you do **not** need to include `http(s)://`. |
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,10 @@ | ||
# ShareX | ||
|
||
| Setting | Value | | ||
| ------- | ----- | | ||
| Request URL | Your server domain (including `http(s)://`) | | ||
| Request Method | `POST` | | ||
| Destination Type | `Image`, `Text`, `File` | | ||
| Body | `multipart/form-data` | | ||
| File Form Name | `file` | | ||
| URL | `{json.resource}` | |
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,25 @@ | ||
# Configure | ||
|
||
Most of the configuration is managed through the administrator dashboard. | ||
|
||
## `server.json` overrides | ||
|
||
The webserver in ass 15 is hosted independently of any user configuration. If you wish to set a specific server setting, you may do so with a `server.json` file. | ||
|
||
Place this file in `<root>/.ass-data/`. | ||
|
||
| Property | Use | Default | | ||
| -------- | --- | ------- | | ||
| `host` | Local IP to bind to | `0.0.0.0` | | ||
| `port` | Port to listen on | `40115` | | ||
| `proxied` | If ass is behind a reverse proxy | `false`, unless `NODE_ENV=production` is specified, otherwise `true` | | ||
|
||
**Example** | ||
|
||
```json | ||
{ | ||
"host": "127.0.1.2", | ||
"port": 40200, | ||
"proxied": false | ||
} | ||
``` |