npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@ayco/cozy

v0.3.3

Published

<p align="center"> <img src="https://github.com/user-attachments/assets/e49b56a7-cc0f-45a3-98e0-8bbcbd02a47c" alt="COZY logo" /><br /> Remove distractions. Save for later.<br /> Cozy is your modern-day reading companion. </p> <p align="center"> <a

Downloads

117

Readme

Why?

Visiting websites in this 'modern' time is a paradox: standard Web technologies are better but most commercial websites are pretty terrible--not only because misinformation abounds online, but also because of Big Tech's personal data farming that puts us all at a disadvantage.

Cozy addresses this by putting people first by default: no tracking cookies will ever get into your browser, pay the minimum bandwidth to get information you need, and save everything on your browser for accessing them again later offline.

With Cozy: The Web is Yours.

How is this app different?

Here's what this project is building:

  1. An app that just works, no sign-ups or set-ups.
  2. Progressively enhanced experience. Main feature works even without JS. Removing distractions happen on the server and dead clean HTML gets delivered
  3. All your data are cached and does not leave your device; offline access is by default
  4. Cloud-sync will be opt-in, with your choice of provider
  5. Will also explore smart insights, such as:
    1. text summarization
    2. dominant emotion
    3. other sources for lateral reading

Roadmap

| Feature | Status | Version | | --- | --- | --- | | Remove distractions| ✅ DONE | v0.0.x | | Save viewed history | ✅ DONE | v0.1.x | | Open links within Cozy | ✅ DONE | v0.2.x | | Offline access | ✅ DONE | v0.3.x | | Set items as Favorites | 🛠️ In-progress | v0.4.x | | Smart insights | | v0.5.x | | Browser Extensions | | | | Native Apps | | |

Usage / Options

1. Copy, Paste

It's simple. When you open an article and want to turn it into a more cozy reading experience, just copy the url and paste it to the app's address bar.

2. One-click Bookmark

A bookmarklet could run a script to open the current page for you on ~~Cozy~~. You can create this new bookmark titled 'Get cozy!' and put the following as value for the URL:

javascript:(function(){ window.open('https://cozy.pub/?url=%27 + window.location.href, %27_self%27); })();

This is possible on all major browsers, including Safari on iOS (where I personally use this often). Some screenshots:

| Firefox | Chrome | | --- | --- | | Screenshot from 2023-05-13 08-31-41 | Screenshot from 2023-05-12 23-32-08 |

3. One-click Extension then...

It doesn't exist yet... I'll probably get to creating a browser extension at some point. But for now, PRs welcome! :)

Credits

We are thankful for all the building blocks provided by the following projects:

  1. Astro for our server-side rendering framework
  2. @ayco/astro-resume for communicating necessary data from server to client
  3. @ayco/astro-sw for taking app's service worker, and injecting needed dynamic assets & variables
  4. @extractus/article-extractor for the amazing scraping of articles
  5. astro-iconify for easily using icon-sets in iconify
  6. ultrahtml for any cleanup and transformation we do on the received article content
  7. fastify for our production server and nginx as reverse proxy

Contributing

If any of the above seems to need improvement for you, we are always eager to hear feedback and welcome all contributions. See our CONTRIBUTING guide for more info.

Join our Discord if you need help!