Release of Steemit Earnings App's Source Code

in #utopian-io9 years ago (edited)

As promised i released the source code of the app i've been working on yesterday night, it took a little time as i had to clean up a few unused assets to reduce the github project size & make a proper gitignore.

Intro

This is a mobile app for both iOS & Android that allows you to see the estimated earnings you could get from a Steemit Post. I couldn't find any usable app or solution that aumatically exchanges it into my home country's currency.

So i created a mobile app that helps estimate your post payouts. Calculates how much reward you will receive for your posts in the currency of your choice.

Enjoy!

https://github.com/azarus/steemit.price.app
Source code is available here:
https://github.com/azarus/steemit.price.app

https://play.google.com/store/apps/details?id=steemit.price.app
Prebuilt packages are also available in the appstore:
https://play.google.com/store/apps/details?id=steemit.price.app

Screenshots

https://i.imgur.com/BCCKOqx.png

https://i.imgur.com/l4jJWbE.png

Built with:

Prerequisites

To build the application you will need the following to be installed

Install Cordova & Ionic2 plugins

Install Dependencies
npm install

Add platforms
cordova platform add android

Install Plugins

ionic cordova plugin add cordova-plugin-advanced-http

To include admob api:
ionic cordova plugin add cordova-plugin-admob-free
ionic cordova plugin add cordova-plugin-admob-sdk

Develpoment Environment with livereload

The general code can be found in the src/ folder. Not much code as it's a small app, but a veryhelpfull one :)

For browsers:
ionic serve

For mobile version
ionic cordova run android --livereload

Build & Deploy

Emulator
ionic cordova run android

Debug build:
ionic cordova build android

Release build:
ionic cordova build --release android

Android
For proper release build you have to create a signing key file in keys folder, or edit build.json
cordova build android --release -- --keystore=./keys/<keystorefile> --storePassword=<password> --alias=<alias> --password=<password>

I have a question, feedback, feature requests, problem or found a bug?

Please open an issue ;)

LICENSE

MIT.

iOS Will be available in the coming days!



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Thank you for the contribution. It has been approved.

You can contact us on Discord.
[utopian-moderator]

Hey @azarus I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Hey @azarus. It's a great idea this app! I have had a quick look through the code (I have an iphone so can't see the app itself unfortunately).

It looks like you're using:

PendingPostRewards x 0.75 x 0.5 for the rewards. I think this gives the SBD payout which you then convert into local currency (apologies if I've missed something here).

A couple of suggestions for future additions to the app:

  • Add the value of the Steem Power payout (if that's not there already)
  • Curation percentage can be much less than 25% (in theory as low as zero). I think @yabapmatt's "Curation Reward Estimation Tool" would have the necessary code to allow an improvement here.
  • Some posts, including those on utopian, have beneficiary payments which reduce the author payout - from 0% up to 25% are in use I think. The percentage should be available in the "beneficiaries" information.

But nice work. I'll be looking forward to the iOS version!

It could also be nice to separate out the various parts - author - curators - beneficiaries. To make it clear what the value is you are quoting.

Thanks for the feedback. Helps a lot. I had diffuculties understanding how the calculation should be done and i just wanted to get something close enough. I'll have couple of more features, and i'll add the suggestions ASAP too. Im still waiting for apple for the iOS version.

No worries! Drop me a note in discord if you want any pointers.

Waiting on apple seems a common theme with apps!

Coin Marketplace

STEEM 0.04
TRX 0.33
JST 0.098
BTC 63170.19
ETH 1749.64
USDT 1.00
SBD 0.39