[GH-ISSUE #988] [FEATURE] Site alternative redirect: Stack Overflow -> Anonymous Overflow #611

Closed
opened 2026-02-25 20:36:08 +03:00 by kerem · 5 comments
Owner

Originally created by @0x09AF on GitHub (Apr 15, 2023).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/988

Describe the feature you'd like to see added
Could we add Anonymous Overflow support in SITE_ALTS?

Additional context
I personally come across Stack Overflow for a lot of tech research, and would like built-in support

Originally created by @0x09AF on GitHub (Apr 15, 2023). Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/988 <!-- DO NOT REQUEST UI/THEME/GUI/APPEARANCE IMPROVEMENTS HERE THESE SHOULD GO IN ISSUE #60 REQUESTING A NEW FEATURE SHOULD BE STRICTLY RELATED TO NEW FUNCTIONALITY --> **Describe the feature you'd like to see added** Could we add [Anonymous Overflow](https://github.com/httpjamesm/AnonymousOverflow) support in [SITE_ALTS](https://github.com/benbusby/whoogle-search/blob/main/app/utils/results.py#L32)? **Additional context** I personally come across Stack Overflow for a lot of tech research, and would like built-in support
kerem 2026-02-25 20:36:08 +03:00
Author
Owner

@StevenAlexander44 commented on GitHub (Apr 21, 2023):

There should be a way to add custom URL's through env variables.

<!-- gh-comment-id:1517806111 --> @StevenAlexander44 commented on GitHub (Apr 21, 2023): There should be a way to add custom URL's through env variables.
Author
Owner

@0x09AF commented on GitHub (May 2, 2023):

@StevenAlexander44
As far as I understand these are the possible redirects:

# Site alternative configurations, uncomment to enable
# Note: If not set, the feature will still be available
# with default values.
#Environment=WHOOGLE_ALT_TW=farside.link/nitter
#Environment=WHOOGLE_ALT_YT=farside.link/invidious
#Environment=WHOOGLE_ALT_RD=farside.link/libreddit
#Environment=WHOOGLE_ALT_MD=farside.link/scribe
#Environment=WHOOGLE_ALT_TL=farside.link/lingva
#Environment=WHOOGLE_ALT_IMG=farside.link/rimgo
#Environment=WHOOGLE_ALT_WIKI=farside.link/wikiless
#Environment=WHOOGLE_ALT_IMDB=farside.link/libremdb
#Environment=WHOOGLE_ALT_QUORA=farside.link/quetre

I don't see a way to add custom URL redirects.

<!-- gh-comment-id:1530773116 --> @0x09AF commented on GitHub (May 2, 2023): @StevenAlexander44 As far as I understand these are the possible redirects: ``` # Site alternative configurations, uncomment to enable # Note: If not set, the feature will still be available # with default values. #Environment=WHOOGLE_ALT_TW=farside.link/nitter #Environment=WHOOGLE_ALT_YT=farside.link/invidious #Environment=WHOOGLE_ALT_RD=farside.link/libreddit #Environment=WHOOGLE_ALT_MD=farside.link/scribe #Environment=WHOOGLE_ALT_TL=farside.link/lingva #Environment=WHOOGLE_ALT_IMG=farside.link/rimgo #Environment=WHOOGLE_ALT_WIKI=farside.link/wikiless #Environment=WHOOGLE_ALT_IMDB=farside.link/libremdb #Environment=WHOOGLE_ALT_QUORA=farside.link/quetre ``` I don't see a way to add custom URL redirects.
Author
Owner

@StevenAlexander44 commented on GitHub (May 3, 2023):

Sorry, I meant: "I hope someone adds a way to make custom redirects"

There are plenty of useful redirects that they could add. This feature needs to be more scalable, as more and more frontends emerge.

<!-- gh-comment-id:1533000100 --> @StevenAlexander44 commented on GitHub (May 3, 2023): Sorry, I meant: "I hope someone adds a way to make custom redirects" There are plenty of [useful redirects](https://github.com/digitalblossom/alternative-frontends) that they could add. This feature needs to be more scalable, as more and more frontends emerge.
Author
Owner

@benbusby commented on GitHub (May 19, 2023):

@0x09AF Thanks for the suggestion, I'll likely add Anonymous Overflow to Farside shortly.

For redirecting Stack Overflow links, as @StevenAlexander44 pointed out, the current implementation isn't terribly scalable with new frontends being released. Instead I implemented a new environment variable, WHOOGLE_REDIRECTS, that can be used to define one or many redirects to instances of your choosing. It's documented in the readme, but here's an example for your use case:

WHOOGLE_REDIRECTS="stackoverflow.com:code.whatever.social" # or whichever instance you prefer

This supports multiple redirects using comma separation as well, such as:

WHOOGLE_REDIRECTS="stackoverflow.com:code.whatever.social,oldsite.com:newsite.com,..."
<!-- gh-comment-id:1555069242 --> @benbusby commented on GitHub (May 19, 2023): @0x09AF Thanks for the suggestion, I'll likely add Anonymous Overflow to Farside shortly. For redirecting Stack Overflow links, as @StevenAlexander44 pointed out, the current implementation isn't terribly scalable with new frontends being released. Instead I implemented a new environment variable, `WHOOGLE_REDIRECTS`, that can be used to define one or many redirects to instances of your choosing. It's documented in the readme, but here's an example for your use case: ```bash WHOOGLE_REDIRECTS="stackoverflow.com:code.whatever.social" # or whichever instance you prefer ``` This supports multiple redirects using comma separation as well, such as: ```bash WHOOGLE_REDIRECTS="stackoverflow.com:code.whatever.social,oldsite.com:newsite.com,..." ```
Author
Owner

@StevenAlexander44 commented on GitHub (May 19, 2023):

Read the committed README- looks like a good enough implementation

EDIT: Oh wow, didn't realize you're responsible for farside, cool

<!-- gh-comment-id:1555069886 --> @StevenAlexander44 commented on GitHub (May 19, 2023): Read the committed README- looks like a good enough implementation EDIT: Oh wow, didn't realize you're responsible for farside, cool
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/whoogle-search#611
No description provided.