Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Recommended posts feature #2201

axelvyrn started this conversation in Ideas
May 30, 2025 · 1 comments · 5 replies
Discussion options

Describe the problem you're trying to solve

As an active user of Stacker.news, I would love to see a "For You" section added to the header navigation.

Image
I mean, it can be anywhere, maybe after the top filter.
This feature would significantly improve content discovery and user engagement by showing personalized recommendations that dynamically curates posts based on:

Keywords in posts I've:

  • Bookmarked
  • Zapped
  • Stackers I’m subscribed to

Describe the solution you'd like

a page in components/for-you.js with this code and adding the link to the header should fix this:

import { Select } from './form'
import { useRouter } from 'next/router'
const FILTERS = [
 { value: 'subscribed', label: 'Subscribed Users' },
 { value: 'bookmarked', label: 'Bookmarked' },
 { value: 'territories', label: 'Territories' }
]
export default function ForYouHeader({ sub }) {
 const router = useRouter()
 const prefix = sub ? `/~${sub.name}` : ''
 const filter = router.query.filter || 'subscribed'
 return (
 <div className='flex-wrap'>
 <div className='text-muted fw-bold my-1 d-flex justify-content-start align-items-center'>
 <Select
 groupClassName='mb-2'
 className='w-auto'
 name='filter'
 size='sm'
 value={filter}
 items={FILTERS}
 noForm
 onChange={(_, e) =>
 router.push(prefix + (e.target.value === 'subscribed'
 ? '/for-you'
 : `/for-you?filter=${e.target.value}`))
 }
 />
 </div>
 </div>
 )
}

Describe alternatives you've considered

Some alternative changes:

  • Store keyword embeddings (e.g., via OpenAI or HuggingFace) and use cosine similarity.
  • Add an option for users to tweak the algorithm.
  • Run personalized feed generation in background with PostgreSQL job queue and cache in Redis.

Additional context

Add a "Why am I seeing this?" tooltip next to each post (e.g., "Similar to your zapped post on Nostr").

Example usage: I often zap or bookmark posts about Politics, Lightning privacy tools, and information security. A "For You" section would show similar content from both trending and obscure corners of SN, without me having to hunt manually.

You must be logged in to vote

Replies: 1 comment 5 replies

Comment options

So, uh, is this to be put to a for/against motion?

You must be logged in to vote
5 replies
Comment options

huumn Jun 3, 2025
Maintainer

This means it's worth discussing, but is not clear how it fits in the context of our other plans yet.

Comment options

oh ok, btw I have a question. Can people like me, who are not part of the SN team, make a PR to an issue if they know the solution?

Comment options

huumn Jun 4, 2025
Maintainer

Yes, as stated in the readme. Based on your submissions so far, I recommend submitting the issue first and making sure we want it worked on.

Comment options

Oh, then shall this be considered an open issue to submit a PR for? #2198

Comment options

huumn Jun 4, 2025
Maintainer

yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
feature new product features that weren't there before needs specification priority:low 0.5x
2 participants
Converted from issue

This discussion was converted from issue #2193 on June 02, 2025 18:00.

AltStyle によって変換されたページ (->オリジナル) /