Bitcoin Forum
November 01, 2024, 09:41:09 AM *
News: Bitcoin Pumpkin Carving Contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Embed Image - Live price update (currency exchange)  (Read 665 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
NyeFe (OP)
Hero Member
*****
Offline Offline

Activity: 699
Merit: 501


View Profile
December 16, 2016, 11:42:44 PM
Last edit: December 19, 2016, 03:55:52 PM by NyeFe
 #1

Take a look at this



Okay, in normal cases, that image would be static (it is).

I've developed a small tool, which would allow us (those exchanging, and selling bitcoins), to add our own live percentage, which will be embeddable within this forum, and other websites, and will contain live update of bitcoins price, and your selling margin.

How do you feel about this?




> Bitcointalk caches images for 24hrs. That's how long it'd take, for images to update for every user, specifically, on this forum.

> For everything else, updates will be every 30 minute, for this current test version, since it's locally hosted on our machines and requires lots of CPU and RAM. If the direct link is unavailable, then we've switched-off the server.

> If this test version is successful, then we'll look at making bitcoin related charts Live, using the same technologies.


MicroDApp.com—Smart Contract developers. Lets build a decentralized future!
Kray
Hero Member
*****
Offline Offline

Activity: 658
Merit: 500



View Profile
December 17, 2016, 09:27:57 PM
 #2

Take a look at this



Okay, in normal cases, that image would be static (it is).

I've developed a small tool, which would allow us (those exchanging, and selling bitcoins), to add our own live percentage, which will be embeddable within this forum, and other websites, and will contain live update of bitcoins price, and your selling margin.


How do you feel about this?



wow it's cool. is it free and open source?
BuySomeBitcoins
Sr. Member
****
Offline Offline

Activity: 434
Merit: 253



View Profile
December 18, 2016, 02:27:10 AM
 #3

how much bandwidth does it consume ?
NyeFe (OP)
Hero Member
*****
Offline Offline

Activity: 699
Merit: 501


View Profile
December 18, 2016, 08:04:19 AM
 #4

wow it's cool. is it free and open source?

Absolutely!  Cheesy

how much bandwidth does it consume ?

That would depending on the amount of users. Each image is like 20.9KB.

The main problem, is that it crashes since its single threaded in NodeJS, but we've finally solved that problem.

MicroDApp.com—Smart Contract developers. Lets build a decentralized future!
NyeFe (OP)
Hero Member
*****
Offline Offline

Activity: 699
Merit: 501


View Profile
December 18, 2016, 10:51:46 AM
Last edit: December 18, 2016, 12:48:04 PM by NyeFe
 #5

The project is complete, finally.

Here's a Live sample:

[ img ]http://cleanatom.ddns.net:8080/show/usd/up/10/image.png[/ img ]

MicroDApp.com—Smart Contract developers. Lets build a decentralized future!
amacar2
Legendary
*
Offline Offline

Activity: 1120
Merit: 1008

CryptoTalk.Org - Get Paid for every Post!


View Profile
December 18, 2016, 03:04:22 PM
 #6

It looks working

However there is error like below when we put 100 in % area
Quote
Error: ENOENT: no such file or directory, open 'C:\Users\Wisdom\projects\screenshot\show\usd\down\100\image.png'

Also what is the source of that bitcoin price, Preev ?

 
                                . ██████████.
                              .████████████████.
                           .██████████████████████.
                        -█████████████████████████████
                     .██████████████████████████████████.
                  -█████████████████████████████████████████
               -███████████████████████████████████████████████
           .-█████████████████████████████████████████████████████.
        .████████████████████████████████████████████████████████████
       .██████████████████████████████████████████████████████████████.
       .██████████████████████████████████████████████████████████████.
       ..████████████████████████████████████████████████████████████..
       .   .██████████████████████████████████████████████████████.
       .      .████████████████████████████████████████████████.

       .       .██████████████████████████████████████████████
       .    ██████████████████████████████████████████████████████
       .█████████████████████████████████████████████████████████████.
        .███████████████████████████████████████████████████████████
           .█████████████████████████████████████████████████████
              .████████████████████████████████████████████████
                   ████████████████████████████████████████
                      ██████████████████████████████████
                          ██████████████████████████
                             ████████████████████
                               ████████████████
                                   █████████
.YoBit AirDrop $.|.Get 700 YoDollars for Free!.🏆
NyeFe (OP)
Hero Member
*****
Offline Offline

Activity: 699
Merit: 501


View Profile
December 18, 2016, 03:30:33 PM
Last edit: December 18, 2016, 04:13:30 PM by NyeFe
 #7

It looks working

However there is error like below when we put 100 in % area
Quote
Error: ENOENT: no such file or directory, open 'C:\Users\Wisdom\projects\screenshot\show\usd\down\100\image.png'

Also what is the source of that bitcoin price, Preev ?

You can't have a bitcoin exchange with 100% rate, that's practically giving bitcoin away, or getting it for free.

Also, the server is a test version on my local pc, we might move it to a vps. the source of the price is average from btc-e, bitstamp and bitfinex.



MicroDApp.com—Smart Contract developers. Lets build a decentralized future!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!