GithubHelp home page GithubHelp logo

bottle's Introduction

Bottle

A Bitcoin Browser

bottle

Did you know that you can upload files directly to the Bitcoin network, as permanent, immutable, and monetizable Bitcoin transactions?

These files can be all sorts of things like documents, images, and videos, and can be combined to make other things, like applications or interactive pages.

With files, you can publish things that reference one another through URI schemes.

And because it's on the blockchain, ownership is provable, the content is permanent, and it can be directly monetized forever.

Bottle is a browser that lets you surf the Bitcoin network for these things, and brings them all together through Bitcoin native URI schemes such as B:// or C:// (or any other protocols we add in the future).

Note that the address bar below uses a b:// address:, not HTTP or HTTPS. This HTML file is 100% hosted and served from the Bitcoin blockchain, and has nothing to do with where a "server" is located.

bottle_html

Download

You can download it at https://bottle.bitdb.network

How it Works

Learn more about how it works at: https://bottle.bitdb.network

Contribute

Contribution is welcome.

How to Build

1. Download Electron

You can build from source. You need electron.

npm install -g electron

2. Install

Download the repository and install. First, clone it.

git clone https://github.com/interplanaria/bottle.git

Then install dependencies

cd bottle
npm install

3. Run

npm start

bottle's People

Contributors

justicemate avatar libitx avatar malkavianbilbao avatar mathiasrw avatar unwriter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bottle's Issues

async script error

It fails to render if a script tag is declared async.

c://ab50f2f3a3ef200bcb3826dd79902c093a0fa9aac0d07a5623ffbc8ff3691fca

Screen Shot 2019-04-16 at 5 13 24 PM

Better display of files

The home page could display the file list better.

For example metalens posts shouldn't show up as |

No name shown when no name given

As name is optional for the B:// protocol any B:// with a piped protocol (but no name) will have | in the same location as the name.

image

Bottle should make sure that a | the 4th index followed by a valid address on the 5th, or | the 5th index followed by a valid address on the 6th index results in no name being shown

A neat feature for the future could be to show the first headline found in the document when it has been loaded into bottle.

CJK/UTF8 content display issues.

c://781057552bb570374ed85ef8bc4dd138c6b8e45e475ae2c7e1f5e77d8dde68d2/ as an example, seems like character encoding issues.
It's fine in the list.

Screenshot from 2019-03-22 12-30-59
Screenshot from 2019-03-22 12-30-09

Fix endpoint template

The URI resolver currently adds a trailing slash at the end, which makes it break on URIs that do not end with a template expression.

For example

/file/8ce0d8819fc2db5d48bd6a5fbcf4b670fbdfc0fa23783c7e980849c8481310b9//raw

This bug is not visible when the endpoints end with the ${key} expression but in this case it's problematic because the URI ends with ${key}/raw, and the ${key} gets replaced with a trailing /, resulting ing double slashes.

URL bar inconvenience

On settings and home page, the URL bars are disabled so can't type anything. At least the home page needs some way to type in URL

Customizable Homepage

Maybe could start with customizable sidebar tab, or also could think about rearranging the layout

Add C:// authenticity validator

Add a C:// sha256 validator. Could be implemented in a couple of different ways

  1. Synchronous: Block the response if the hash doesn't match
  2. Asynchronous: Load all, but display a warning if the hash and the content don't match

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.