Git Product home page Git Product logo

anonymousoverflow's Introduction

Hi there ๐Ÿ‘‹

  • ๐Ÿ’ฌ Ask me about cryptography
  • ๐Ÿ“ซ How to reach me: [email protected]
  • ๐Ÿ˜„ Pronouns: he/him
  • ๐Ÿง‘โ€๐Ÿ’ป What I'm currently working on: Horizon, Bitesized, ente
  • โšก Fun fact: I'm an avid privacy activist

Let's work together! Send me an email or a DM so we can make something awesome.

ko-fi

anonymousoverflow's People

Contributors

baalajimaestro avatar bnyro avatar dependabot[bot] avatar esmailelbobdev2 avatar extremelyonline avatar gi-yt avatar httpjamesm avatar mattfbacon avatar mcsinyx avatar ngn13 avatar nyuuzyou avatar patrick330602 avatar privacytime101 avatar r-flash avatar r7l avatar rramiachraf avatar sgvictorino avatar sjehuda avatar sudovanilla avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

anonymousoverflow's Issues

GUIDE: How to fix "Error: Received a non-OK status code"

"Error: Received a non-OK status code" means that your instance is blocked by StackOverflow, to 'fix' this you can route the traffic of the AnonymousOverflow container over a VPN using GlueTun.

I couldn't find any straightforward guide so I wrote this one after a little bit of research, I opted for Cloudflare Warp since it's free and traffic is encrypted with HTTPS anyway. But you can use any of these providers, in that case you can skip to step 7 after adding your AnonymousOverflow ports to GlueTun's docker compose file.

  1. Install wgcf
    https://github.com/ViRb3/wgcf/blob/master/README.md (this tool generates a WireGuard config for Cloudflare WARP)

  2. Run wgcf register and accept the terms and conditions of Cloudflare

  3. Run wgcf generate to generate a WireGuard config (this will save to wgcf-profile.conf)

Now we're gonna install GlueTun, it's a VPN client in the form of a Docker container. We need this to actually use the WireGuard config we generated

  1. First create a folder for GlueTun
    mkdir gluetun

  2. Inside of that folder, create a docker compose file using nano docker-compose.yml and paste the following:

version: "3"
services:
  gluetun:
    image: qmcgaw/gluetun
    cap_add:
      - NET_ADMIN
    environment:
      - VPN_SERVICE_PROVIDER=custom
      - VPN_TYPE=wireguard
      - VPN_ENDPOINT_IP=
      - VPN_ENDPOINT_PORT=
      - WIREGUARD_PUBLIC_KEY=
      - WIREGUARD_PRIVATE_KEY=
      - WIREGUARD_ADDRESSES=
    ports:
      - '80:8080' #edit these

Modify the ports values to those that you use for AnonymousOverflow

Copy the values for VPN_ENDPOINT_PORT, WIREGUARD_PUBLIC_KEY, WIREGUARD_PRIVATE_KEY from the wgcf-profile.conf that we generated using wgcf generate

For VPN_ENDPOINT_IP, you need to ping engage.cloudflareclient.com and use that IP address, for me it was 162.159.192.1

For WIREGUARD_ADDRESSES, you only need to copy paste the IPv4 address (not the IPv6). For me it was 172.16.0.2/32

  1. Now run docker compose up -d to start the GlueTun container and take note of the container name
  2. Now edit the docker compose file of AnonymousOverflow and add the following line at the bottom so that all traffic gets send through the GlueTun container. Modify it with your GlueTun container's name and remove the parentheses
    network_mode: container:(name of the GlueTun container)

Remove the ports from AnonymousOverflow docker compose file, since we already added them to GlueTun's. The reason we did this is because Docker doesn't support setting a network_mode and publishing ports at the same time

And then finally run docker compose up -d to start AnonymousOverflow with the new settings

Sources: qdm12/gluetun#1738, https://xtom.com/blog/how-to-route-your-docker-containers-through-a-vpn-gluetun-guide/#

Publish container images to a registry like ghcr.io

Currently docker users need to build the images every time manually for updates.
Publishing the container images to a image registry would help lessen the burden for instance owners, and allow for auto-updates as well.

Syntax-highlighting for code snippets

Good evening,
currently the code snippets are only displayed as plain text, without any syntax highlighting. Support for syntax highlighting would make it easier to quickly get the fundamentals of the provided code by the responder.

There are some JS libraries such as https://github.com/highlightjs/highlight.js that can deal with it, but since the app is currently using Go templates and thus SSR it's probably not the best way to solve it, apart from that you may want the app stay free of JavaScript. I've no clue whether there's any Go solution for it, but if so it would be the better one.

Cheers and thanks for the efforts, hope to see it being used more soon :)

APP_URL doesn't seem to follow routes

What's Happening?

The APP_URL environment variable doesn't seem to take into account routes. For example, if I do http://127.0.0.1/anonymousoverflow and set up a proxy pass with Nginx, content like images doesn't load. This is annoying for Nginx setups like mine which use subdomains to handle different services.

