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

Link previews #18

Merged
merged 14 commits into from
Nov 12, 2023
Merged

Link previews #18

merged 14 commits into from
Nov 12, 2023

Conversation

UdaraJay
Copy link
Owner

@UdaraJay UdaraJay commented Nov 11, 2023

Basic previews are generated for links locally by fetching their content and parsing out meta tags and main content. If AI is available then the same content is used to generate a context-rich preview and summary for the link as well.

  • Adds basic link previews to entries
  • Adds AI generated link previews
  • Adds toasts

@khakimov
Copy link
Contributor

Looks great! 🙏

ps: on my side, its (re-)generating previews every time I restart the app, will look into it.

@UdaraJay
Copy link
Owner Author

Thanks! You can ignore that for now actually – I have to clean up the toasts implementation before this is done, I added a test notification to trigger when links are pulled from the cache as I was testing it.

@UdaraJay UdaraJay merged commit bc60588 into main Nov 12, 2023
1 of 7 checks passed
@UdaraJay UdaraJay deleted the link-previews branch November 13, 2023 05:34
UdaraJay added a commit to khakimov/Pile that referenced this pull request Dec 31, 2023
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

Successfully merging this pull request may close these issues.

None yet

2 participants