mirror of
https://github.com/httpjamesm/AnonymousOverflow.git
synced 2024-12-06 19:16:43 +01:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b4a746da3d |
@@ -22,13 +22,9 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
# Uses the `docker/login-action` action to log in to the Container registry registry using the account and password that will publish the packages. Once published, the packages are scoped to the account defined here.
|
||||
- name: Log in to the Container registry
|
||||
uses: docker/login-action@v3
|
||||
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.actor }}
|
||||
@@ -36,17 +32,16 @@ jobs:
|
||||
# This step uses [docker/metadata-action](https://github.com/docker/metadata-action#about) to extract tags and labels that will be applied to the specified image. The `id` "meta" allows the output of this step to be referenced in a subsequent step. The `images` value provides the base name for the tags and labels.
|
||||
- name: Extract metadata (tags, labels) for Docker
|
||||
id: meta
|
||||
uses: docker/metadata-action@v5
|
||||
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
|
||||
with:
|
||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||
# This step uses the `docker/build-push-action` action to build the image, based on your repository's `Dockerfile`. If the build succeeds, it pushes the image to GitHub Packages.
|
||||
# It uses the `context` parameter to define the build's context as the set of files located in the specified path. For more information, see "[Usage](https://github.com/docker/build-push-action#usage)" in the README of the `docker/build-push-action` repository.
|
||||
# It uses the `tags` and `labels` parameters to tag and label the image with the output from the "meta" step.
|
||||
- name: Build and push Docker image
|
||||
uses: docker/build-push-action@v6
|
||||
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
platforms: linux/amd64,linux/arm64
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
|
||||
+2
-5
@@ -1,4 +1,4 @@
|
||||
FROM golang:1.22.1-alpine3.19 AS build
|
||||
FROM golang:1.22.1-alpine3.19 as build
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
@@ -9,10 +9,7 @@ RUN go mod download
|
||||
|
||||
COPY . .
|
||||
|
||||
# Architecture and OS are set dynamically (by BuildKit)
|
||||
ARG TARGETOS
|
||||
ARG TARGETARCH
|
||||
ENV CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH
|
||||
ENV CGO_ENABLED=0
|
||||
|
||||
RUN go build -o anonymousoverflow && go build -o healthcheck ./src/healthcheck
|
||||
|
||||
|
||||
+8
-33
@@ -2,7 +2,7 @@
|
||||
"clearnet": [
|
||||
{
|
||||
"url": "https://code.whatever.social",
|
||||
"regions": ["Canada", "United States"],
|
||||
"regions": ["Germany"],
|
||||
"operators": ["https://whatever.social", "https://httpjames.space"]
|
||||
},
|
||||
{
|
||||
@@ -47,7 +47,7 @@
|
||||
},
|
||||
{
|
||||
"url": "https://ao.bloat.cat",
|
||||
"regions": ["Germany"],
|
||||
"regions": ["Romania"],
|
||||
"operators": ["https://bloat.cat"]
|
||||
},
|
||||
{
|
||||
@@ -76,14 +76,14 @@
|
||||
"operators": ["https://rootdo.com"]
|
||||
},
|
||||
{
|
||||
"url": "https://anonoverflow.hyperreal.coffee",
|
||||
"regions": ["United States"],
|
||||
"operators": ["https://hyperreal.coffee"]
|
||||
"url": "https://anonoverflow.nirn.quest",
|
||||
"regions": ["Canada"],
|
||||
"operators": ["https://nirn.quest", "https://hyperreal.coffee"]
|
||||
},
|
||||
{
|
||||
"url": "https://o.sudovanilla.org",
|
||||
"url": "https://overflow.sudovanilla.com",
|
||||
"regions": ["United States"],
|
||||
"operators": ["https://sudovanilla.org"]
|
||||
"operators": ["https://sudovanilla.com"]
|
||||
},
|
||||
{
|
||||
"url": "https://anonymousoverflow.privacyfucking.rocks/",
|
||||
@@ -123,7 +123,7 @@
|
||||
{
|
||||
"url": "https://soflow.nerdvpn.de",
|
||||
"regions": ["Ukraine"],
|
||||
"operators": ["https://nerdvpn.de"]
|
||||
"operators": ["https://github.com/Sommerwiesel"]
|
||||
},
|
||||
{
|
||||
"url": "https://overflow.einfachzocken.eu/",
|
||||
@@ -149,26 +149,6 @@
|
||||
"url": "https://anonflow.aketawi.space/",
|
||||
"regions": ["Russia"],
|
||||
"operators": ["https://www.aketawi.space/"]
|
||||
},
|
||||
{
|
||||
"url": "https://anonymousoverflow.gitro.xyz",
|
||||
"regions": ["Germany"],
|
||||
"operators": ["https://gitro.xyz"]
|
||||
},
|
||||
{
|
||||
"url": "https://ao.bunk.lol",
|
||||
"regions": ["Iceland"],
|
||||
"operators": ["https://bunk.lol"]
|
||||
},
|
||||
{
|
||||
"url": "https://o.iii.st/",
|
||||
"regions": ["Germany"],
|
||||
"operators": ["https://iii.st/"]
|
||||
},
|
||||
{
|
||||
"url": "https://overflow.canine.tools/",
|
||||
"regions": ["United States"],
|
||||
"operators": ["https://canine.tools/"]
|
||||
}
|
||||
],
|
||||
|
||||
@@ -209,11 +189,6 @@
|
||||
"operators": [
|
||||
"http://darknessrdor43qkl2ngwitj72zdavfz2cead4t5ed72bybgauww5lyd.onion/"
|
||||
]
|
||||
},
|
||||
{
|
||||
"url": "http://o.zx56doutynmbgezxtpccduajwcblzx7fgio2yuy57a3jingco2c6fvqd.onion/",
|
||||
"regions": ["Germany"],
|
||||
"operators": ["https://iii.st/"]
|
||||
}
|
||||
],
|
||||
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 49 48">
|
||||
<circle cx="14.5" cy="33.5" r="14.5" fill="#8cffc0"/>
|
||||
<circle cx="14.5" cy="14.5" r="14.5" fill="#fff"/>
|
||||
<circle cx="34.5" cy="14.5" r="14.5" fill="#8cffc0"/>
|
||||
<circle cx="34.5" cy="33.5" r="14.5" fill="#fff"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 294 B |
Binary file not shown.
|
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 9.3 KiB |
+1
-2
@@ -41,7 +41,6 @@
|
||||
|
||||
a {
|
||||
color: var(--link-color);
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
html {
|
||||
@@ -92,4 +91,4 @@ details {
|
||||
|
||||
.fw-nowrap {
|
||||
flex-wrap: nowrap;
|
||||
}
|
||||
}
|
||||
+1
-2
@@ -6,7 +6,6 @@
|
||||
<link rel="stylesheet" href="/static/home.css" />
|
||||
<meta http-equiv="Content-Security-Policy"
|
||||
content="default-src 'none'; style-src 'self'; script-src 'none'; img-src 'self';" />
|
||||
<link rel="icon" href="/static/codecircles.svg" />
|
||||
<link rel="icon" href="/static/codecircles.webp" />
|
||||
<meta name="description" content="View StackOverflow threads in privacy and without the clutter." />
|
||||
{{ template "sharedHead.html" }}
|
||||
@@ -15,7 +14,7 @@
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="title">
|
||||
<img class="logo" src="/static/codecircles.svg" alt="" />
|
||||
<img class="logo" src="/static/codecircles.webp" alt="" />
|
||||
<h1>Anonymous­Overflow</h1>
|
||||
</div>
|
||||
<h2>Get programming help without compromising your privacy.</h2>
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<body>
|
||||
<div class="header">
|
||||
<a href="/" class="logo-link">
|
||||
<img class="logo" src="/static/codecircles.svg" alt="AnonymousOverflow home" />
|
||||
<img class="logo" src="/static/codecircles.webp" alt="AnonymousOverflow home" />
|
||||
</a>
|
||||
</div>
|
||||
<div class="card">
|
||||
|
||||
Reference in New Issue
Block a user