Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request - Filters #20

Open
PrejudiceNeutrino opened this issue Feb 5, 2025 · 9 comments
Open

Feature Request - Filters #20

PrejudiceNeutrino opened this issue Feb 5, 2025 · 9 comments

Comments

@PrejudiceNeutrino
Copy link

Not sure how hard it would be to add, but it would be interesting to be able to have filters for the random pages. Even if they were just basic like: people, places, science, history, etc.

Here is a more flushed out list if someone wants to get comprehensive:

Content-Type Filters

  • Featured Articles – Show only Wikipedia’s highest-quality articles.
  • Good Articles – Display articles that meet Wikipedia’s "good" status.
  • Stub Articles – Show short or incomplete articles for discovery.
  • Disambiguation Pages – Filter out or include pages that clarify similar topics.

Category Filters

  • Topic – Science, History, Geography, Art, Technology, Philosophy, etc.
  • Time Period – Ancient, Medieval, Modern, Future (for speculative topics).
  • Event Type – Wars, Inventions, Political Events, Natural Disasters.

Popularity Filters

  • Most Viewed – Based on Wikipedia page views.
  • Recently Trending – Articles getting a spike in traffic.
  • Most Edited – Articles frequently updated.

Content Length Filters

  • Short (< 500 words) – Quick reads.
  • Medium (500 - 2000 words) – Standard articles.
  • Long (> 2000 words) – In-depth articles.

Recency Filters

  • Recently Created – New Wikipedia entries.
  • Recently Edited – Articles updated in the last week/month.

Randomization & Discovery Filters

  • Random but High-Quality – Featured or good articles at random.
  • Obscure Articles – Low-viewed but interesting pages.
  • Six Degrees of Wikipedia – Explore articles linked from a given page.

Language & Regional Filters

  • Language – Filter by Wikipedia languages (English, Spanish, German, etc.).
  • Region-Specific Articles – Filter by country or region (e.g., U.S., Europe, Asia).
@charlesanim
Copy link

On it

@Krator3
Copy link

Krator3 commented Feb 5, 2025

I also want filters to appear. Good luck to the developer!

@eugabrielsilva
Copy link
Contributor

I also want filters to appear. Good luck to the developer!

You can always open a PR and contribute with your ideas! 😄

@Krator3
Copy link

Krator3 commented Feb 5, 2025

I also want filters to appear. Good luck to the developer!

You can always open a PR and contribute with your ideas! 😄

I would be happy to, but I can only program in Python and I don’t know any libraries for it.

@PrejudiceNeutrino PrejudiceNeutrino changed the title Feature Request Feature Request - Filters Feb 6, 2025
@moocow1452
Copy link

moocow1452 commented Feb 8, 2025

If there is an easy content filter for 18+/NSFW articles within the api, that's probably something that you would want to add as well. Would be hard to use in a work environment or recommend for a child otherwise.

@dranorter
Copy link

Given how prominent the pictures are to this, I think filtering for hi res images would also be nice.

@IsaacGemal
Copy link
Owner

NSFW filtering is something I brought up with wikimedia because there isn't a clear way to do it via the API, I may have to just hack something in the frontend, but I'd rather not have to do that (compared to a real solution).

@Zxce3
Copy link

Zxce3 commented Feb 11, 2025

Hi, I hope this doesn't come across as promoting, but I have been working on a similar project using SvelteKit to implement content-based filtering. You can find a basic version in this repository:
https://github.com/Zxce3/wakawiki

It's still a work in progress and needs further improvement. If you're interested, you can check out the live version here:
https://wakawiki.netlify.app/

I'm more familiar with SvelteKit, so if anyone has suggestions or feedback, I would really appreciate it. Thanks, and sorry again if this feels like a plug!

@mxdpeep
Copy link

mxdpeep commented Feb 15, 2025

better build the block list dynamically when using the app (eg. by swipe left and select a tag to block)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants