Skip to content

AsaiToshiya/brostr

Repository files navigation

Brostr

A native browser for the content on Nostr.

Features

  • Direct access to the content on Nostr without the web server.
  • A standardized behavior for various contents.

Supported NIPs

Screenshots

HTML Content Long-form Content Proxy Image Chess Comments

Install

Download the binary from the release page, or use it directly in the browser without downloading by visiting https://asaitoshiya.github.io/brostr/src/.

Development

Setup

git clone https://github.com/AsaiToshiya/brostr.git
cd brostr
pnpm install
curl -o oracolo/dist/index.html --create-dirs https://raw.githubusercontent.com/dtonon/oracolo/164bdace1f41da1c8810078003e3258e43b8f9cd/dist/index.html
curl -o nocomment/embed.js --create-dirs https://nocomment.fiatjaf.com/embed.js
curl -OL https://github.com/toomasr/jspgnviewer/releases/download/jspgnviewer-wordpress-0.7.3/pgnviewer-0.7.3.zip
tar -xf pgnviewer-0.7.3.zip
rm pgnviewer-0.7.3.zip
del pgnviewer-0.7.3.zip
curl -o nreq/dist/nreq.js --create-dirs https://asaitoshiya.github.io/nostr-toybox/nreq/dist/nreq.js

Run

pnpm start

License

MIT License

Copyright (c) 2023 Asai Toshiya

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.