![GNS-Update.png](https://files.peakd.com/file/peakd-hive/freebeings/23xKnG9xEyjiHZ8RTUrcggvcKV4DrsVCkaMfx3FCMAhYNXaaBCVsUthEsvKp5n286FhrB.png) @imwatsi shares an update on the development of the Global Notification System (GNS). **GitHub:** [https://github.com/FreeBeings-io/hive-gns](https://github.com/FreeBeings-io/hive-gns) **Preview:** [https://preview.gns.freebeings.io](https://preview.gns.freebeings.io/) **API:** [https://gns.freebeings.io/docs](https://gns.freebeings.io/docs) --- # Keychain on Preview Site You can now login to the GNS preview site using Hive Keychain and see notifications for your account. The preview site showcases what notifications on GNS would look like. Access the preview site here: [https://preview.gns.freebeings.io](https://preview.gns.freebeings.io/) **Screenshot:** ![](https://lh5.googleusercontent.com/YWs2RIClPzkdr0xaWGKHuO3LSRos3pVoQRfka80sv7s2wBh3Yu8bmDbH--uL4hhc5bW2-x4BU__cFY5es4kil60JdRZPz2A8lBWfjoB2Rt4iTHu5Ec12KsjiLmLONYmhBcLuD1yZU7wsxvHRKkEgR_U) # Code Refactoring Significant refactoring was done to support the expanding notification types now supported. This included redefining the modules in which notifications are categorized, new `hook.json` formats and JSON Path filtering as a base for supporting fine-grained user preferences. # Performance Improvements The sync script has been updated to a faster version. The previous version processed data from blocks on a per-module basis, which resulted in operations being processed more than once by different notification functions. Now it processes each operation within a block and triggers notification hooks across all GNS modules that are dependent on that operation type. # New Notifications Supported The following notifications were added to GNS: - Social - Mentions - Currency - Author rewards - Curation rewards - Comment benefactor rewards - Fill convert request # User Preferences Users can now choose which notifications to receive as well as setup options for each notification, if available. New documentation has been added to the repository for developers: - [User preferences](https://github.com/FreeBeings-io/hive-gns/blob/main/docs/preferences/user_preferences.md): updating user preferences (global) - [Notification Options](https://github.com/FreeBeings-io/hive-gns/blob/main/docs/preferences/notification_options.md): an overview of how to update options for individual notification types - [Currency Options](https://github.com/FreeBeings-io/hive-gns/blob/main/docs/preferences/currency_options.md): options for notifications in the `currency` module # Auto-populate app_data from Database The `app_data` payload in the system status response is now populated directly from the database, using the available modules and notifications as loaded from `hook.json` files. This means: as new notifications are added, they are automatically included in the API response, after they pass checks and DB verification. # What’s Next - User preferences on frontend preview site - Continue adding support for more notifications - Add user options for more notification types --- *by @imwatsi - Co-Founder | CEO | Blockchain Developer* --- --- # Vote for our witness **Witness Name:** @imwatsi ![Witness-2.png](https://files.peakd.com/file/peakd-hive/freebeings/23ymjvHFNGbUr1EPaiJs7t1kiQsF1ugf2bvt77cewpnA5C6rH5MiKir7jYmLVR5syDK1z.png) --- **We're glad to be building on Hive.** *Follow the @freebeings account for more updates.*
author | freebeings |
---|---|
permlink | gns-keychain-login-new-notifications-and-user-preferences |
category | hive-139531 |
json_metadata | {"app":"peakd/2023.3.4","format":"markdown","tags":["gns","freebeings-io","hive"],"users":["imwatsi","freebeings"],"image":["https://files.peakd.com/file/peakd-hive/freebeings/23xKnG9xEyjiHZ8RTUrcggvcKV4DrsVCkaMfx3FCMAhYNXaaBCVsUthEsvKp5n286FhrB.png","https://lh5.googleusercontent.com/YWs2RIClPzkdr0xaWGKHuO3LSRos3pVoQRfka80sv7s2wBh3Yu8bmDbH--uL4hhc5bW2-x4BU__cFY5es4kil60JdRZPz2A8lBWfjoB2Rt4iTHu5Ec12KsjiLmLONYmhBcLuD1yZU7wsxvHRKkEgR_U","https://files.peakd.com/file/peakd-hive/freebeings/23ymjvHFNGbUr1EPaiJs7t1kiQsF1ugf2bvt77cewpnA5C6rH5MiKir7jYmLVR5syDK1z.png"]} |
created | 2023-03-30 12:59:51 |
last_update | 2023-03-30 12:59:51 |
depth | 0 |
children | 3 |
last_payout | 2023-04-06 12:59:51 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 7.190 HBD |
curator_payout_value | 7.144 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 3,534 |
author_reputation | 44,090,054,815,462 |
root_title | "GNS: Keychain Login, New Notifications and User Preferences" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 122,108,912 |
net_rshares | 26,162,323,739,204 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
leprechaun | 0 | 1,013,442,582 | 9.5% | ||
kennyskitchen | 0 | 7,911,821,309 | 19% | ||
gerber | 0 | 89,248,352,169 | 47% | ||
daan | 0 | 52,032,547,187 | 8% | ||
ezzy | 0 | 8,002,960,417 | 47% | ||
ausbitbank | 0 | 212,131,263,109 | 7.6% | ||
kendewitt | 0 | 385,239,612,051 | 100% | ||
exyle | 0 | 440,187,876,602 | 47% | ||
stevescoins | 0 | 941,801,092 | 9.5% | ||
someguy123 | 0 | 360,985,463,971 | 47% | ||
wakeupnd | 0 | 96,701,199,917 | 50% | ||
dbroze | 0 | 7,514,397,233 | 19% | ||
jimbobbill | 0 | 2,236,445,264 | 15% | ||
dylanhobalart | 0 | 110,914,993,273 | 21% | ||
ura-soul | 0 | 20,752,974,644 | 9.5% | ||
v4vapid | 0 | 307,713,454,138 | 2.09% | ||
privex | 0 | 112,247,481,736 | 94% | ||
borislavzlatanov | 0 | 11,462,754,248 | 100% | ||
louisthomas | 0 | 144,983,101,629 | 100% | ||
forykw | 0 | 181,043,422,733 | 23.5% | ||
newsflash | 0 | 3,901,845,731 | 0.52% | ||
alphacore | 0 | 7,590,354,808 | 5.07% | ||
truthforce | 0 | 1,183,702,704 | 19% | ||
joeyarnoldvn | 0 | 485,318,916 | 1.47% | ||
rafalski | 0 | 640,018,858 | 42.3% | ||
hope-on-fire | 0 | 198,909,061,537 | 26% | ||
shitsignals | 0 | 9,163,702,268 | 47% | ||
bambukah | 0 | 3,227,350,012 | 20% | ||
jeanlucsr | 0 | 2,728,402,223 | 4.7% | ||
felander | 0 | 245,825,140,436 | 47% | ||
cconn | 0 | 4,789,595,514 | 47% | ||
yogacoach | 0 | 10,725,714,780 | 47% | ||
tomwafula | 0 | 1,620,710,646 | 47% | ||
deathwing | 0 | 1,270,711,805,890 | 47% | ||
risemultiversity | 0 | 1,359,472,674 | 9.5% | ||
informationwar | 0 | 109,108,170,584 | 19% | ||
blockbrothers | 0 | 801,785,548 | 23.5% | ||
emrebeyler | 0 | 1,513,233,612,146 | 42.3% | ||
drunksamurai | 0 | 2,678,470,754 | 30% | ||
spiritabsolute | 0 | 32,753,583,416 | 100% | ||
dmwh | 0 | 25,491,567,781 | 9.5% | ||
anikekirsten | 0 | 2,039,314,387 | 50% | ||
jim888 | 0 | 865,579,884,950 | 22% | ||
empress-eremmy | 0 | 12,952,367,698 | 9.5% | ||
fieryfootprints | 0 | 46,532,043,601 | 20% | ||
unconditionalove | 0 | 5,933,515,530 | 23.5% | ||
minerspost | 0 | 1,035,124,552 | 23.5% | ||
fireguardian | 0 | 2,720,080,572 | 20% | ||
darkpylon | 0 | 1,948,446,449 | 47% | ||
dumnebari | 0 | 1,184,985,501 | 50% | ||
bestboom | 0 | 9,576,218,205 | 47% | ||
ravenmus1c | 0 | 2,113,233,459 | 10% | ||
quochuy | 0 | 306,001,725,491 | 5.33% | ||
meanbees | 0 | 5,363,170,545 | 4.7% | ||
fw206 | 0 | 5,688,466,129,463 | 100% | ||
pladozero | 0 | 32,967,150,738 | 10% | ||
nateaguila | 0 | 227,702,838,376 | 8% | ||
commonlaw | 0 | 4,848,856,474 | 35% | ||
linco | 0 | 1,834,448,355 | 42.3% | ||
haccolong | 0 | 507,847,575 | 4.75% | ||
gaottantacinque | 0 | 244,305,186 | 100% | ||
luciannagy | 0 | 10,631,628,789 | 50% | ||
smartvote | 0 | 51,701,296,460 | 2.1% | ||
hoaithu | 0 | 1,338,971,816 | 4.03% | ||
deepdives | 0 | 93,224,481,127 | 19% | ||
gasaeightyfive | 0 | 680,915,517 | 100% | ||
dlike | 0 | 154,572,143,179 | 47% | ||
anhvu | 0 | 841,050,979 | 3.8% | ||
bobby.madagascar | 0 | 1,687,227,848 | 23.5% | ||
cribbio | 0 | 1,066,710,828 | 100% | ||
riskneutral | 0 | 2,204,032,564 | 19% | ||
merlin7 | 0 | 33,936,083,580 | 16.92% | ||
followjohngalt | 0 | 7,313,402,329 | 44.65% | ||
cakemonster | 0 | 21,566,480,389 | 23.5% | ||
ketcom | 0 | 13,191,788,186 | 100% | ||
slothlydoesit | 0 | 25,722,004,322 | 50% | ||
determine | 0 | 2,934,737,220 | 47% | ||
permaculturedude | 0 | 1,578,973,819 | 47% | ||
haikusailor | 0 | 968,551,213 | 47% | ||
thelogicaldude | 0 | 46,407,334,152 | 50% | ||
denizcakmak | 0 | 1,278,201,335 | 100% | ||
hungryharish | 0 | 2,671,205,748 | 11.75% | ||
russia-btc | 0 | 1,083,206,442,383 | 100% | ||
maxsieg | 0 | 2,809,773,184 | 19% | ||
hungryanu | 0 | 766,329,164 | 11.75% | ||
poliwalt10 | 0 | 5,434,357,910 | 11.75% | ||
nooblogger | 0 | 5,551,320,607 | 50% | ||
shauner | 0 | 5,670,849,978 | 25% | ||
clownworld | 0 | 849,134,346 | 9.5% | ||
iktisat | 0 | 923,582,658 | 100% | ||
anosys | 0 | 1,300,756,696 | 50% | ||
steemindian | 0 | 970,461,919 | 23.5% | ||
kgswallet | 0 | 1,254,648,494 | 23.5% | ||
milu-the-dog | 0 | 581,977,485 | 47% | ||
triplea.bot | 0 | 11,074,531,245 | 47% | ||
steem.leo | 0 | 47,157,151,156 | 47% | ||
leo.syndication | 0 | 890,896,264 | 47% | ||
one.life | 0 | 913,087,909 | 46.9% | ||
nata86 | 0 | 743,377,085 | 50% | ||
lividseagulls | 0 | 989,766,488 | 32.9% | ||
dpoll.witness | 0 | 5,084,535,953 | 42.3% | ||
therealyme | 0 | 413,348,950,817 | 7.05% | ||
invest2learn | 0 | 1,231,173,632 | 47% | ||
veryanprime | 0 | 554,762,482 | 11.75% | ||
ribary | 0 | 17,167,104,836 | 23.5% | ||
kgsupport | 0 | 1,108,634,205 | 23.5% | ||
atma.love | 0 | 19,867,084,386 | 3.8% | ||
mice-k | 0 | 4,597,784,721 | 47% | ||
vault.tokens | 0 | 988,452,724 | 50% | ||
dpend.active | 0 | 3,596,662,791 | 9.4% | ||
hivetrending | 0 | 411,335,032,618 | 100% | ||
dcityrewards | 0 | 470,837,672,348 | 47% | ||
sketching | 0 | 2,450,133,839 | 23.5% | ||
kennysgaminglife | 0 | 1,243,388,357 | 50% | ||
kingneptune | 0 | 723,269,323 | 50% | ||
forkyishere | 0 | 3,560,536,409 | 23.5% | ||
patronpass | 0 | 3,167,333,615 | 47% | ||
jelly13 | 0 | 1,988,749,842 | 23.5% | ||
plusvault | 0 | 1,147,472,133 | 47% | ||
vokus | 0 | 3,929,863,012 | 50% | ||
goliathus | 0 | 3,233,724,916 | 25% | ||
arrrds | 0 | 530,306,879 | 23.5% | ||
finris | 0 | 770,137,951 | 50% | ||
birdbeaksd | 0 | 816,790,610 | 100% | ||
cocaaladioxine | 0 | 1,593,569,408 | 51% | ||
hivechat | 0 | 2,524,471,259 | 23.5% | ||
dcrops | 0 | 345,519,263,432 | 23.5% | ||
rondonshneezy | 0 | 7,139,500,158 | 50% | ||
dadspardan | 0 | 8,551,044,603 | 50% | ||
hykss.leo | 0 | 91,997,668,748 | 9.4% | ||
eldritchspig | 0 | 642,144,710 | 50% | ||
yozen | 0 | 1,203,698,392 | 11.75% | ||
ausbit.dev | 0 | 9,442,444,155 | 47% | ||
huzzah | 0 | 36,991,568,238 | 100% | ||
mstamatov | 0 | 1,276,563,419 | 50% | ||
cooperclub | 0 | 26,752,819,702 | 50% | ||
nyxlabs | 0 | 8,554,689,982 | 50% | ||
draygyn | 0 | 3,308,108,620 | 50% | ||
efastromberg94 | 0 | 782,494,113 | 35% | ||
creodas | 0 | 2,689,950,873 | 75% | ||
drricksanchez | 0 | 17,381,784,167 | 3.52% | ||
iviaxpow3r | 0 | 6,003,473,887 | 50% | ||
wizzitywillican | 0 | 1,960,014,023 | 50% | ||
hive.pizza | 0 | 2,299,806,102,878 | 100% | ||
re-public | 0 | 649,429,193 | 5.87% | ||
pizzabot | 0 | 14,813,780,571 | 100% | ||
dajokawild | 0 | 18,680,779,039 | 50% | ||
okluvmee | 0 | 8,663,504,324 | 9.5% | ||
photo-hive-five | 0 | 774,092,792 | 47% | ||
shanhenry | 0 | 2,052,008,164 | 100% | ||
mirteg | 0 | 3,650,814,028 | 11.75% | ||
dibblers.dabs | 0 | 84,902,114,642 | 60% | ||
john9inch | 0 | 2,406,941,039 | 50% | ||
szmobacsi | 0 | 5,797,307,098 | 90% | ||
delver | 0 | 8,502,018,857 | 19% | ||
onthemountain | 0 | 751,368,106 | 50% | ||
trentonlundy1 | 0 | 7,705,484,800 | 50% | ||
andriko | 0 | 805,916,793 | 100% | ||
jam728 | 0 | 5,051,598,051 | 100% | ||
avidez | 0 | 664,715,555 | 50% | ||
sovstar | 0 | 2,586,217,927 | 50% | ||
hyun-soo | 0 | 2,199,117,153 | 23.5% | ||
thaddeusprime | 0 | 2,566,632,982 | 50% | ||
onewolfe | 0 | 1,015,351,427 | 50% | ||
banzafahra | 0 | 6,638,415,408 | 50% | ||
chuiiiiiiii | 0 | 939,449,753 | 69% | ||
mcgilli | 0 | 1,069,918,321 | 100% | ||
thinkrdotexe | 0 | 10,296,503,616 | 100% | ||
ingi1976 | 0 | 8,810,288,303 | 25% | ||
thercek | 0 | 545,336,937 | 50% | ||
nane-qts | 0 | 8,848,187,343 | 100% | ||
darkangel07 | 0 | 0 | 100% | ||
epicur0 | 0 | 2,881,151,628 | 100% | ||
marcinxyz | 0 | 1,362,730,676 | 50% | ||
h3m4n7 | 0 | 23,682,476,771 | 90% | ||
spiritverve | 0 | 13,423,668,935 | 100% | ||
thedoc07 | 0 | 3,273,154,112 | 50% | ||
tillmea | 0 | 574,644,482 | 100% | ||
tydynrain | 0 | 2,406,360,153 | 4.75% | ||
leodis | 0 | 985,389,616 | 39.95% | ||
cherute | 0 | 2,918,877,354 | 50% | ||
queenstarr | 0 | 15,043,257,961 | 50% | ||
crypt0gnome | 0 | 5,158,192,093 | 2% | ||
lothbrox | 0 | 1,781,072,063 | 100% | ||
zeclipse | 0 | 3,049,020,804 | 100% | ||
blocktunes | 0 | 6,088,028,450 | 10% | ||
bacon-dub | 0 | 673,984,388 | 100% | ||
studio3141 | 0 | 505,324,887 | 50% | ||
gwajnberg | 0 | 9,963,564,781 | 70% | ||
jhoanbolivar19 | 0 | 3,027,152,603 | 100% | ||
investinfreedom | 0 | 11,648,640,664 | 19% | ||
ryosai | 0 | 836,909,257 | 23.5% | ||
dalekma | 0 | 1,631,646,548 | 100% | ||
elkingplayer | 0 | 2,296,763,881 | 100% | ||
incantia | 0 | 572,837,252 | 70% | ||
prosocialise | 0 | 79,511,864,088 | 50% | ||
splinterob | 0 | 581,775,440 | 50% | ||
hurtlocker | 0 | 138,724,747,511 | 100% | ||
plicc8 | 0 | 6,844,380,287 | 100% | ||
rondonsleezy | 0 | 1,817,635,719 | 50% | ||
resonator | 0 | 6,467,836,893,413 | 19% | ||
thinkr.exe | 0 | 2,997,561,339 | 100% | ||
fefe99 | 0 | 488,867,000 | 100% | ||
dutchchemist | 0 | 795,684,795 | 100% | ||
jbros | 0 | 499,108,096 | 100% | ||
masterfarmer | 0 | 1,557,937,429 | 100% | ||
slothbuzz | 0 | 1,240,374,539 | 5% | ||
blocktunesdao | 0 | 3,535,309,021 | 10% | ||
slothburn | 0 | 15,014,817,228 | 25% | ||
mystic.realms | 0 | 1,951,602,544 | 90% |
Congratulations @freebeings! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s) <table><tr><td><img src="https://images.hive.blog/60x70/http://hivebuzz.me/@freebeings/upvoted.png?202303301344"></td><td>You received more than 1750 upvotes.<br>Your next target is to reach 2000 upvotes.</td></tr> </table> <sub>_You can view your badges on [your board](https://hivebuzz.me/@freebeings) and compare yourself to others in the [Ranking](https://hivebuzz.me/ranking)_</sub> <sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub> **Check out our last posts:** <table><tr><td><a href="/hive-122221/@hivebuzz/pud-202304"><img src="https://images.hive.blog/64x128/https://i.imgur.com/805FIIt.jpg"></a></td><td><a href="/hive-122221/@hivebuzz/pud-202304">Hive Power Up Day - April 1st 2023</a></td></tr><tr><td><a href="/hivebuzz/@hivebuzz/birthday-7"><img src="https://images.hive.blog/64x128/https://i.imgur.com/OaAR9Cj.png"></a></td><td><a href="/hivebuzz/@hivebuzz/birthday-7">Happy Birthday to the Hive Community</a></td></tr><tr><td><a href="/hive-139531/@hivebuzz/proposal-2324"><img src="https://images.hive.blog/64x128/https://i.imgur.com/RNIZ1N6.png"></a></td><td><a href="/hive-139531/@hivebuzz/proposal-2324">The Hive Gamification Proposal</a></td></tr></table> ###### Support the HiveBuzz project. [Vote](https://hivesigner.com/sign/update_proposal_votes?proposal_ids=%5B%22248%22%5D&approve=true) for [our proposal](https://peakd.com/me/proposals/248)!
author | hivebuzz |
---|---|
permlink | notify-freebeings-20230330t141257 |
category | hive-139531 |
json_metadata | {"image":["http://hivebuzz.me/notify.t6.png"]} |
created | 2023-03-30 14:12:57 |
last_update | 2023-03-30 14:12:57 |
depth | 1 |
children | 0 |
last_payout | 2023-04-06 14:12:57 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 1,568 |
author_reputation | 367,875,604,025,714 |
root_title | "GNS: Keychain Login, New Notifications and User Preferences" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 122,110,454 |
net_rshares | 0 |
<center>PIZZA! The Hive.Pizza team manually curated this post. <sub>Learn more at https://hive.pizza.</sub></center>
author | pizzabot |
---|---|
permlink | re-gns-keychain-login-new-notifications-and-user-preferences-20230331t011100z |
category | hive-139531 |
json_metadata | "{"app": "pizzabot"}" |
created | 2023-03-31 01:11:00 |
last_update | 2023-04-09 19:07:06 |
depth | 1 |
children | 0 |
last_payout | 2023-04-07 01:11:00 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 118 |
author_reputation | 6,160,190,920,737 |
root_title | "GNS: Keychain Login, New Notifications and User Preferences" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 122,126,693 |
net_rshares | 0 |
https://twitter.com/1542784423367741441/status/1647198350142238723 <sub> The rewards earned on this comment will go directly to the people sharing the post on Twitter as long as they are registered with @poshtoken. Sign up at https://hiveposh.com.</sub>
author | poshtoken | ||||||
---|---|---|---|---|---|---|---|
permlink | re-freebeings-gns-keychain-login-new-notifications-and-user-pref-118314299 | ||||||
category | hive-139531 | ||||||
json_metadata | "{"app":"Poshtoken 0.0.1","payoutToUser":[]}" | ||||||
created | 2023-04-15 11:21:24 | ||||||
last_update | 2023-04-15 11:21:24 | ||||||
depth | 1 | ||||||
children | 0 | ||||||
last_payout | 2023-04-22 11:21:24 | ||||||
cashout_time | 1969-12-31 23:59:59 | ||||||
total_payout_value | 0.000 HBD | ||||||
curator_payout_value | 0.000 HBD | ||||||
pending_payout_value | 0.000 HBD | ||||||
promoted | 0.000 HBD | ||||||
body_length | 254 | ||||||
author_reputation | 3,941,589,776,176,216 | ||||||
root_title | "GNS: Keychain Login, New Notifications and User Preferences" | ||||||
beneficiaries |
| ||||||
max_accepted_payout | 1,000,000.000 HBD | ||||||
percent_hbd | 0 | ||||||
post_id | 122,563,074 | ||||||
net_rshares | 0 |