I had some free time during the weekend and decided to spend most of it back into web development, I saw Angular 19 got out not so long ago and I wanted to use that to build and deploy an application that would pull data from Hive.
The idea behind the blog is to give share it with people I meet that are not on Hive and that would be interested in following my travels. I do publish my articles on inleo but some people would only want to see that specific content and not other posts, also makes it easier to find all the article on a dedicated site.
It was an opportunity in doing a side project in development and deployment, I have been using Netlify for my last mini project hivekpi.com which I also plan on releasing another version this months with some new features. Both made in Angular and deployed with Netlify using an automated deployment when a commit on main branch is detected and passed tests.
For future projects I am also looking at using cloudflare pages for static site, I want to compare it to my current provider.
My blog is live at https://blog.walterjay.fr/, the data on it is being pulled via API from the blockchain, it is currently displaying the posts I authored using the tag #waltinasia and I can add other tags in the future if I start another travel series. I still have a lot of articles to write about my trip, last one was published at the end of last year and I have a lot of content yet to create about that trip.
On the site you can link to my main linktree like site with all my links. I also put my ref link to inleo and if you can into one of the article, you have a button to see original article on inleo.Io
The links are embedded int the original Hive post and really helpful for navigation on any platform.
Building the site
I got the layout done and API call but I had problem displaying the images I got and it was showing the link to inleo. I needed to redo some of the rawhtml even after doing markdown interpretation it wasn't working as I wanted.
Initial home page, just a list
Compare to the first image which is the final version of the home page at https://blog.walterjay.fr/
One of the final version
Including a bit more info from the metadata about the author, dates published and edited and showing the perma link so you can easily copie and paste it into inleo or peakD
It is a pretty simple way of showing the data compared to most advance frontend on Hive but I also like just having less on the page, it is more to have a casual blog look without the votes, comments and other chain data showing up.
Using the blockchain as a database is a very interesting concept and you can always use older data for something.
Load more feature
One thing I notice if that I needed to dynamically be able to pull more data because the number of posted will grow and will be bigger then the initial API call I am doing to retrieve 7 or 10 articles. It is a cool add on feature on the home page.
Original articles
If you want to see the latest article here is the link to it on inleo. Inside that post you can see the previous ones.
Conclusion
I think there if a future is reusing content from hive for more specific site or events, it is a differnt way of using Hive I didn't think a lot about before. It is really powerful tool because I can publish from any platform onchain and re use it elsewhere. Great thing is if I update the post link to the permalink then it will also update everywhere.
What do you think about this? anyway I am very happy with my time spent doing that over the weekend, got my mind busy and active. Also I have the new dev setup to continue working on hivekpi.com after this to add features and make it look nicer.
At the same time also created nice branded QR codes for events or meeting new people on the road in order to share with a simple scan :
Posted Using INLEO
If your blog grows and you'll want to run stats or do a search on your much older articles, you should have a look into HiveSQL if you haven't already, its much faster than doing it trough API calls directly on the blockchain.
I didn't even think about HiveSQL, I now it does exist but it was easy with the API call. At the moment speed isn't really an issue but thanks I will keep that at the back of my mind for this one or other Hiveprojects.
I was having fun working on a tool to get some stats and do searches by user or keywords in posts and or comments and using hivesql makes a visible difference compared to directly searching on the blokchain, but I understand its not the case for you, yet. :))
May I ask you to support the new proposal (#329) so HiveSQL can stay free for the community?
Thank you!
Good idea to suggest HiveSQL @drlobes 👍
BTW, your support for the previous HiveSQL proposal has been much appreciated but it expired.
May I ask you to support the new proposal (#329) so HiveSQL can stay free for the community?
Thank you!
But of course, it's done!
Without imposing, if you could take a look at the HiveBuzz Proposal as well... 😁
Yup, done!
Thank you for your double support! 👍👍
@tipu curate
!LOL
!INDEED
!ALIVE
!HOPE
!LUV
(2/5) sent you LUV. | tools | discord | community | HiveWiki | <>< daily@walterjay, @gameexp
lolztoken.com
They'd crack each other up.
Credit: gillianpearce
$LOLZ on behalf of gameexp
(2/10)
PLAY & EARN $DOOM
@walterjay, I sent you anHmm does hive host domains, the arrangement of your blog is really neat and easy to access, not complicated at all compare to some
Congratulations @walterjay! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)
Your next target is to reach 640000 upvotes.
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
I can create any kind of website you want for you.I want to help you by creating a website.@walterjay