2024-07-31 - Distriator - We are going open source
Hello Hive Community Members,
Welcome to daily updates from @sagarkothari88 - a Hive Witness & mobile-app-developer. I daily invest my time with my skillset in #Hive & I daily hive-power-up.
Project: Distriator
- Today, we are going open source for project-distriator
- Entire backend code is open source and as indicated in the screenshot above, any one can access it
- Those who are technical, can review the code & also suggest changes by raising pull request.
- Link - https://github.com/spknetwork/thedistriator/tree/main
- It's just a start & we'll keep contributing to open-source project
Environment Variable based docker-compose file
- In order to keep source-code open, we had to apply many changes.
- Prior to this, we had values hardcoded in docker-compose file.
- Due to that reason, we had to create a new public repo instead of using existing one.
- As you can see in the screenshot above, all mongo-db related values are env-variables driven
env variable based mongo-db-user
- As you can see in the screenshot above, mongo initialisation script is also having environment variables and no hardcoded username, passwords in the script.
- If you are a tech guy & know things, I request you to review code & let me know if you've any suggestions for me.
Backup script
- Even though everything is on hive-block-chain, syncing from block-chain all-over again can be time consuming.
- By keeping this in mind, we also added mongodb-back-up script.
- How would you take a backup of a mongodb database?
- Please let me know in the comment section.
Database Restoration script
- Of course, backup script alone isn't helpful.
- What has been backed-up, may be needed to restore.
- So, we do need a restoration script which looks as above.
- How does it the restoration script look? Is it all good? Let me know in the comment section.
What's next?
- Using a test-user, broadcast jsons to test business management on chain.
- Start putting distriator-businesses on hive-blockchain
- Execute blockchain-sync locally & test.
- Upon finding it doing well, deploy it.
- Before deploying it, take database backup
- Take necessary actions for ready-rollback if something goes wrong.
My contributions on projects on Hive Blockchain
- Distriator App (on-going & in-developement) (also known as Hive Freedom Dollar)
- 3Speak Mobile App (production + maintenance)
- The Hive Mobile App (in-developement as a hobby project)
- Inbox for Hive (in-developement as a hobby project)
- HiveCurators - DiscordBot (production + maintenance)
- Hive Witness Node (production)
- 3Speak (Legacy / Current) WebApp (production + maintenance)
- 3Speak (Legacy / Current) Creator Studio (production + maintenance)
- 3Speak new-website - backend (acela-core) (contributed for 2-3 APIs)
- 3Speak new-website (contributed for 2 screens)
- Bitcoin Tube (Developed static home page)
- Video Encoder Nodes (12 video encoders)
- Union-Indexer-Node (1 union indexer node as a backup)
- HiveAuth Mobile App (Contributed)
Rewarding Hive Content Creators
- I support several contests hosted by different communities.
- I reward them with Hive-Power-up for the contribution that they have made on communities on Hive.
- We keep transferring portion of hive power to different users on Hive for encouraging them for their contribution on Hive.
- Those who respond to our replies, we also reward them with different tokens like PIZZA, BEER
- No power ups were sent today
Dedicated Resources for Hive Eco-System
Resource Name | Resource Description | Approx Cost of Resource | Status |
---|---|---|---|
Hive Witness | Hive Witness Node | $50 | ✅ |
VSC | Running a VSC witness node | $5 | ✅ |
Discord Bot | Hive Curators Discord Bot Node | $5 | ✅ |
HP Rewards | Hive Curators HP reward Bot Node | $5 | ✅ |
12 Nodes | Powerful video encoder nodes for 3Speak $20 on average | $240 | ✅ |
Bandwidth | 3 internet connections | $50 | ✅ |
Distriator | Hive-Distriator Backend node | $50 | ✅ |
Community Contributors | Rewarding community contributors in INR | $60 | ✅ |
Additional Developers | Additional Contributing Developers | $1500 | ✅ |
-- | -- | -- | -- |
Total | Approx | $1965 | -- |
Updates: Video Encoder Nodes
- I'm running 12 powerful video encoder nodes for 3Speak Community Members.
- Monthly internet bandwidth usage which exceeds 15 TB, Maintenance cost, Electricity backup, Internet backup, Depreciation cost - it's all on me.
- On 2024-07-31, 3Speak published total 148 videos.
- My video encoder nodes encoded 126 videos from 148 videos published.
- It means, my encoder nodes encoded 85.14 % of total videos published on 2024-07-31
My Daily Hive Investment Report for 2024-07-31
Value | Investment Type |
---|---|
0.000 Hive | Hive Power Up |
22.535 Hive | Witness Rewards in Hive Power |
76.039 Hive | Curation Rewards as Hive Power |
7.754 Hive | Benefactor Rewards as Hive Power |
-- | -- |
106.328 Hive | Total Hive Power Invested |
-- | -- |
Curation Report for 2024-07-31
NOTE:
- If you don't like tagging you under curation report, let me know in comment section & I'll exclude you from the curation report.
- If you think that I should not attach curation report in the post, let me know in the comment section.
We've curated total 37 & motivated content creators for their contributions on Hive.
Vote sagarkothari88 as Hive Witness
Vote for 3Speak as Witness
Get paid for paying in HBD/Hive & SATs
https://distriator.com
Credits to designers - noakmilo & josegrech
Swap your HBD/Hive using @ecency
0
0
0.000
This post has been manually curated by @bhattg from Indiaunited community. Join us on our Discord Server.
Do you know that you can earn a passive income by delegating to @indiaunited. We share more than 100 % of the curation rewards with the delegators in the form of IUC tokens. HP delegators and IUC token holders also get upto 20% additional vote weight.
Here are some handy links for delegations: 100HP, 250HP, 500HP, 1000HP.
100% of the rewards from this comment goes to the curator for their manual curation efforts. Please encourage the curator @bhattg by upvoting this comment and support the community by voting the posts made by @indiaunited..
This post received an extra 10.00% vote for delegating HP / holding IUC tokens.
!giphy thank you so much
!PIZZA
Via Tenor
!giphy thank you so much
!PIZZA
Via Tenor
Open source is a good step forward. More experts can look at and test the code and maybe even improve it. Congrats.
Hello @seckorama
You are most welcome
Additional gifts for you
Click here if you wish to support me back
Thank you for your support 😊👍🏽
!giphy welcome
!PIZZA
Via Tenor
Thanks for all you do man
Very grateful
!giphy welcome
!PIZZA
Via Tenor
Gracias por el apoyo.
!giphy welcome
!PIZZA
Via Tenor
Thank you for the mention and for your support!
!giphy welcome
!PIZZA@miljo76
Via Tenor
I had no idea all that witnesses do, wow 3 internet :b
@daddydog
checkout https://inbox.the-hive-mobile.app
and let me know what you think of it
this application is developed by me for all the Hive users for free of cost
via Inbox
$PIZZA slices delivered:
@sagarkothari88(6/10) tipped @indiaunited
sagarkothari88 tipped hivepakistan
sagarkothari88 tipped miljo76
sagarkothari88 tipped chacald.dcymt
sagarkothari88 tipped seckorama
sagarkothari88 tipped jesus-son
sagarkothari88 tipped blanca56
Congratulations @sagarkothari88! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)
Your next payout target is 25000 HP.
The unit is Hive Power equivalent because post and comment rewards can be split into HP and HBD
You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word
STOP
Check out our last posts:
💖🙏🎉
via Inbox