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