ayoayco / cozy Goto Github PK
View Code? Open in Web Editor NEWYour modern-day reading assistant 🧸
Home Page: https://cozy.ayco.io
License: BSD 2-Clause "Simplified" License
Your modern-day reading assistant 🧸
Home Page: https://cozy.ayco.io
License: BSD 2-Clause "Simplified" License
Let's start with respecting the system theme preference!
An article could contain several assets/ links
Links to other articles can be cached in a different temporary cache, and they could either be:
Display a score of the completeness of information available for article readability
On home, only show recent 5 or 10 items then show a link to "see all"
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
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
Following are examples of articles that does not work on Safari's reader view
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
Prompt of user wants to add
library on the side
Uno or Tailwind
For back we can use the browser back button which will work seamlessly because we update the browser history now as needed
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
Ask user if they want to send a webmention -- that is, let the website they fetched from know they "bookmarked" / "liked" the content
Disable when on home
-Add to favorites moved to #20
From "home", when opening a cached article the "back" button doesn't go to "home"
In this issue,
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
I'm not sure if there's a standard way of determining the language of a code block we get from the extracted article.
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
Hide/show reading library ?
From astro support:
You can use the :global()
selector for cases like this:
content :global(div p) {
/* styles */
}
I have some building blocks toward this already
After we implement #20 we can work on this
In case user opens a cozy article, that is it's starting with https://cozy-reader.netlify.app
Favorited items, definitely via IndexDB
I'm not sure if the history (Cache) is technically searchable
Currently, I'm skipping the caching if the current page is home ('/')
index.astro
to cache the homepage every time it is visited.Library.astro
for how this is done on the links there)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.
Would enable
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.