create account

Steem Metadata Editor by mkt

View this thread on: hive.blogpeakd.comecency.com
· @mkt · (edited)
$182.52
Steem Metadata Editor
<center>
![image.png](https://ipfs.busy.org/ipfs/QmNNea323dKn97BF48aQbMP2oZqDPysWbw9r1zM8uGYRir)
</center>

#### Repository
https://github.com/mktcode/steem-metadata-editor

### Edit `json_metadata` of posts and comments.

My current project, [the-magic-frog.com](https://the-magic-frog.com) relies heavily on `json_metadata` of posts as well as comments. To test new developments I was often forced to write small scripts to manipulate the metadata. Since I didn't find any available tool (**Especially not for comments!**), I quickly wrote my own last night. Today I made it publicly available on heroku. (First time using heroku... wow, I like it!)

# <center>[steem-metadata-editor.herokuapp.com](https://steem-metadata-editor.herokuapp.com/)</center>
#

You can login using SteemConnect and then simply see your last 100 posts/comments and edit their `json_metadata` property in a simple text field. Nothing special but I needed it.

![image.png](https://ipfs.busy.org/ipfs/QmZKVU9f4HM3AimXJA2D7ysM7NYt4GhFVBU6YUuZRoR8eq)

The editor is really just a simple textarea but at least the JSON is indented and it prevents you from submitting invalid JSON.

<center>
![image.png](https://ipfs.busy.org/ipfs/QmZWeqfAYh6tRXzzSne6BqjP5XTmV7h9q6aewgz5xjMrvn)
</center>

### Technology Stack

- [Vue.js](https://vuejs.org/)
- [Nuxt.js](https://nuxtjs.org/)
- [VueSteemConnect](https://github.com/mktcode/vue-steemconnect)
- [Steem.js](https://github.com/steemit/steem-js)
- [Bootstrap 4](https://getbootstrap.com)
- [Heroku](https://heroku.com)

The page is build with Nuxt.js and consists of only one single [index page](https://github.com/mktcode/steem-metadata-editor/blob/master/pages/index.vue) and an [auth page](https://github.com/mktcode/steem-metadata-editor/blob/master/pages/auth.vue) to receive the SteemConnect access token.

The SteemConnect integration is actually based on this [tiny stupidly simple SteemConnect plugin for Vue.js](https://steemit.com/utopian-io/@mkt/steemconnect-plugin-for-vue-js) I published a few days ago. I will improve this plugin and make it more useful in the future but for now it does what it's supposed to do.

The site uses a very simple [Vuex store](https://github.com/mktcode/steem-metadata-editor/blob/master/store/index.js) to handle login/logout, fetching posts and comments from the blockchain and switching between posts/comments to edit.

That's it! Really simple but for me at least also really useful.

### Roadmap

- **edit user account metadata**
- lazy loading more posts (since [it will soon be possible to edit posts older than 7 days](https://steemit.com/steem/@steemitblog/steem-19-10-officially-released-appbase-rocksdb-unlimited-content-editing-and-more))
- edit post body (it's about metadata but well, why not?)
- implement more decent JSON editor (like https://jsoneditoronline.org)

### How to contribute?
As usual... simply submit pull requests and hope for the best.

#### GitHub Account
https://github.com/mktcode
πŸ‘  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
properties (23)
authormkt
permlinksteem-metadata-editor
categoryutopian-io
json_metadata{"community":"busy","app":"busy/2.5.2","format":"markdown","tags":["utopian-io","development","steemdev","vuejs","json"],"users":["mkt","steemitblog"],"links":["https://github.com/mktcode/steem-metadata-editor","https://the-magic-frog.com","https://steem-metadata-editor.herokuapp.com/","https://vuejs.org/","https://nuxtjs.org/","https://github.com/mktcode/vue-steemconnect","https://github.com/steemit/steem-js","https://getbootstrap.com","https://heroku.com","https://github.com/mktcode/steem-metadata-editor/blob/master/pages/index.vue"],"image":["https://ipfs.busy.org/ipfs/QmNNea323dKn97BF48aQbMP2oZqDPysWbw9r1zM8uGYRir","https://ipfs.busy.org/ipfs/QmZKVU9f4HM3AimXJA2D7ysM7NYt4GhFVBU6YUuZRoR8eq","https://ipfs.busy.org/ipfs/QmZWeqfAYh6tRXzzSne6BqjP5XTmV7h9q6aewgz5xjMrvn"]}
created2018-07-12 09:54:03
last_update2018-07-12 11:35:36
depth0
children33
last_payout2018-07-19 09:54:03
cashout_time1969-12-31 23:59:59
total_payout_value138.689 HBD
curator_payout_value43.826 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2,979
author_reputation45,513,283,519,678
root_title"Steem Metadata Editor"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id64,390,230
net_rshares82,843,175,350,004
author_curate_reward""
vote details (60)
@adam-saudagar ·
$0.04
Nice man, often we make tools in a project but we don't realize that the tools we made to build the project itself is a project too

The project we build helps the people who have very specific need for it, but the tools are so generalised that it could help many people.
πŸ‘  ,
properties (23)
authoradam-saudagar
permlinkre-mkt-steem-metadata-editor-20180712t142155930z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2018-07-12 14:21:57
last_update2018-07-12 14:21:57
depth1
children1
last_payout2018-07-19 14:21:57
cashout_time1969-12-31 23:59:59
total_payout_value0.032 HBD
curator_payout_value0.010 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length271
author_reputation4,773,031,039,639
root_title"Steem Metadata Editor"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id64,415,680
net_rshares19,113,660,464
author_curate_reward""
vote details (2)
@mkt ·
Thank you! I hope it will be of some use for some.
properties (22)
authormkt
permlinkre-adam-saudagar-re-mkt-steem-metadata-editor-20180712t161715222z
categoryutopian-io
json_metadata{"community":"busy","app":"busy/2.5.2","format":"markdown","tags":["utopian-io"],"users":[],"links":[],"image":[]}
created2018-07-12 16:17:15
last_update2018-07-12 16:17:15
depth2
children0
last_payout2018-07-19 16:17:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length50
author_reputation45,513,283,519,678
root_title"Steem Metadata Editor"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id64,428,732
net_rshares0
@anarcotech ·
$0.05
Excellent work man! Look forward to speaking with you at some point soon.
πŸ‘  ,
properties (23)
authoranarcotech
permlinkre-mkt-steem-metadata-editor-20180712t095901768z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2018-07-12 09:59:03
last_update2018-07-12 09:59:03
depth1
children1
last_payout2018-07-19 09:59:03
cashout_time1969-12-31 23:59:59
total_payout_value0.037 HBD
curator_payout_value0.008 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length73
author_reputation38,410,329,743,443
root_title"Steem Metadata Editor"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id64,390,684
net_rshares21,653,848,431
author_curate_reward""
vote details (2)
@haikubot ·
<em>Excellent work man! 
Look forward to speaking with 
You at some point soon. 
</em>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<sup>- anarcotech</sup>

---
<sup><sup><em>I'm a bot. I detect haiku.</em></sup></sup>
properties (22)
authorhaikubot
permlink20180712t095910561z
categoryutopian-io
json_metadata{"tags":["test"],"app":"steemjs/examples"}
created2018-07-12 09:59:09
last_update2018-07-12 09:59:09
depth2
children0
last_payout2018-07-19 09:59:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length275
author_reputation1,821,968,927,944
root_title"Steem Metadata Editor"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id64,390,694
net_rshares0
@disregardfiat ·
Howdy! Curious if you're interested in keeping this tool up to date with steemconnect dropping the v2 subdomain. It was a simple fix for my dApp but I don't see `v2.` anywhere in this project.
properties (22)
authordisregardfiat
permlinkre-mkt-steem-metadata-editor-20181002t025307626z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2018-10-02 02:53:06
last_update2018-10-02 02:53:06
depth1
children0
last_payout2018-10-09 02:53:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length192
author_reputation345,191,366,639,512
root_title"Steem Metadata Editor"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id72,451,510
net_rshares0
@forykw ·
Leaving a mark here, saying this was useful for me. Thanks, @mkt.
πŸ‘  
properties (23)
authorforykw
permlinkpwdnts
categoryutopian-io
json_metadata{"tags":["utopian-io"],"users":["mkt"],"app":"steemit/0.1"}
created2019-08-17 10:58:39
last_update2019-08-17 10:58:39
depth1
children1
last_payout2019-08-24 10:58:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length65
author_reputation93,047,668,375,359
root_title"Steem Metadata Editor"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id89,628,278
net_rshares2,891,374,895
author_curate_reward""
vote details (1)
@mkt ·
$0.06
Great to hear that it's still working and useful to people. :)
πŸ‘  
properties (23)
authormkt
permlinkre-forykw-pwdnts-20190818t184924390z
categoryutopian-io
json_metadata{"community":"busy","app":"busy/2.5.6","format":"markdown","tags":["utopian-io"],"users":[],"links":[],"image":[]}
created2019-08-18 18:49:24
last_update2019-08-18 18:49:24
depth2
children0
last_payout2019-08-25 18:49:24
cashout_time1969-12-31 23:59:59
total_payout_value0.044 HBD
curator_payout_value0.014 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length62
author_reputation45,513,283,519,678
root_title"Steem Metadata Editor"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id89,674,994
net_rshares174,845,420,315
author_curate_reward""
vote details (1)
@helo ·
* Very good code, you're a Vue master now.
* Oh so useful, you give visibility to the underbelly of steem!


Your contribution has been evaluated according to [Utopian policies and guidelines](https://join.utopian.io/guidelines), as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, [click here](https://review.utopian.io/result/3/2111121).

---- 
Need help? Write a ticket on https://support.utopian.io/. 
Chat with us on [Discord](https://discord.gg/uTyJkNm). 
[[utopian-moderator]](https://join.utopian.io/)
πŸ‘  ,
properties (23)
authorhelo
permlinkre-mkt-steem-metadata-editor-20180712t162056476z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"links":["https://join.utopian.io/guidelines","https://review.utopian.io/result/3/2111121","https://support.utopian.io/","https://discord.gg/uTyJkNm","https://join.utopian.io/"],"app":"steemit/0.1"}
created2018-07-12 16:20:57
last_update2018-07-12 16:20:57
depth1
children0
last_payout2018-07-19 16:20:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length598
author_reputation121,547,934,535,311
root_title"Steem Metadata Editor"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id64,429,141
net_rshares5,404,632,543
author_curate_reward""
vote details (2)
@john371911 ·
Can it still work now? After I login with steemconnect, it showed a tab only says "Connecting..."
properties (22)
authorjohn371911
permlinkpum90j
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2019-07-14 05:09:51
last_update2019-07-14 05:09:51
depth1
children17
last_payout2019-07-21 05:09:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length97
author_reputation62,738,849,761,030
root_title"Steem Metadata Editor"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id88,270,269
net_rshares0
@mkt ·
$0.07
Hi! I never touched this thing after releasing it. After such a long time I'm pretty sure it needs some updates. I'm working on something else currently (@merge-rewards) so I won't have time to fix this now. Probably it's just the vue-steemconnect plugin that needs to be updated. You know what? I'll look into this late this day. I'll let you know. ;)
πŸ‘  
properties (23)
authormkt
permlinkre-john371911-pum90j-20190714t082119853z
categoryutopian-io
json_metadata{"community":"busy","app":"busy/2.5.6","format":"markdown","tags":["utopian-io"],"users":["merge-rewards"],"links":["/@merge-rewards"],"image":[]}
created2019-07-14 08:22:21
last_update2019-07-14 08:22:21
depth2
children16
last_payout2019-07-21 08:22:21
cashout_time1969-12-31 23:59:59
total_payout_value0.053 HBD
curator_payout_value0.017 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length352
author_reputation45,513,283,519,678
root_title"Steem Metadata Editor"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id88,274,557
net_rshares201,711,960,378
author_curate_reward""
vote details (1)
@john371911 ·
Thanks. I'm looking forward to that😊
properties (22)
authorjohn371911
permlinkre-mkt-pumjq1
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steempeak/1.14.6"}
created2019-07-14 09:01:12
last_update2019-07-14 09:01:12
depth3
children15
last_payout2019-07-21 09:01:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length36
author_reputation62,738,849,761,030
root_title"Steem Metadata Editor"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id88,275,438
net_rshares0
@pinkwonder ·
Simple, but useful tool, thanks
properties (22)
authorpinkwonder
permlinkre-mkt-steem-metadata-editor-20180717t090956057z
categoryutopian-io
json_metadata{"community":"busy","app":"busy/2.5.2","format":"markdown","tags":["utopian-io"],"users":[],"links":[],"image":[]}
created2018-07-17 09:09:57
last_update2018-07-17 09:09:57
depth1
children1
last_payout2018-07-24 09:09:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length31
author_reputation12,337,737,438,559
root_title"Steem Metadata Editor"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id64,968,457
net_rshares0
@mkt ·
Thank you! That's what it is supposed to be. :)
properties (22)
authormkt
permlinkre-pinkwonder-re-mkt-steem-metadata-editor-20180717t124246107z
categoryutopian-io
json_metadata{"community":"busy","app":"busy/2.5.2","format":"markdown","tags":["utopian-io"],"users":[],"links":[],"image":[]}
created2018-07-17 12:42:48
last_update2018-07-17 12:42:48
depth2
children0
last_payout2018-07-24 12:42:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length47
author_reputation45,513,283,519,678
root_title"Steem Metadata Editor"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id64,987,156
net_rshares0
@steemitboard ·
Congratulations @mkt! You have completed the following achievement on Steemit and have been rewarded with new badge(s) :

[![](https://steemitimages.com/70x80/http://steemitboard.com/notifications/payout.png)](http://steemitboard.com/@mkt) Award for the total payout received

<sub>_Click on the badge to view your Board of Honor._</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>



**Do not miss the last post from @steemitboard:**
[SteemitBoard World Cup Contest - Home stretch to the finals. Do not miss them!](https://steemit.com/steemitboard/@steemitboard/steemitboard-world-cup-contest-home-stretch-to-the-finals-do-not-miss-them)

---
**Participate in the [SteemitBoard World Cup Contest](https://steemit.com/steemitboard/@steemitboard/steemitboard-world-cup-contest-collect-badges-and-win-free-sbd)!**
Collect World Cup badges and win free SBD
Support the Gold Sponsors of the contest: [@good-karma](https://v2.steemconnect.com/sign/account-witness-vote?witness=good-karma&approve=1) and [@lukestokes](https://v2.steemconnect.com/sign/account-witness-vote?witness=lukestokes.mhth&approve=1)

---

> Do you like [SteemitBoard's project](https://steemit.com/@steemitboard)? Then **[Vote for its witness](https://v2.steemconnect.com/sign/account-witness-vote?witness=steemitboard&approve=1)** and **get one more award**!
properties (22)
authorsteemitboard
permlinksteemitboard-notify-mkt-20180713t191321000z
categoryutopian-io
json_metadata{"image":["https://steemitboard.com/img/notify.png"]}
created2018-07-13 19:13:21
last_update2018-07-13 19:13:21
depth1
children0
last_payout2018-07-20 19:13:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,387
author_reputation38,975,615,169,260
root_title"Steem Metadata Editor"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id64,571,345
net_rshares0
@therealwolf ·
> TBH. This is really a tool I've been waiting for soo long! Was always to lazy to do it myself. Thank you! Will make it a lot easier for me to debug posts and comments metadata :)

> Would be cool if you could add support for the json_metadata in an users account.

+1

No but seriously - great job!
properties (22)
authortherealwolf
permlinkre-mkt-steem-metadata-editor-20180713t000722456z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2018-07-13 00:07:21
last_update2018-07-13 00:07:21
depth1
children0
last_payout2018-07-20 00:07:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length300
author_reputation581,693,011,827,252
root_title"Steem Metadata Editor"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id64,468,472
net_rshares0
@utopian-io ·
Hey @mkt
**Thanks for contributing on Utopian**.
We’re already looking forward to your next contribution!

**Want to chat? Join us on Discord https://discord.gg/h52nFrV.**

<a href='https://v2.steemconnect.com/sign/account-witness-vote?witness=utopian-io&approve=1'>Vote for Utopian Witness!</a>
πŸ‘  
properties (23)
authorutopian-io
permlinkre-steem-metadata-editor-20180714t065508z
categoryutopian-io
json_metadata"{"app": "beem/0.19.42"}"
created2018-07-14 06:55:09
last_update2018-07-14 06:55:09
depth1
children0
last_payout2018-07-21 06:55:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length295
author_reputation152,955,367,999,756
root_title"Steem Metadata Editor"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id64,618,389
net_rshares5,838,392,836
author_curate_reward""
vote details (1)
@wehmoen · (edited)
$0.05
 
πŸ‘  , ,
properties (23)
authorwehmoen
permlinkre-mkt-steem-metadata-editor-20180712t101845937z
categoryutopian-io
json_metadata{}
created2018-07-12 10:18:45
last_update2020-06-03 06:50:12
depth1
children1
last_payout2018-07-19 10:18:45
cashout_time1969-12-31 23:59:59
total_payout_value0.038 HBD
curator_payout_value0.010 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1
author_reputation86,504,380,503,125
root_title"Steem Metadata Editor"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id64,392,470
net_rshares22,406,983,710
author_curate_reward""
vote details (3)
@mkt ·
Very good idea! Maybe tomorrow! ;)
πŸ‘  
properties (23)
authormkt
permlinkre-wehmoen-re-mkt-steem-metadata-editor-20180712t105047451z
categoryutopian-io
json_metadata{"community":"busy","app":"busy/2.5.2","format":"markdown","tags":["utopian-io"],"users":[],"links":[],"image":[]}
created2018-07-12 10:50:48
last_update2018-07-12 10:50:48
depth2
children0
last_payout2018-07-19 10:50:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length34
author_reputation45,513,283,519,678
root_title"Steem Metadata Editor"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id64,395,191
net_rshares2,430,836,644
author_curate_reward""
vote details (1)