10
10
<br>
11
11
<p align="center">
12
12
<a href="https://github.com/zer0bin-dev/zer0bin/stargazers">
13
- <img alt="Stargazers" src="https://custom-icon-badges.herokuapp.com/github/stars/zer0bin-dev/zer0bin?style=for-the-badge&logo=star&color=f6c177&logoColor=31748f&labelColor=12101F "></a>
14
- <!-- <a href="https://github.com/zer0bin-dev/zer0bin/releases/latest">
15
- <img alt="Releases" src="https://img.shields.io/github/release/zer0bin-dev/zer0bin?style=for-the-badge&logo=github&color=31748f&logoColor=ebbcba &labelColor=12101F "/></a> -- >
13
+ <img alt="Stargazers" src="https://custom-icon-badges.herokuapp.com/github/stars/zer0bin-dev/zer0bin?style=for-the-badge&logo=star&color=f6c177&logoColor=31748f&labelColor=191724 "></a>
14
+ <a href =" https://github.com/zer0bin-dev/zer0bin/releases/latest " >
15
+ <img alt =" Releases " src =" https://img.shields.io/github/release/zer0bin-dev/zer0bin?style=for-the-badge&logo=github&color=31748f&logoColor=908caa &labelColor=191724 " /></a >
16
16
<a href =" https://github.com/zer0bin-dev/zer0bin/issues " >
17
- <img alt="Issues" src="https://custom-icon-badges.herokuapp.com/github/issues/zer0bin-dev/zer0bin?style=for-the-badge&logo=issue-opened&color=9ccfd8&logoColor=eb6f92&labelColor=12101F "></a>
17
+ <img alt =" Issues " src =" https://custom-icon-badges.herokuapp.com/github/issues/zer0bin-dev/zer0bin?style=for-the-badge&logo=issue-opened&color=9ccfd8&logoColor=eb6f92&labelColor=191724 " ></a >
18
18
<a href =" https://github.com/zer0bin-dev/zer0bin/blob/main/LICENSE " >
19
- <img alt="License" src="https://custom-icon-badges.herokuapp.com/github/license/zer0bin-dev/zer0bin?style=for-the-badge&logo=law&color=c4a7e7&logoColor=ebbcba&labelColor=12101F "></a>
19
+ <img alt =" License " src =" https://custom-icon-badges.herokuapp.com/github/license/zer0bin-dev/zer0bin?style=for-the-badge&logo=law&color=c4a7e7&logoColor=ebbcba&labelColor=191724 " ></a >
20
20
</p >
21
21
<br>
22
22
</div >
@@ -27,44 +27,45 @@ Submit your public instance [here](https://github.com/Domterion/zer0bin/issues/n
27
27
28
28
| Website | Expiration | Max paste size | Version | Country |
29
29
| ---------------------------------------------- | ---------- | -------------- | ------- | ------- |
30
- | zer0b.in (not up yet) | 7 days | 40,000 chars | vx.x.x | ? |
31
- | [ stepbro.voring.me] ( https://stepbro.voring.me ) | 365 days | 69,000 chars | v0.6 .1 | 🇺🇸 US |
30
+ | zer0b.in | 7 days | 40,000 chars | v1.0.0 | 🇺🇸 USA |
31
+ | [ stepbro.voring.me] ( https://stepbro.voring.me ) | 365 days | 69,000 chars | v0.7 .1 | 🇺🇸 USA |
32
32
33
33
# Technologies used
34
34
35
35
### Frontend:
36
36
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> <a href="https://github.com/loonywizard/js-confetti"><img src="https://cdn.discordapp.com/attachments/810799100940255260/953564432896782416/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://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>
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
38
39
39
### Backend:
40
40
41
41
<a href="https://www.rust-lang.org/"><img src="https://github.com/tandpfun/skill-icons/raw/main/icons/Rust.svg" height=40/></a> <a href="https://actix.rs/"><img src="https://user-images.githubusercontent.com/44733677/158648238-0586f185-4e0c-43bc-b6a9-effd18b3b1ac.svg" height=40/></a> <a href="https://github.com/serde-rs/serde"><img src="https://cdn.discordapp.com/attachments/810799100940255260/953176309964627978/Serde-Dark.svg" height=40/></a> <a href="https://github.com/launchbadge/sqlx"><img src="https://cdn.discordapp.com/attachments/810799100940255260/953176310354673704/SQLX-Dark.svg" height=40/></a> <a href="https://github.com/chronotope/chrono"><img src="https://cdn.discordapp.com/attachments/810799100940255260/953178919169835018/NPM-svg.png" height=40/></a> <a href="https://www.postgresql.org/"><img src="https://github.com/tandpfun/skill-icons/raw/main/icons/PostgreSQL-Dark.svg" height=40/></a> <a href="https://github.com/nikolay-govorov/nanoid"><img src="https://cdn.discordapp.com/attachments/810799100940255260/953176309629067354/NanoID-Dark.svg" height=40/></a>
42
42
43
43
### Misc:
44
44
45
- <a href =" https://nginx.com/ " ><img src =" https://github.com/tandpfun/skill-icons/raw/main/icons/Nginx.svg " height =40/ ></a > <a href = " https://github.com/google/ngx_brotli " >< img src = " https://cdn.discordapp.com/attachments/810799100940255260/953552981691883520/Brotli.svg " height = 40/ ></ a > < a href =" https://docker.com/ " ><img src =" https://github.com/tandpfun/skill-icons/raw/main/icons/Docker.svg " height =40/ ></a > <a href =" https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax " ><img src =" https://github.com/tandpfun/skill-icons/raw/main/icons/Markdown-Dark.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://git-scm.com / " ><img src =" https://github. com/tandpfun/skill-icons/raw/main/icons/Git .svg " height =40/ ></a >
45
+ <a href =" https://nginx.com/ " ><img src =" https://github.com/tandpfun/skill-icons/raw/main/icons/Nginx.svg " height =40/ ></a > <!-- <a href="https://docker.com/"><img src="https://github.com/tandpfun/skill-icons/raw/main/icons/Docker.svg" height=40/></a> --> <a href =" https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax " ><img src =" https://github.com/tandpfun/skill-icons/raw/main/icons/Markdown-Dark.svg " height =40/ ></a > <a href =" https://git-scm.com / " ><img src =" https://github. com/tandpfun/skill-icons/raw/main/icons/Git .svg " height =40/ ></a > <a href =" https://www.conventionalcommits.org / " ><img src =" https://cdn.discordapp. com/attachments/810799100940255260/954930714007191582/ConventionalCommits .svg " height =40/ ></a >
46
46
47
47
###### (Sorta) made with [ Skill Icons] ( https://skillicons.dev/ )
48
48
49
49
# API
50
50
51
- - ** GET** ` /api/p/:id ` - Get a paste by ID
52
- - ** POST** ` /api/p/n ` - Post a new paste
53
- - ** GET** ` /api/s ` - Get stats about the instance
51
+ - ** GET** ` /api/p/:id ` - Get a paste by ID
52
+ - ** POST** ` /api/p/n ` - Post a new paste
53
+ - ** GET** ` /api/s ` - Get stats about the instance
54
54
55
55
# Self-host instructions
56
56
57
57
### Requirements
58
58
59
- - 🦀 [ Rust] ( https://www.rust-lang.org/ ) ≥ 1.58.0
60
- - 🐈 [ Yarn] ( https://yarnpkg.com/ ) ≥ 1.0.0
61
- - 🐘 [ PostgreSQL] ( https://www.postgresql.org/ ) ≥ 9.6
62
- - 🦝 [ Nginx] ( https://www.nginx.com/ ) ≥ 1.18.0
63
- - 🌾 [ Brotli plugin] ( https://github.com/google/ngx_brotli ) recommended
64
- - 🐧 [ Linux] ( https://kernel.org/ ) or 😈 [ FreeBSD] ( https://freebsd.org/ )
65
- - 🌄 Domain with [ SSL] ( https://letsencrypt.org/ )
59
+ - 🦀 [ Rust] ( https://www.rust-lang.org/ ) ≥ 1.58.0
60
+ - 🐈 [ Yarn] ( https://yarnpkg.com/ ) ≥ 1.0.0
61
+ - 🐘 [ PostgreSQL] ( https://www.postgresql.org/ ) ≥ 9.6
62
+ - 🦝 [ Nginx] ( https://www.nginx.com/ ) ≥ 1.18.0
63
+ - 🌾 [ Brotli plugin] ( https://github.com/google/ngx_brotli ) recommended
64
+ - 🐧 [ Linux] ( https://kernel.org/ ) or 😈 [ FreeBSD] ( https://freebsd.org/ )
65
+ - 🌄 Domain with [ SSL] ( https://letsencrypt.org/ )
66
66
67
- ### Steps
67
+ <details >
68
+ <summary><h3>Steps</h3></summary>
68
69
69
70
Please run each command one at a time!
70
71
@@ -88,9 +89,10 @@ cargo build --release
88
89
./target/release/zer0bin-bin # Preferably in a tmux session or as a service
89
90
```
90
91
91
- ### Configuration
92
+ </ details >
92
93
93
94
<details >
95
+ <summary><h3>Configuration</h3></summary>
94
96
95
97
| Key | Values | Description |
96
98
| ------------------------------------------ | ------------------------ | ------------------------------------------------------------------------------ |
@@ -112,16 +114,19 @@ cargo build --release
112
114
###### Measured with Lighthouse and Firefox Network Performance Analysis
113
115
114
116
<details >
115
-
117
+ <summary><h3>Results</h3></summary>
118
+
116
119
### Homepage
117
120
118
- ![ image] ( https://user-images.githubusercontent.com/44733677/158523056-2d1b4a38-76f8-413f-b4df-5fd3d920dc66.png )
119
- ![ image] ( https://user-images.githubusercontent.com/44733677/158523711-19f34696-b88f-4a6c-9a66-a77cf2f3e74e.png )
121
+ ![ image] ( https://user-images.githubusercontent.com/44733677/159143364-a6e06aee-256e-4998-83f2-541c77e85184.png )
122
+ ![ image] ( https://user-images.githubusercontent.com/44733677/159143316-c8e95ed6-ec32-44b3-abcc-18bd204a004d.png )
123
+ ![ image] ( https://user-images.githubusercontent.com/44733677/159143321-aa8a5f6f-53d2-40d1-bff9-71d72347e7ea.png )
120
124
121
125
### 20 line paste
122
126
123
- ![ image] ( https://user-images.githubusercontent.com/44733677/158522958-a226612f-3848-43be-876e-8822a4cc9907.png )
124
- ![ image] ( https://user-images.githubusercontent.com/44733677/158523846-d79a94a5-64a5-475a-b481-e72141b47cf6.png )
127
+ ![ image] ( https://user-images.githubusercontent.com/44733677/159143373-6e8787d8-61ef-44dc-9d66-52cd74e2a495.png )
128
+ ![ image] ( https://user-images.githubusercontent.com/44733677/159143298-f8c7420d-ff76-4db7-a98e-03ff3615315e.png )
129
+ ![ image] ( https://user-images.githubusercontent.com/44733677/159143303-efb71e15-623a-42cc-abf6-7e602843d801.png )
125
130
126
131
</details >
127
132
0 commit comments