xeruf / nostr.build

FOSS version of nostr.build

Home Page:https://nostr.build

Repository from Github https://github.comxeruf/nostr.buildRepository from Github https://github.comxeruf/nostr.build

nostr.build

This repository contains source code for the https://nostr.build media hosting platform. This platform is currently running on AWS servers and used to provide media hosting to the nostr social media network and related applications, but can easily run elsewhere and host media for any other service or platform.

How to use nostr.build

nostr.build is a free to use media hosting platform that allows users to upload images, gifs, videos and audio to nostr.build servers, returning a link to share the uploaded media.

Simply go to https://nostr.build using your favorite browser, select the media you want to upload by either drag-and-dropping it on the website, or the 'Select Media' button, and nostr.build returns a link to add to nostr notes or share the image anywhere.

Other free services include:

  • Media uploads to 5MB
  • User profile pics cropped to the correct size for nostr and other social media platforms
  • EXIF (metadata) stripping from images
  • Curated list of nostr related memes and content from over 40 nostr Creators

For the free, public version of nostr.build all media uploaded has to be legal and align to the nostr.build Terms of Service. If used on another server, media and content guidelines can align to that hosting platform and owner.

nostr.build provides an account system for users that want to have fewer limits to the media they are uploading and a place to store their media. Currently https://nostr.build charges a small fee for these accounts to cover server costs, but someone using the code for their own project can use the account system however they want.

API

nostr.build provides a free API to publically facing nostr or bitcoin projects that offer their service for free. Please contact either nostr.build or fishcake if interested in using the API.

Customization Considerations

If installing this code on your own platform, the below are some examples of things that can be easily customized for a different experience.

  • Change upload limit from 5MB to a larger or smaller value
  • Add or remove certain media options - such as 'image only' or 'video only'
  • Change Account options to align to your platform
  • Change the html look and feel of the website
  • Change where media is stored - currently https://nostr.build stores all media on Cloudflare R2 but this may change

Contributions and Contacts

Feel free to contact either nostr.build or fishcake for any related dev work on https://nostr.build, or questions. Also please feel free to contribute directly to this code, community improvements are encouraged!

About

FOSS version of nostr.build

https://nostr.build

License:MIT License


Languages

Language:PHP 60.1%Language:HTML 19.7%Language:JavaScript 10.1%Language:CSS 9.3%Language:Hack 0.5%Language:Python 0.1%