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

we are going open source

  • 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

docker-compose-file with env variables

  • 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

user creation script

  • 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

mongo-db 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

mongodb 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

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 NameResource DescriptionApprox Cost of ResourceStatus
Hive WitnessHive Witness Node$50
VSCRunning a VSC witness node$5
Discord BotHive Curators Discord Bot Node$5
HP RewardsHive Curators HP reward Bot Node$5
12 NodesPowerful video encoder nodes for 3Speak $20 on average$240
Bandwidth3 internet connections$50
DistriatorHive-Distriator Backend node$50
Community ContributorsRewarding community contributors in INR$60
Additional DevelopersAdditional Contributing Developers$1500
--------
TotalApprox$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

ValueInvestment Type
0.000 HiveHive Power Up
22.535 HiveWitness Rewards in Hive Power
76.039 HiveCuration Rewards as Hive Power
7.754 HiveBenefactor Rewards as Hive Power
----
106.328 HiveTotal 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.

🧑‍💻 Author📝 Post❤️ HiveCurator👥 Community
@jesus-sonhttps://ecency.com/@jesus-son/erdrgjwz@equipodeltaMusic Zone
@mamaemigrantehttps://ecency.com/@mamaemigrante/la-historia-de-mi-mejor@soyunasantacruzHive Argentina 🇦🇷
@kolkamkwanhttps://ecency.com/@kolkamkwan/these-menus-make-me-eat@mysteriousroadCCH
@mikezillohttps://ecency.com/@mikezillo/establishment-of-the-bitcoin-research@mysteriousroadLeoFinance
@gungunkrishuhttps://ecency.com/@gungunkrishu/hive-passive-income-streams-directing@mysteriousroadLeoFinance
@solominerhttps://ecency.com/@solominer/prepping-the-forest-road-for-gravel@dimascastillo90Homesteading
@semarekhahttps://ecency.com/@semarekha/busyness-is-starting-to-return@dimascastillo90ASEAN HIVE COMMUNITY
@aibi93https://ecency.com/@aibi93/dwmvacqz@bhattgHive Argentina 🇦🇷
@flemingfarmhttps://ecency.com/@flemingfarm/rain-harvests-planting-spuds-1000-digging-spuds-spider-aim-freeze-dryer-batch-91-finished-grilling-tuesday@bhattgHomesteading
@lunaticantohttps://ecency.com/@lunaticanto/los-malditos-tienen-conciencia-do-the-damned-have-a-conscience@bhattgCatarsis
@nainaztengrahttps://ecency.com/@nainaztengra/indiaunited-weekly-contest-15-how@bhattgIndiaunited
@alokkumar121https://ecency.com/@alokkumar121/doctor-blight-is-powerful-magic-monster-at-discount-fjx@bhattgSplinterlands
@luckyalihttps://ecency.com/@luckyali/crude-oil-drops-on-concerns-over-chinese-demand-6bz@bhattgLeoFinance
@gidlarkhttps://ecency.com/@gidlark/meshkanci-mogo-sadu-nejmovirni-komahi-u-fotografiyah-2-inhabitants-of-my-garden-incredible-insects-in-photos-2@dimascastillo90Amazing Nature
@bil.praghttps://ecency.com/@bil.prag/valley-echo-rock-fest-day-2@dimascastillo90Photography Lovers
@abelfotografiahttps://ecency.com/@abelfotografia/one-week-at-a-time-chapter-38-engesp@dimascastillo90Photography Lovers
@fijimermaidhttps://ecency.com/@fijimermaid/quora-towershead-splinterlands-art-contest-week-304@dimascastillo90Alien Art Hive
@lileisabelhttps://ecency.com/@lileisabel/a-stroll-through-the-plaza-de-la-revolucion-enes@dimascastillo90Wednesday Walk
@iptrucshttps://ecency.com/@iptrucs/albania-a-rising-tourist-destination-part-32@dimascastillo90PhotoFeed
@ylichhttps://ecency.com/@ylich/xzngkvwj@dimascastillo90La Colmena
@x-rainhttps://ecency.com/@x-rain/meandering-in-saigon-portraits-and-street-scenes@dimascastillo90Wednesday Walk
@xraymanhttps://ecency.com/@xrayman/monomad-challenge-the-gentle-guard-o-guarda-gentil-en-pt@dimascastillo90Black And White
@curamaxhttps://ecency.com/@curamax/unboxing-my-new-huion-kamvas@dimascastillo90Hive Learners
@tatdthttps://ecency.com/@tatdt/wednesday-walk-in-the-park-of-the-forestry-academy@dimascastillo90Wednesday Walk
@miljo76https://ecency.com/@miljo76/bohinj-area-a-piece-of@dimascastillo90Worldmappin
@josediccushttps://ecency.com/@josediccus/the-similarities-of-risk-luck-guarantees-and-uncertainty--gt@nkemakonam89LeoFinance
@chacald.dcymthttps://ecency.com/@chacald.dcymt/jewelry-set-or-inspired-by-the-card-lira-the-dark-from-splinterlands-eng-esp@bhattgJewelry
@bemierhttps://ecency.com/@bemier/mercimekli-vegan-koefte-lentil-vegan@mysteriousroadHive Türkiye
@jasonmunapaseehttps://ecency.com/@jasonmunapasee/natural-beauty-from-random-images@mysteriousroadAmazing Nature
@sam9999https://ecency.com/@sam9999/why-does-our-body-temperature@mysteriousroadSTEMGeeks
@mariaserhttps://ecency.com/@mariaser/esp-eng-a-family-lunch-in-celebration-of-our-children-at-home@bhattgFamily & Friends
@blanca56https://ecency.com/@blanca56/mi-entrada-al-concurso-topfivefamily-observa-piensa-escribe-kit-para-ir-a-la-cola@bhattgTop Family
@melinda010100https://ecency.com/@melinda010100/sunflower-fields@bhattgFeel Good
@ksteemhttps://ecency.com/@ksteem/solar-sun-day-in-florida@bhattgWeekend Experiences
@newageinvhttps://ecency.com/@newageinv/reflecting-on-splinterlands-during-my-visit-to-sitka-national-park@bhattgSplinterlands
@crazyphantombrhttps://ecency.com/@crazyphantombr/ramblings-july-30th-3gp@bhattgFreeCompliments
@enjarhttps://ecency.com/@enjar/taking-a-look-at-kaku-ancient-seal@bhattgHive Gaming

Support @sagarkothari88

Vote sagarkothari88 as Hive Witness

Support @threespeak

Vote for 3Speak as Witness

Get paid for paying in HBD/Hive & SATs

https://distriator.com

Credits to designers - noakmilo & josegrech

image by noakmilo

banner of distriator by josegrech

Swap your HBD/Hive using @ecency



0
0
0.000
25 comments
avatar

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.

image.png

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.

0
0
0.000
avatar
(Edited)

PIZZA!

$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

0
0
0.000
avatar

Congratulations @sagarkothari88! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)

You received more than 24000 HP as payout for your posts, comments and curation.
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:

Be ready for the August edition of the Hive Power Up Month!
0
0
0.000