Giter Club home page Giter Club logo

btc2fiat's Introduction

BTC2FIAT

No BS, clean, and simple BTC to Fiat converter hosted at btc2fiat.me. Open source, lightweight (< 50 KB plain HTML and vanilla Javascript) converter developed for Bitcoin enthusiasts and digital minimalists, built out of frustration of how much noise surrounds most of the Bitcoin space.

B2F

BTC/USD conversion powered by Coingecko API.

Many online converters show irrelevant news, ads, affiliate website, or are hosted in exchanges.

Paraphrasing Cal Newport, in an increasingly distracted world, finding focus becomes rare and valuable.

Running it on your own

Download this repository (ZIP file can be downloaded from Github) and upload all files to any web hosting provider.

You will need an internet connection to fetch the BTC/USD exchange from Coingecko. Their API request requires no API authentication with an excellent rate limit.

License

See LICENSE.

Except for the B2F logo and BIT2FIAT, the rest of the source code is AGPL v3.0.

The license template is ripped based on mempool.space's license but in no way is it implied that both are related anyhow.

Contributing

Feel free to submit any bugs or suggestions, PR's are open but I am still refactoring some parts of the code and there might be drastic changes without previous notice.

The following features are being thought / worked on:

  • Multiple fiat currencies (for now the rationale is that this converter is centered around the world's leading cryptocurrency vs. the world's leading fiat currencies).

  • Toggle between light and dark mode.

  • Cache the value from coingecko into the server and figure out what is a good time frame, perhaps 1 minute.

A note on privacy

We don't collect any cookies or send any network requests to any server other than Coingecko API through the request URL:

https://api.coingecko.com/api/v3/coins/markets?vs_currency=usd&ids=bitcoin

While it is unknown what they could do with the information you share (such as your IP), the API is only used to retrieve how much is 1 BTC in terms of USD. The amount of the conversion itself (eg: 300 usd) is not sent to the Coingecko servers.

The same goes for the statistics that are logged on the btc2fiat.me server such as user agent and location.

When using TOR, occasionally the GET response from coingecko will fail, probably related to their firewall or rate limit. I have seen this happen, but fortunately not too often.

btc2fiat's People

Contributors

handsomelatino avatar

Stargazers

Byron Hambly avatar  avatar

Watchers

 avatar

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.