Compare commits

..

6 Commits

Author SHA1 Message Date
httpjamesm ef723a0c21 Merge branch 'main' of https://github.com/privacytime101/AnonymousOverflow into privacytime101-main 2022-12-28 16:42:55 -05:00
Whatever Social 0e2e8b26f6 Create new_instance.yml 2022-12-28 13:39:37 -08:00
Whatever Social 5a1e1ca652 Add vern.cc 2022-12-28 13:32:05 -08:00
httpjamesm 5373b9d979 docs: add vern instance 2022-12-28 16:26:01 -05:00
httpjamesm a3b69f37a2 docs: jae 777.tf instance 2022-12-28 15:51:23 -05:00
httpjamesm f9025ff9cc fix: no cache middleware to prevent visual bugs 2022-12-28 14:14:30 -05:00
5 changed files with 38 additions and 4 deletions
+12
View File
@@ -0,0 +1,12 @@
---
name: New Instance
about: ''
title: "[INSTANCE] New public instance"
labels: ''
assignees: ''
---
Instance URL:
Region (Written Out - ex United States):
Operated by (Link to your site):
+12 -3
View File
@@ -12,11 +12,20 @@ This project is super lightweight by design. The UI is simple and the frontend i
![Answer](https://cdn.horizon.pics/0RwQtrxH3COTC9sfo0FsQ56I3Opl0m.png)
## Instances
## Clearnet Instances
| Instance URL | Region | Notes |
|------------------------------------------------------|-------------------------|--------------------------------------------------------------------------------------------------|
| ---------------------------------------------------- | ----------------------- | ------------------------------------------------------------------------------------------------ |
| [code.whatever.social](https://code.whatever.social) | United States & Germany | Operated by [Whatever Social](https://whatever.social) and [http.james](https://httpjames.space) |
| [overflow.777.tf](https://overflow.777.tf/) | The Netherlands | Operated by [Jae](https://777.tf) |
| [ao.vern.cc](https://ao.vern.cc) | United States | Operated by [vern.cc](https://vern.cc) |
## Other Instances
| Instance URL | Region | Notes |
| --------------------------------------------------------------------------------------------------------------------------------------------- | ------------- | -------------------------------------- |
| [ao.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion](http://ao.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion) | United States | Operated by [vern.cc](https://vern.cc) |
| [vernmzgraj6aaoafmehupvtkkynpaa67rxcdj2kinwiy6konn6rq.b32.i2p](http://vernmzgraj6aaoafmehupvtkkynpaa67rxcdj2kinwiy6konn6rq.b32.i2p) | United States | Operated by [vern.cc](https://vern.cc) |
## How it works
@@ -46,4 +55,4 @@ Run `docker compose up -d` to build and start the container.
## Attribution
- Icons provided by [heroicons](https://heroicons.com) under the [MIT License](https://choosealicense.com/licenses/mit/)
- Icons provided by [heroicons](https://heroicons.com) under the [MIT License](https://choosealicense.com/licenses/mit/)
+1 -1
View File
@@ -1,3 +1,3 @@
package config
var Version = "1.1"
var Version = "1.1.1"
+1
View File
@@ -35,6 +35,7 @@ func main() {
r.Static("/static", "./public")
r.Use(gin.Recovery())
r.Use(middleware.NoCacheMiddleware())
r.Use(middleware.OptionsMiddleware())
r.Use(middleware.Ratelimit())
+12
View File
@@ -0,0 +1,12 @@
package middleware
import "github.com/gin-gonic/gin"
func NoCacheMiddleware() gin.HandlerFunc {
return func(c *gin.Context) {
c.Header("Cache-Control", "no-cache, no-store, must-revalidate")
c.Header("Pragma", "no-cache")
c.Header("Expires", "0")
c.Next()
}
}