Preface#
Well, this log was already written in April, but I thought there weren't enough updates and I didn't post it for a few months. In July, I was slacking off, doing an internship, and playing P&KU3. In August, I participated in CCBC15, so I didn't pay much attention to this place. Now the optimization is almost done and I can finally post it (:
tl;dr#
- Updated the blog theme to Shiroi
- Added AI summary
- Added statistics script
- Tested image hosting
- MicroBlog channel launched on Telegram
Updated to Shiroi Theme#
There's not much to say about this. I added some features to my blog based on the closed-source theme (see below). This includes, but is not limited to, status display, signature animation, and some small details. Feel free to explore them (:
Main features include the owner's status settings, gradient colors in the article header and high theme colors that change according to the article, infinite loading of post lists, RSS subscription for hitokoto and thoughts, selection of emoticons in the comment section, signature animation, embedded thinking in articles, AI summary, some details, and UI adjustments.
Added AI Summary#
I've been wanting to try adding this AI summary feature for a while, but I couldn't debug it until I realized later that I had written the API wrong (sad). After debugging it, the effect is pretty good. Here, I also recommend the API proxy service I'm currently using, OpenKEY, which supports the latest and hottest gpt-4o and claude3. The API call price is relatively affordable, and my friends who have seen it say it's good. Moreover, when you recharge, if you fill in the bonus code 53F20, both you and I will receive a 5% bonus on the recharge amount. Come and support me (escape
Added Statistics Script#
A while ago, I set up an Umami analytics site myself and added Umami's analytics script to both the main site and the xlog sub-site. In addition, the main site also added a Clarity analytics script for detailed analysis (currently still in debugging mode).
Ah, the statistics are currently down. I'll fix it when I have time to slack off (:
Image Hosting Test#
The images on this site will now be stored using CloudFlare R2 and processed using WebP Cloud Services.
Well, I've been using public image hosting or violating CORS rules. After thinking about it, it's more comfortable to have my own image hosting bound to my own domain.
MicroBlog Channel Launched on Telegram#
Recently, I created the latest and hottest BroadcastChannel and turned my Telegram channel into a microblog. After all, the channel is where I post the most, so I forked the original project and used the Pull app to keep it in sync with the original project. I deployed it online using CloudFlare Pages, which I haven't used before (Why didn't I use Vercel for deployment? Vercel is still hosting this site, and hosting other sites on it might cause my quota to explode (probably).
I've said so much, you can visit the MicroBlog here, and you can also follow the original channel through this link :)
That's enough content for now, and there's a reason to sync the log to the next door. I don't know when the next update will be (escape
This article is synchronized and updated to xLog by Mix Space.
The original link is https://zwh.moe/notes/7