Commit graph

870 commits

Author SHA1 Message Date
Don-Swanson
442060b2ef
Fixed JSON search function to improve link extraction by targeting specific result containers and retrieving all relevant text, enhancing the accuracy of search results. 2025-09-30 20:12:26 -05:00
Don-Swanson
0fe29daaf1
Add pre-release build and push step in GitHub Actions workflow for versioned releases 2025-09-23 23:52:52 -05:00
Don-Swanson
579d983db8
Update GitHub Actions workflows to trigger builds on release events and enforce versioning for PyPI publishing. Change application version to '1.0.0-beta'. 2025-09-23 23:47:11 -05:00
Don-Swanson
be83605c77
Update dependencies in requirements.txt and refactor file handling in app initialization and utility functions to use context managers for better resource management. Adjust filter logic to utilize 'string' instead of 'text' for BeautifulSoup queries, enhancing compatibility with future versions. 2025-09-23 22:14:41 -05:00
Don-Swanson
ffdeeb5f44
Enhance autocomplete functionality by adding environment variable check to enable/disable it globally. Improve error handling in HTTP client for closed connections and add client recreation logic. Refactor link extraction to avoid details elements in search results. 2025-09-23 21:37:21 -05:00
Don-Swanson
99c7c7b00d
Refactor search and test files to ensure proper context usage for Config initialization. Updated search function to use fallback for full_query and adjusted tests to utilize app context for Config instantiation. 2025-09-21 00:24:22 -05:00
Don-Swanson
7f80eb1e51
feat(beta): httpx migration, Tor/proxy refactor, JSON results, alt-link fixes, tests, optional static bundling, HTTP/2 env toggle, cleanup 2025-09-21 00:11:54 -05:00
Don
418d9df89c
Merge pull request #1242 from benbusby/dependabot/pip/jinja2-3.1.6
Bump jinja2 from 3.1.5 to 3.1.6
2025-09-20 16:45:25 -05:00
Don
3733d87546
Merge pull request #1243 from benbusby/dependabot/pip/cryptography-45.0.7
Bump cryptography from 3.3.2 to 45.0.7
2025-09-20 16:44:29 -05:00
Don
6782413560
Update requirements.txt 2025-09-20 16:24:20 -05:00
Don
1c1dcfc270
Update requirements.txt
Fixed dependency issues
2025-09-20 16:22:19 -05:00
Don
ba757b64e8
Update stale.yml 2025-09-15 08:31:29 -05:00
dependabot[bot]
3476367ee1
Bump cryptography from 3.3.2 to 44.0.1
Bumps [cryptography](https://github.com/pyca/cryptography) from 3.3.2 to 44.0.1.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/3.3.2...44.0.1)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-version: 44.0.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-14 15:00:08 +00:00
dependabot[bot]
7ce8c0b216
Bump jinja2 from 3.1.5 to 3.1.6
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.5 to 3.1.6.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.5...3.1.6)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-version: 3.1.6
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-14 14:59:53 +00:00
Don
e24f2d751c
Create stale.yml
Setup automation to close stale issues to discover what is actually still an issue.
2025-09-14 09:59:04 -05:00
Don
ec9e7877b6
Merge pull request #1228 from tunazorlu/turkishtranslation
LGTM
2025-09-14 08:23:01 -05:00
Don
c70497d532
Update countries.json
Macedonia is now North Macedonia
2025-09-14 08:06:52 -05:00
Don
69d1ddae0c
Updated UI Config to respect User Agent in ENV file if exists (#1240)
* Updated UI Config to respect User Agent in ENV file if exists

* Updated version number
2025-09-12 19:24:44 -06:00
Yaşar Tuna Zorlu
339eb61cea Turkish Language Translation Update
-Turkish translation added,
-"Turkish language name" in turkish is "Türkçe" so fixed it on languages.json
-Turkey's name changed into Türkiye in 2022 as stated in United Nations (please refer to the UN related webpage: https://bit.ly/turkiyeofficialname). And the order in the language list has also been adjusted so that the letter u is followed by the letter ü when listing Türkiye.
e4cabe
2025-05-03 11:49:05 +03:00
Tingyu
e4cabe3e5b
Add public instance [skip ci] (#1224)
Adds https://whoogle.4040940.xyz as a public instance

---------

Co-authored-by: Ben Busby <contact@benbusby.com>
2025-03-10 11:57:27 -06:00
Ben Busby
f25611cbcb
Add 4get as an option for continuing search
Some checks failed
docker_tests / docker (push) Has been cancelled
pypi / Build and publish to TestPyPI (push) Has been cancelled
pypi / Build and publish to PyPI (push) Has been cancelled
tests / test (push) Has been cancelled
Closes #1222
2025-02-25 15:53:46 -07:00
Asmodeus
97502de606
Remove dead instances [skip ci] (#1223)
Removes dead instances from readme and instances txt file

---------

Co-authored-by: Ben Busby <contact@benbusby.com>
2025-02-25 15:29:13 -07:00
Ben Busby
1339c49dc5
Temporarily disable full size image search
Some checks failed
docker_tests / docker (push) Has been cancelled
pypi / Build and publish to TestPyPI (push) Has been cancelled
pypi / Build and publish to PyPI (push) Has been cancelled
tests / test (push) Has been cancelled
The reliance on non-mobile user agents breaks the full size image search
config option, leading to empty image search result pages
2025-01-29 10:50:27 -07:00
Ben Busby
dda91ad155
Bump version to 0.9.3
Some checks failed
docker_tests / docker (push) Has been cancelled
pypi / Build and publish to TestPyPI (push) Has been cancelled
pypi / Build and publish to PyPI (push) Has been cancelled
tests / test (push) Has been cancelled
2025-01-22 12:14:10 -07:00
dependabot[bot]
d6c8d73147
Bump jinja2 from 3.1.4 to 3.1.5 (#1209)
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.4...3.1.5)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-22 12:11:07 -07:00
cosark
123a00669c
Add RepoCloud.io option to readme [skip ci] (#1197)
Adding segment to Readme enabling community access to option to deploy on RepoCloud.io
2025-01-22 12:08:20 -07:00
Joey Chen
5218d97f02
Update helm instructions [skip ci] (#1196)
* Replace `helm install` with `helm upgrade --install`

* Migrate old API (autoscaling/v2beta1) to latest API (autoscaling/v2) and add compatibility with old API

* Set `autoscaling/v2` version target to `v1.23`
2025-01-22 12:06:36 -07:00
Ben Busby
fb19bded0d
Fix styling of pages using lynx user agent
See #1211
2025-01-22 12:00:57 -07:00
Ben Busby
5701d0d55f
Bump version to 0.9.2
Some checks failed
docker_tests / docker (push) Has been cancelled
pypi / Build and publish to TestPyPI (push) Has been cancelled
pypi / Build and publish to PyPI (push) Has been cancelled
tests / test (push) Has been cancelled
2025-01-19 14:13:56 -07:00
Ben Busby
50625f222f
Revert changes to config vars from #1212
Fixes #1214

Fixes #1216
2025-01-19 13:13:14 -07:00
James
99ca67c90e
Fix duckduckgo search parameter (#1201)
Some checks failed
docker_tests / docker (push) Has been cancelled
pypi / Build and publish to TestPyPI (push) Has been cancelled
pypi / Build and publish to PyPI (push) Has been cancelled
tests / test (push) Has been cancelled
Removed an extra search parameter: 'search' (lol)
2025-01-17 14:16:03 -07:00
Don
389c0a4d8d
Add UserAgent configuration (#1212)
Some checks are pending
docker_tests / docker (push) Waiting to run
pypi / Build and publish to TestPyPI (push) Waiting to run
pypi / Build and publish to PyPI (push) Waiting to run
tests / test (push) Waiting to run
* feat: Set Lynx as default user agent and improve custom user agent handling

* chore: Remove user agent debug logging

* Add User Agent wiki link, remove whitespace

---------

Co-authored-by: Ben Busby <contact@benbusby.com>
2025-01-17 10:17:50 -07:00
Ben Busby
041c1fbb35
Update cssutils to 2.7.0
Fixes #1207
2025-01-17 09:54:58 -07:00
Ben Busby
0130237913
Fix Ukranian language translation
Some checks are pending
docker_tests / docker (push) Waiting to run
pypi / Build and publish to TestPyPI (push) Waiting to run
pypi / Build and publish to PyPI (push) Waiting to run
tests / test (push) Waiting to run
Closes #1203
2025-01-16 17:33:56 -07:00
Klaus Agnoletti
d6bfa30b35
Update URL in README.md [skip ci] (#1200)
Updated URL pointing to how to set as default search engine
2025-01-16 17:33:11 -07:00
Peter Dave Hello
a15190e976
Reduce Docker image size by improving apk commands (#1205)
Replace redundant apk flags `-U` and `--update` with `--no-cache` to
prevent package index caching. This change unifies all apk package
commands for better maintainability and smaller image size.
2025-01-16 17:32:20 -07:00
Althior
88e2dda151
Update ad filter keyword for French language (#1208) 2025-01-16 17:31:50 -07:00
Ben Busby
6635716743
Temporarily disable search-related tests
Search related tests are going to be unstable for a bit while possible
workarounds for #1211 are being investigated.
2025-01-16 17:17:53 -07:00
Ben Busby
6f1e1e6847
Force using Lynx UA for all searches
This is a possible fix for the recent removal of javascript-free search
results by Google. Forcing the Lynx user agent to be used for all
searches returns search results, although they're formatted a bit
differently than before. If this proves to be a long term fix, styling
can be fixed at a later date.

See #1211
2025-01-16 16:43:08 -07:00
Ben Busby
36d8268643
[Important] Update readme w/ new project status [skip ci] 2025-01-16 11:10:43 -07:00
Ben Busby
e70bbabd63 Bump version to 0.9.1 2024-10-31 17:36:37 -06:00
dependabot[bot]
4fad68adf2
Bump waitress from 2.1.2 to 3.0.1 (#1192)
Bumps [waitress](https://github.com/Pylons/waitress) from 2.1.2 to 3.0.1.
- [Release notes](https://github.com/Pylons/waitress/releases)
- [Changelog](https://github.com/Pylons/waitress/blob/main/CHANGES.txt)
- [Commits](https://github.com/Pylons/waitress/compare/v2.1.2...v3.0.1)

---
updated-dependencies:
- dependency-name: waitress
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-31 17:20:55 -06:00
dependabot[bot]
89d07abb6c
Bump werkzeug from 3.0.3 to 3.0.6 (#1190)
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 3.0.3 to 3.0.6.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/werkzeug/compare/3.0.3...3.0.6)

---
updated-dependencies:
- dependency-name: werkzeug
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-31 17:17:11 -06:00
Dave Fatkin
a8205c3043
Use alternate USPS link for package tracking [skip ci] (#1191)
The previous tracking link would sometimes lead to a blank page
2024-10-31 17:11:36 -06:00
Roman Štefko
1b9f7990b6
Allow setting fallback search engine (#1184)
Allow setting a fallback Search Engine URL when there is internal server error
or instance is rate-limited. Search query is appended to the end of the URL
(eg. https://duckduckgo.com/?k1=-1&q=).
2024-10-31 17:06:47 -06:00
Tarek
c54f4a79a6
Add ability to set custom dotenv path (#1183)
* add ability to set custom dotenv path

* add `WHOOGLE_DOTENV_PATH` to environment variables table
2024-10-31 16:52:18 -06:00
Ben Busby
223f00c3c0 Switch from pickle->json for config encoding
`pickle.loads` is insecure (and unnecessary in this context). The
simpler data types of the config model can easily be serialized to json
instead.
2024-10-31 16:43:29 -06:00
Ben Busby
466cb63d0e
Bump version to 0.9.0 2024-09-30 12:18:09 -06:00
Ben Busby
c056322037
Use .lower() when accessing the cache busting map
Cache busted resources will always have a lowercase name. For some
reason, a user encountered a capitalized css file name in #1142. This
isn't present anywhere in the Whoogle repo, but could be a byproduct of
some self-hosting configuration. Either way, the key used should always
be lowercase.

Fixes #1142
2024-09-30 12:00:52 -06:00
Ben Busby
5eb609d0b2
Hide line below search bar in dark themes
The results return an empty div with a background color set (not sure
why, not generated on Whoogle's side). This unsets the background color
so that at least it isn't visible.
2024-09-30 11:57:12 -06:00