Git Product home page Git Product logo

cozy's People

Contributors

ayoayco avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cozy's Issues

feat: use workers to fetch and cache assets & links within an article

An article could contain several assets/ links

  • Images
  • Other articles

Links to other articles can be cached in a different temporary cache, and they could either be:

  • Moved to the main history cache when user views them; or
  • Deleted when user closes current view without viewing

feat: cache images

The Article data we receive contains img elements, add all src attribute values to the cache. See example of how to add to the cache in Library.astro component

feat: cache recent request

just an idea to have some mechanism to cache a recent request via an API middleare an article so if user requests again it will be faster. Still not sure how to approach this with current stack

feat: cloud sync favorites

After we implement #21 we can let users opt-in with their chosen cloud (DropBox, GDrive, or iCloud) to sync (ie., export -> sync -> import) their favorites

feat: cache all linked pages

The Article data we receive contains links array of URLs, add all URLs in this array to the cache. See example of how to add to the cache in Library.astro component

feat: send webmention

Ask user if they want to send a webmention -- that is, let the website they fetched from know they "bookmarked" / "liked" the content

feat: support lateral reading

Lateral reading is a fact-checking technique where the reader also reads other sources for the same topic.

Cozy could extract keywords and do a simple web search, then present the user with other sources for the topic.

This is good

  1. easy research
  2. prevent cognitive bias
  3. fight possible propaganda
  4. Detect inaccurate content

feat: highlight and annotate text

would be nice to be able to select, and highlight text
would be extra awesome if we can save notes related on highlighted text

we will use IndexDb for this kind of things

Refactor: eliminate is:inline

From astro support:

You can use the :global() selector for cases like this:

content :global(div p) {
  /* styles */
}

feat: search

Favorited items, definitely via IndexDB

I'm not sure if the history (Cache) is technically searchable

feat: use cached home page

Currently, I'm skipping the caching if the current page is home ('/')

  • In this issue, add the script to index.astro to cache the homepage every time it is visited.
  • Update the "Library" link in AddressBar.astro so that it does DOM swapping for the cached home page (see Library.astro for how this is done on the links there)

feat: new landing page

Move the app into it's own page, so it is accessible in route '/a' ... the way to do this is move the current index.astro page contents into a new a.astro page.

After that you can create the project landing page in a new index.astro page :)

Feel free to explore designs you think is aligned to the project: a modern-day reading assistant.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.