Skip to content

Commit b85e3fa

Browse files
Merge pull request #36 from zer0bin-dev/main
2 parents de6c589 + 49aaa07 commit b85e3fa

File tree

8 files changed

+28
-21
lines changed

8 files changed

+28
-21
lines changed

Diff for: .github/ISSUE_TEMPLATE/03_public_instance.md

+9-15
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,13 @@ Thanks for offering us your public instance!
1212

1313
## Details
1414

15-
What country is the server in:
16-
17-
What server hardware/provider is the server on:
18-
19-
Are you using CloudFlare or any Google serives (domain, DNS, etc):
20-
21-
What version of zer0bin is it running:
22-
23-
Have you made any modifications to zer0bin? If so, what?:
24-
25-
What are the ratelimits:
26-
27-
What is the expiration time of pastes:
28-
29-
What is the max paste size:
15+
- Domain name:
16+
- What country is the server in:
17+
- What server hardware/provider is the server on:
18+
- Are you using CloudFlare or any Google services (domain, DNS, etc):
19+
- What version of zer0bin is it running:
20+
- Have you made any modifications to zer0bin? If so, what?:
21+
- What are the ratelimits:
22+
- What is the expiration time of pastes:
23+
- What is the max paste size:
3024

Diff for: README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,15 @@ Submit your public instance [here](https://github.com/Domterion/zer0bin/issues/n
2727

2828
| Website | Expiration | Max paste size | Version | Country |
2929
| ---------------------------------------------- | ---------- | -------------- | ------- | ------- |
30-
| zer0b.in | 7 days | 40,000 chars | v1.0.0 | 🇺🇸 USA |
30+
| [zer0b.in](https://zer0b.in) | 90 days | 50,000 chars | v0.7.1 | 🇺🇸 USA |
3131
| [stepbro.voring.me](https://stepbro.voring.me) | 365 days | 69,000 chars | v0.7.1 | 🇺🇸 USA |
32+
| [tinker.nz](https://tinker.nz/) | 28 days | 69,420 chars | v0.7.1 | 🇳🇿 NZ |
3233

3334
# Technologies used
3435

3536
### Frontend:
3637

37-
<a href="https://www.typescriptlang.org/"><img src="https://github.com/tandpfun/skill-icons/raw/main/icons/TypeScript.svg" height=40/></a> <a href="https://sass-lang.com/"><img src="https://github.com/tandpfun/skill-icons/raw/main/icons/Sass.svg" height=40/></a> <a href="https://pugjs.org/"><img src="https://github.com/tandpfun/skill-icons/raw/main/icons/Pug-Dark.svg" height=40/></a> <a href="https://rosepinetheme.com/"><img src="https://cdn.discordapp.com/attachments/810799100940255260/953176309444542464/RosePine.svg" height=40/></a> <a href="https://highlightjs.org/"><img src="https://cdn.discordapp.com/attachments/810799100940255260/953177926688464936/HLJS.svg" height=40/></a> <a href="https://github.com/ant-design/ant-design-icons"><img src="https://cdn.discordapp.com/attachments/810799100940255260/953181625259266059/AntIcons-Dark.svg" height=40/></a> <a href="https://github.com/idiotWu/smooth-scrollbar"><img src="https://cdn.discordapp.com/attachments/810799100940255260/953564432628322364/SmoothScrollJS.svg" height=40/></a><br><a href="https://atomiks.github.io/tippyjs/"><img src="https://cdn.discordapp.com/attachments/872332549777666078/955624715521769522/Tippy.svg" height=40/></a> <a href="https://github.com/loonywizard/js-confetti"><img src="https://cdn.discordapp.com/attachments/810799100940255260/955609316042362930/JSConfetti.svg" height=40/></a> <a href="https://definitelytyped.org/"><img src="https://cdn.discordapp.com/attachments/810799100940255260/953567495321710602/DefinitelyTyped.svg" height=40/></a> <a href="https://parceljs.org/"><img src="https://user-images.githubusercontent.com/44733677/158683062-17ac3b62-cacd-4add-babb-1f74f36020d8.svg" height=40/></a> <a href="https://prettier.io/"><img src="https://cdn.discordapp.com/attachments/810799100940255260/953339670538887318/Prettier.svg" height=40/></a> <a href="https://yarnpkg.org"><img src="https://cdn.discordapp.com/attachments/810799100940255260/954823377493852170/Yarn.svg" height=40/></a> <a href="https://transfonter.org"><img src="https://user-images.githubusercontent.com/44733677/159066877-234f68ba-e95c-439d-b5fe-74def49dc762.svg" height=40></a>
38+
<a href="https://www.typescriptlang.org/"><img src="https://github.com/tandpfun/skill-icons/raw/main/icons/TypeScript.svg" height=40/></a> <a href="https://sass-lang.com/"><img src="https://github.com/tandpfun/skill-icons/raw/main/icons/Sass.svg" height=40/></a> <a href="https://pugjs.org/"><img src="https://github.com/tandpfun/skill-icons/raw/main/icons/Pug-Dark.svg" height=40/></a> <a href="https://rosepinetheme.com/"><img src="https://cdn.discordapp.com/attachments/810799100940255260/953176309444542464/RosePine.svg" height=40/></a> <a href="https://highlightjs.org/"><img src="https://cdn.discordapp.com/attachments/810799100940255260/953177926688464936/HLJS.svg" height=40/></a> <a href="https://github.com/ant-design/ant-design-icons"><img src="https://cdn.discordapp.com/attachments/810799100940255260/953181625259266059/AntIcons-Dark.svg" height=40/></a> <a href="https://github.com/idiotWu/smooth-scrollbar"><img src="https://cdn.discordapp.com/attachments/810799100940255260/953564432628322364/SmoothScrollJS.svg" height=40/></a><br><a href="https://atomiks.github.io/tippyjs/"><img src="https://cdn.discordapp.com/attachments/872332549777666078/955624715521769522/Tippy.svg" height=40/></a> <a href="https://github.com/loonywizard/js-confetti"><img src="https://cdn.discordapp.com/attachments/810799100940255260/955609316042362930/JSConfetti.svg" height=40/></a> <a href="https://github.com/hadialqattan/no-darkreader"><img src="https://cdn.discordapp.com/attachments/810799100940255260/955869669535907870/NoDarkReader.svg" height=40/></a> <a href="https://parceljs.org/"><img src="https://user-images.githubusercontent.com/44733677/158683062-17ac3b62-cacd-4add-babb-1f74f36020d8.svg" height=40/></a> <a href="https://prettier.io/"><img src="https://cdn.discordapp.com/attachments/810799100940255260/953339670538887318/Prettier.svg" height=40/></a> <a href="https://yarnpkg.org"><img src="https://cdn.discordapp.com/attachments/810799100940255260/954823377493852170/Yarn.svg" height=40/></a> <a href="https://transfonter.org"><img src="https://user-images.githubusercontent.com/44733677/159066877-234f68ba-e95c-439d-b5fe-74def49dc762.svg" height=40></a>
3839

3940
### Backend:
4041

Diff for: backend/config.example.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
"backend_port": 8000
55
},
66
"pastes": {
7-
"character_limit": 40000,
8-
"days_til_expiration": 7,
9-
"id_length": 10
7+
"character_limit": 50000,
8+
"days_til_expiration": 30,
9+
"id_length": 6
1010
},
1111
"ratelimits": {
1212
"seconds_in_between_pastes": 2,

Diff for: example.nginx

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
server {
77
#listen 80 is default
8-
server_name www.example.tld;
8+
server_name example.tld;
99
return 301 https://example.tld$request_uri;
1010
# brotli on;
1111
}

Diff for: frontend/index.pug

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ head
66
link(rel='shortcut icon' type='image/x-icon' href='favicon.ico')
77
meta(name='theme-color' content='#90BDC9')
88
meta(name='keywords' content='zerobin, zer0bin, paste, paste bin, pastebin, pastebin alternative, foss pastebin, open source pastebin, free pastebin, ghostbin, hastebin, pastebin.com, free pastebin online, paste online, github paste, github gist, github gist paste')
9+
meta(name='darkreader' content='NO-DARKREADER-PLUGIN')
910
link(href='style/style.scss' rel='stylesheet')
1011
link(href='style/rosepine.min.css' rel='stylesheet')
1112
meta(name='title' content='zer0bin')

Diff for: frontend/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"@ant-design/icons-svg": "^4.2.1",
2727
"highlight.js": "^11.4.0",
2828
"js-confetti": "^0.10.2",
29+
"no-darkreader": "^1.0.1",
2930
"smooth-scrollbar": "^8.7.4",
3031
"tippy.js": "^6.3.7"
3132
}

Diff for: frontend/src/index.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import "no-darkreader"
2+
13
import hljs from "highlight.js"
24
import JSConfetti from "js-confetti"
35
import Scrollbar from "smooth-scrollbar"

Diff for: frontend/yarn.lock

+8
Original file line numberDiff line numberDiff line change
@@ -2373,6 +2373,13 @@ __metadata:
23732373
languageName: node
23742374
linkType: hard
23752375

2376+
"no-darkreader@npm:^1.0.1":
2377+
version: 1.0.1
2378+
resolution: "no-darkreader@npm:1.0.1"
2379+
checksum: d2723be352daff453ae775daced9c755767e2caaf138b645f10073fa9b3253cf28eadc2addd8ce6b17bc720b8201cc0c7e045b6352b44cdc51a9e143fee4e989
2380+
languageName: node
2381+
linkType: hard
2382+
23762383
"node-addon-api@npm:^3.2.1":
23772384
version: 3.2.1
23782385
resolution: "node-addon-api@npm:3.2.1"
@@ -3659,6 +3666,7 @@ __metadata:
36593666
"@types/node": ^17.0.21
36603667
highlight.js: ^11.4.0
36613668
js-confetti: ^0.10.2
3669+
no-darkreader: ^1.0.1
36623670
parcel: ^2.3.2
36633671
smooth-scrollbar: ^8.7.4
36643672
tippy.js: ^6.3.7

0 commit comments

Comments
 (0)