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 to Web" resource kind #37

Closed
kirillt opened this issue Oct 8, 2021 · 4 comments
Closed

"Link to Web" resource kind #37

kirillt opened this issue Oct 8, 2021 · 4 comments
Labels

Comments

@kirillt
Copy link
Member

kirillt commented Oct 8, 2021

It should be possible to work with URLs using the app.
This allows a user to use our app as bookmarks keeper.

  1. Sharing a link from external apps must result in saving the link into one of user's folders.
  2. Links should be represented as separate entities in resources grid and gallery view.
  3. Opening any link must be possible with Firefox or Chrome.
  4. Opening specific links should be possible with specialized apps (e.g. YouTube, MeetUp).

Open questions:

  • Storage format. The easiest way is to save every URL into HTML file.
    Batching links into one file-database per root/favorite might be more efficient, especially for indexing.

  • Reading of Firefox/Chrome export files (XML).
    Should we convert those files into our format or just adapt to them?

@kirillt kirillt added the feature label Oct 8, 2021
@mdrlzy
Copy link
Member

mdrlzy commented Oct 8, 2021

We also need to figure out how to generate a preview for the link.

  • The file name can be replaced with the page title.
  • Parsing an image. For different sites, the methods will be different (e.g. YouTube, Instagram)

@kirillt
Copy link
Member Author

kirillt commented Oct 8, 2021

@mdrlzy I would say preview should be part of the link's metadata.
Metadata can include page title and preview. We can allow a user to configure how much interactive they want preview to be.
E.g. in future, we can embed HTML browser into gallery mode and handle clicks etc.
For the beginning, preview should be just screenshot.

Actually, I think, bookmarks creation should be handled by separate micro-app.
Let's call it ARK Bookmarks. It should:

  1. Allow to create new bookmark, manually or automatically from external apps via share.
    The link should be stored somewhere, where the user prefers, not necessary in a root.
    But in latter case, the user will be able to discover saved link in ARK Navigator.

  2. Provide with metadata automatically by going by the link and extracting necessary data from the remote resource.

  3. Allow to edit metadata. E.g. to replace automatically derived title with title chosen by the user.
    Similar to how we can edit images now, using external apps, we should be able to open a link (using pencil button) from ARK Navigator into ARK Bookmarks.

@kirillt kirillt removed the feature label Oct 9, 2021
@kirillt kirillt changed the title "Link to Web" resource type "Link to Web" resource kind Feb 4, 2022
@mdrlzy
Copy link
Member

mdrlzy commented Feb 24, 2022

Link preview(title, description, image) can be obtained using ogp.

@kirillt
Copy link
Member Author

kirillt commented Apr 18, 2022

Follow-up: ARK-Builders/ARK-Navigator#235

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

No branches or pull requests

2 participants