mirror of
https://github.com/benbusby/whoogle-search.git
synced 2026-04-25 20:25:51 +03:00
[GH-ISSUE #988] [FEATURE] Site alternative redirect: Stack Overflow -> Anonymous Overflow #611
Labels
No labels
Fixed (Pending PR Merge)
Stale
bug
enhancement
enhancement
good first issue
help wanted
keep-open
needs more info
pull-request
question
theme
unfortunate
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/whoogle-search#611
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
@StevenAlexander44 commented on GitHub (Apr 21, 2023):
There should be a way to add custom URL's through env variables.
@0x09AF commented on GitHub (May 2, 2023):
@StevenAlexander44
As far as I understand these are the possible redirects:
I don't see a way to add custom URL redirects.
@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.
@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:This supports multiple redirects using comma separation as well, such as:
@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
WHOOGLE_AUTOCOMPLETE=0#923