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

byod

v0.1.0

Published

Bring Your Own Data (BYOD) to the next generation of apps.

Downloads

2

Readme

BYOD - Bring Your Own Data

BYOD is an aspiring movement and ecosystem where users take back control of their data. In return, developers can build useful apps without having to worry about scaling.

Current status: Prototype, in development

Concepts

  • User - A normal internet user.
  • BYOD Home - A server that houses a user's data for potentially many apps.
  • BYOD App (or Bapp for short) - An app that stores its data in a BYOD Home.
  • Developer - The developer that creates and maintains their respective BYOD App.

A BYOD Home is where a user's data lives. With a BYOD Home, a user may sign into a Bapp, kicking off the following:

  • Bapp requests access to user's BYOD Home via OAuth.
  • User accepts or rejects.
  • If accept, Home creates an isolated database for Bapp.
  • Bapp gains an access token to read and write to this database (via an HTTP API).

Once a Bapp has an access token, they are free to create and read data as it sees fit to best serve the user. Because there is no central database, a Bapp does not need to worry about scaling, and can even be a CDN-delivered static SPA.

A BYOD Home can host data for any number of Bapps, so the user only needs to pay for their Home's server hosting costs.

Example Use Cases

Historically, many useful apps have shut down due to the hosting costs associated with the scale of their popularity. This includes:

  • pastie.org, a snippet pasting website
  • etherpad, a realtime, collaborative text editor
  • del.icio.us, a bookmarking website
  • Others? Submit a PR :)

With the BYOD system, as a developer you can write your own bookmarking Bapp and not have to worry about such costs. As a user, you won't have to worry about a website shutting down and losing your data.

Endpoint Plan

First run will expose a key-value HTTP API:

POST /v1/d/:path*
  Create a datapoint at a specified path

GET /v1/d/:id
  Get latest version of a datapoint

GET /v1/apps/:path*
  Get all datapoints at a specified path

Development

$ npm install
$ npm run dev

Philosophy

  • Low tech server-side
  • Mild tech client-side

Credits

splash.jpg photo by NordWood Themes