SteemTools v0.0.2 New Features: Query Delegatees and Basic Search and More
SteemTools
SteemTools is a Chrome Extension that aims to provide useful tools and information in your Chrome browser. It is inspired by its sister project: Utopian Moderators & Supervisors
Github
https://github.com/DoctorLai/SteemTools/
Previous Contributions
Technology Stack
Javascript that runs in the Chrome Browser (Chrome Extension)
Chrome Webstore
It is online, and you can install SteemTools via:
https://chrome.google.com/webstore/detail/steem-tools/emjfpeecopppojbhkigjjmcahbfahhbn
If you are using Firefox, you can still install this Extension by Chrome Extension Foxified
New Features of v0.0.2
Along with Bug fixes and code refactoring, this new version adds the following features:
- Allow users to query the list of delegatees
- Allow users to query the basic information (reputation, voting power, account value) of a given ID
- Show account value in the general tab
- Change shortcut from Alt+S to Alt+W (so it doesn't conflict with Utopian Moderators!)
Commits
Screenshots
account value is shown in the general tab.
@mkt 's reputation is incorrectly shown as 70, which I have raised a bug in here
enter the steem account you would like to search the delegatees.
Roadmap of Steem Tools
- UI Language Setting
- Add Downvote Checker
- Add Delegator/Delegatee List Checker
- Steemit Top 100 Delegations
- SteemIt Followers/Votes Checker
- Steemit Incoming Votes Report
- Steemit Payout Report
- Steemit Outgoing Votes Report
- Steemit Who Resteem Your Posts?
- Steemit Recover Deleted Posts/Comments
- and more...
Some code that is based on Steem-JS
// get reputation
const getRep = (id, dom, server) => {
server = server || default_node;
steem.api.setOptions({ url: server });
steem.api.getAccounts([id], function(err, result) {
if (!err) {
dom.html("<i>@" + id + "'s Reputation is</i> <B>" + steem.formatter.reputation(result[0]['reputation']) + "</B>");
logit("getRep Finished: " + server + ": " + id);
} else {
logit("getRep Error: " + err);
}
});
}
// get account value
const getAccountValue = (id, dom, server) => {
server = server || default_node;
steem.api.setOptions({ url: server });
steem.api.getAccounts([id], function(err, result) {
if (!err) {
var av = steem.formatter.estimateAccountValue(result[0]);
av.then(x => {
dom.html("<i>@" + id + "'s Account Value is</i> <B>$" + x + "</B>");
});
logit("getAccountValue Finished: " + server + ": " + id);
} else {
logit("getAccountValue Error: " + err);
}
});
}
// get voting power
function getVP(id, dom, server) {
server = server || default_node;
steem.api.setOptions({ url: server });
steem.api.getAccounts([id], function(err, response) {
if (!err) {
let result = (response[0].voting_power) / 100;
dom.html("<i>@" + id + "'s Voting Power is</i> <B>" + result + "%</B>");
if (result < 30) {
dom.css("background-color", "red");
} else if (result < 60) {
dom.css("background-color", "orange");
} else {
dom.css("background-color", "green");
}
dom.css("color", "white");
dom.css("width", result + "%");
logit("API Finished: VP - " + server + ": " + id);
} else {
logit("API error: " + server + ": " + err);
}
});
}
License
Contribution Welcome
Github: https://github.com/DoctorLai/SteemTools/
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request.
Chrome Webstore
Install the SteemTools Chrome Extension Now!
Posted on Utopian.io - Rewarding Open Source Contributors
Posting a very useful and helpful for all of us thanks friend
Thank you for the contribution. It has been approved.
You can contact us on Discord.
[utopian-moderator]
Thanks for working on these great tools!
Hey @justyy I am @utopian-io. I have just upvoted you!
Achievements
Community-Driven Witness!
I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!
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
插件比原来网页用着还方便一些,偶像威武!
嗯, 是的,就是简单明了,以后会慢慢把网页版的都移过来。