How to reproduce:

  1. Clone the repo
  2. Set APP_URL in docker-compose.yml to any domain + a route

Affected Platforms:

  • macOS
  • Windows
  • Linux (Server is DietPi, laptop is Arch)
  • iOS
  • Android

Version:
1.8.1

Browser:

Librewolf on Arch, Mull on Android

  • Chromium-based (ex: Brave or Chrome)
  • Webkit-based (ex: Safari)
  • Gecko-based (ex: Firefox)

Remove instance of "Esmail EL BoB"

Esmail is actively forbidding members or supporters of the LGBTQIA+ community to use their services via a TOS document*.
This is absolutely queerphobic and extremely discriminating. Therefore I ask to remove their instance anonymousoverflow.esmailelbob.xyz / anonymousoverflow.esmail5pdn24shtvieloeedh7ehz3nrwcdivnfhfcedl7gf4kwddhkqd.onion from the list, to not further support their actions.

*See the commit here: EsmailELBoBDev2/upptime@c46b9bf

[INSTANCE] Update instance info

Instance URL: ao.bloatcat.tk ---> ao.bloat.cat
Region (Written Out - ex United States): Iceland ---> Romania
Operated by (Link to your site): bloatcat.tk ---> bloat.cat

Links like /a/${question}/${answer} improperly redirected

[X] Please make sure you're on the latest version before submitting.

What's Happening?

Expected https://stackoverflow.com/a/36667242/1128668 to redirect to the question with the identifier of 36667242 but it instead redirected to an unrelated question with the identifier of 1128668

How to reproduce:

Follow a link onto a specific answer, i.e. with the question identifier first and then another identifier (for the answer) after it
Expectation: taken to https://overflow.datura.network/questions/36667242/placeholder
Reality: taken to https://overflow.lunar.icu/questions/1128668/placeholder

Affected Platforms:

  • macOS
  • Windows
  • Linux (Specify) Ubuntu GNU/Linux 22.04 with GNOME 42.9 and X11
  • iOS
  • Android

Version:
[unknown; I do not self host, I just use public instances]

Browser:

  • Chromium-based (ex: Brave or Chrome)
  • Webkit-based (ex: Safari)
  • Gecko-based (ex: Firefox)

Consider mirroring the repos to Codeberg

We should mirror our repos to Codeberg because:

  1. Codeberg is libre, free, open-source, privacy-friendly, non-profit
  2. GitHub is privacy-invasive, proprietary
  3. People on Codeberg like me can contribute to the project
  4. GitHub can take down your repos

Here are some sources for you:

  1. https://sfconservancy.org/GiveUpGitHub
  2. humanetech-community/awesome-humane-tech#33
  3. ungoogled-software/ungoogled-chromium#1894
  4. https://cadence.moe/blog/2022-07-03-git-forge-opinions-github-gitlab-gitea-sourcehut
  5. andersju/webbkoll#35
  6. https://docs.codeberg.org/advanced/migrating-repos

Many front-ends also are living on Codeberg at the moment:

FAQ

  1. Q: - GitHub Actions -- this is a huge time saver for me
    - Forcing all contributors to modify their current setup and move to another hosting -- we may just lose contributors in the end

    A: As I said, we only just mirror. The repo will be available and contributable on both sites.

  2. Q: - Transferring issues -- is this possible? Issues here represent a technical knowledge base we can't live without
    - Transferring wiki and all edit history -- possible?

    A: Yes, it is possible.
    a. Example for issues:

b. Example for commits:

c. Example for wiki:

  1. Q: Despite having mirror/s, the project will still continue to be operated from GitHub for development, so having yet another mirror doesn't solve anything.

    A: You can create issues, contribute, view the repos on there without going to GitHub! Example:

  1. Q: How does Codeberg mirror comments from GitHub?

    A: It uses Access Token.
    image

  2. Q: My repos are very bandwidth-intensive projects, and I have my doubts as to whether the owner(s) of Codeberg would be prepared for such a massive bandwidth rate increase. I've also had individual projects be disabled on small sites before due to taking too much bandwidth.

    A: Oh.. I think you should directly ask https://docs.codeberg.org/contact/ about if they are ready for massive bandwidth rate increase.

Theme change redirect URL always takes user to SO (because missing SE subdomain string)

What's Happening?

Clicking/tapping on the theme toggle button takes the user to that question number (if it exists) on SO, instead of whatever SE subdomain they were on.

How to reproduce:

  1. Open https://overflow.projectsegfau.lt/exchange/scifi/questions/218381/how-does-a-horcrux-work
  2. Click/tap on theme toggle.
  3. See that you're taken to an SO question with the corresponding URL: https://overflow.projectsegfau.lt/options/theme?redirect_url=https%3a%2f%2foverflow.projectsegfau.lt%2fquestions%2f218381%2fhow-does-a-horcrux-work

Affected Platforms:

  • All

Version: 1.10.1

