/nyats

Not Yet Another Thumbnail Service

Primary LanguageTypeScriptGNU Affero General Public License v3.0AGPL-3.0

nyats

pipeline status Maintainability Backers on Open Collective Sponsors on Open Collective

Not Yet Another Thumbnail Service, thumbnailer for ipfs-search.com

IPFS caching thumbnailer. Generates thumbnails for IPFS CID's, adds them to IPFS node (if not pre-existing) and redirects to IPFS URL, while regularly publishing to IPNS. Soon, we will be able to use IPNS as a cache, so clients will not even need to hit the server.

Packages

  • nyats-server: API server rendering thumbnails for IPFS content.
  • nyats-client: Client for API server, generating appropriate URL's for generating and requesting thumbnails. If you just want to use this library, go here!

Getting started

To use any of the aforementioned packages, please refer to their respective README's.

As for developing, we're using lerna to organize nyats-related packages together and to manage their dependencies. Common development dependencies reside in the root repository.

To start developing, you can install all the project's dependencies as follows:

npm i && npm run bootstrap

Commands

To facilitate development, the following commands will be run through the root package on all subpackages (which have that command available):

  • npm run bootstrap: Install packages and their dependencies, such that they can use one another.
  • npm run build: Build packages.
  • npm run test: Test packages.
  • npm run lint: Lint packages.
  • npm run clean: ... ok, you get the gist, no?
  • npm run publish: Also, yeah... publish All the Packages!

Contributors

This project exists thanks to all the people who contribute.

Backers

Thank you to all our backers! 🙏 [Become a backer]

Sponsors


ipfs-search is supported by NLNet through the EU's Next Generation Internet (NGI0) programme.


RedPencil is supporting the hosting of ipfs-search.com.

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]