Browser:

  • Chromium-based (ex: Brave or Chrome)
  • Webkit-based (ex: Safari)
  • Gecko-based (ex: Firefox)

Build ARM64 docker images

Hello, I noticed that a Dockerfile and package is added.

Would you please build multi-arch images (and include linux/arm64) as well? Thank you!

Consider adding an option to adjust parent max-width

Currently, the parent/wrapper can be quite wide.

This is a stylistic preference, but a long line length also affects readability.

I suggest to add an option to adjust the max-width or a "center mode" that can be toggled on the server side. Thanks.

For instance, the css code can be:

@media (orientation: landscape) { 
.parent {
    max-width: 50%;
    width: fit-content;
}
}
@media (orientation: portrait) { 
.parent {
    max-width: 90%;
    width: fit-content;
}
}

Cloudflare Email Protection wrongfully obfuscates normal text

Please make sure you're on the latest version before submitting.

What's Happening?

anywhere there is an email (or anything that contains the @ symbol in it) will appear as the html for the cloudflare email obfuscation thing for example <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="dc94b5bbb49c90eff2ee">[email protected]</a>

How to reproduce:

This userscript here can decode the protected emails https://0xacab.org/dCF/deCloudflare/-/tree/master/tool/cf_email_decoder so something like that could maybe be re-implemented client or server side.

I2P URL

I2P link seems to have a different instance of Nu Html Checker.
Please correct it.

How about Stackexchange?

I've found AnonymousOverflow through Libredirect. But it seems it's limited to Stackoverflow only. Are there any plans to extend it to Stackexchange?

[INSTANCE] New public instance

Instance URL: overflow.r4fo.com
Region (Written Out - ex United States): The Netherlands
Operated by (Link to your site): r4fo.com
Cloudflare: true

Light Theme Not Working Properly

Please make sure you're on the latest version before submitting.

What's Happening?

Even if I have a Cookie set as "theme" = "light". Still AO opens up in Dark Mode even if the Cookie is Read.

How to reproduce:

Have a Cookie set as "theme" = "dark" then manually edit it to "light". and refresh the page.

Affected Platforms:

  • macOS
  • Windows
  • Linux (Fedora 37)
  • iOS
  • Android

Version: GNU/Linux Kernel 6.2

Browser:

  • Chromium-based (ex: Brave or Chrome)
  • Webkit-based (ex: Safari)
  • Gecko-based (ex: LibreWolf)

LaTeX rendering not implemented

Please make sure you're on the latest version before submitting.

What's Happening?

This project is really nice, I love the cleanness of the website. However, there doesn't appear to be any LaTeX rendering. Without it, some posts are not very readable.

How to reproduce:

Go to any Stackoverflow or Stackexchange post containing LaTeX, such as https://crypto.stackexchange.com/questions/68663/can-we-use-fixed-beavers-multiplication-triples-many-times

Affected Platforms:

  • macOS
  • Windows
  • Linux (Specify)
  • iOS
  • Android

Version:

Browser:

  • Chromium-based (ex: Brave or Chrome)
  • Webkit-based (ex: Safari)
  • Gecko-based (ex: Firefox)

Seeing "Error: You have exceeded the request limit. Please try again in a minute."

This error is showing up quite often. How does it come to that? Does that mean the instance is blocked or is it just me using one instance to much?

I wonder since i wouldn't mind selfhosting an instance for me (can't run a public instance currently) but if this will hit my local instance as well, it wouldn't make much sense to do so.

Getting redirected to seemingly random questions?

Please make sure you're on the latest version before submitting.
1.11.0

What's Happening?

When I open a link for StackExchange, Anonymous overflow shows me a completely different question that the one the link is for

How to reproduce:

Search for a question that will show StackExchange results
Click the link

Affected Platforms:

  • macOS
  • Windows
  • [Fedora ] Linux (Specify)
  • iOS
  • Android

Version:

Browser:

  • Chromium-based (ex: Brave or Chrome)
  • Webkit-based (ex: Safari)
  • [ X] Gecko-based (ex: Firefox)

Here's an example

https://superuser.com/questions/1698539/use-usb-tethering-for-local-router-as-internet-gateway
redirects to
https://code.whatever.social/questions/1698539/use-usb-tethering-for-local-router-as-internet-gateway
which is something about a WatiN error

Redirect further SE links opened from within instance

What's Happening?

Once you've opened an AO page, any further SE links end up taking you to the original SE website.

Like Libreddit/Redlib, AO should overwrite SE links within the opened page to that same AO instance.

How to reproduce:

  1. Open an AO page with an SE link in the question/answers.
  2. Click on that link.

Affected Platforms:

  • all

Version: Don't know how to check. This should be made visible somewhere on every instance page. e.g. Libreddit/Redlib shows version at the bottom of the page.

Browser:

  • Chromium-based (ex: Brave or Chrome)
  • Webkit-based (ex: Safari)
  • Gecko-based (ex: Firefox)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.