Skip to content

Commit

Permalink
chore: update dependencies and workspace configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsneighbour committed Feb 12, 2024
1 parent 0bac4a6 commit 5397650
Show file tree
Hide file tree
Showing 8 changed files with 38 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .frontmatter/database/mediaDb.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"home":{"patrick":{"github.com":{"davidsneighbour":{"hugo-modules":{"assets":{"images":{"pictures":{}}},"modules":{"pictures":{"assets":{"images":{"pictures":{"assets-cat.jpg":{}}}}}},"documentation":{"hugo-debug":{}}},"hugo-theme":{"theme":{"assets":{"js":{"scripts":{}}}}}}}}},"content":{"blog":{"2023":{"prevent-jsbuild-from-removing-un-unused-javascript-functionality":{}}}}}
{"home":{"patrick":{"github.com":{"davidsneighbour":{"hugo-modules":{"assets":{"images":{"pictures":{}}},"modules":{"pictures":{"assets":{"images":{"pictures":{"assets-cat.jpg":{}}}}}},"documentation":{"hugo-debug":{}}},"hugo-theme":{"theme":{"assets":{"js":{"scripts":{}}}}}}}}},"content":{"blog":{"2023":{"prevent-jsbuild-from-removing-un-unused-javascript-functionality":{}}}},".github":{"images":{}}}
8 changes: 6 additions & 2 deletions bin/services/notify.bluesky.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,22 @@ import { loadFeed, downloadImage, loadEnv } from './utils.mjs';
import { createBlueSkyPost, createBlueskyEmbed, parseMentions, parseUrls } from './utils.bluesky.mjs';

const main = async () => {
// @ts-ignore
const { BskyAgent, RichText } = blue;
try {
await loadEnv();
const { FEED_LINK, BLUESKY_BOT_USERNAME, BLUESKY_BOT_PASSWORD } = process.env;
// @ts-ignore
const feed = await loadFeed(FEED_LINK);

const fileContent = {
"body": await createBlueSkyPost(feed.rss.channel[0].item[0]),
};
console.log(fileContent);

const agent = new BskyAgent({ service: "https://bsky.social/" });
const agent = new BskyAgent({
service: "https://bsky.social/"
});
await agent.login({
identifier: BLUESKY_BOT_USERNAME,
password: BLUESKY_BOT_PASSWORD,
Expand Down Expand Up @@ -51,7 +55,7 @@ const main = async () => {
$type: "app.bsky.feed.post",
text: rt.text,
facets: facets,
langs: ["end"],
langs: ["en"],
createdAt: new Date().toISOString(),
embed: await createBlueskyEmbed(feed.rss.channel[0].item[0], testUpload.data.blob),
};
Expand Down
4 changes: 0 additions & 4 deletions bin/services/utils.bluesky.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
*
* @param {*} post
* @param {*} blob
* @returns
Expand All @@ -19,7 +18,6 @@ export const createBlueskyEmbed = async (post, blob) => {
}

/**
*
* @param {*} post
* @returns
* @todo add description to the post
Expand All @@ -34,7 +32,6 @@ export const createBlueSkyPost = async (post) => {
}

/**
*
* @param {*} text
* @returns
* @todo retrieve the account data from the server
Expand Down Expand Up @@ -63,7 +60,6 @@ export function parseMentions(text) {
}

/**
*
* @param {*} text
* @returns
*/
Expand Down
Binary file not shown.
28 changes: 28 additions & 0 deletions content/blog/2024/fall-2024-emoji-update/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
title: Fall 2024 Emoji Update
linkTitle: Fall 2024 Emoji Update
description: ""
summary: ""
date: 2024-02-11T22:40:50+07:00
publishDate: 2024-02-11T22:40:50+07:00
lastmod: 2024-02-11T23:00:07+07:00
resources:
- title: "DALL·E: A dense collection of emojis from the Unicode standard, filling the entire image space on a plain white background without gradients."
src: header.webp
- src: unicode-16-emoji.avif
tags:
- tag1
- tag2
- tag3
- 100DaysToOffload
type: blog
---

In the fall of 2024, the Unicode Consortium will introduce a whimsical new array of emojis under Unicode Version 16.0, including a "hang-over" inspired emoji that humorously captures the essence of post-celebration woes. This update will see the addition of 5,187 new characters, among which are eight fresh emojis designed to enrich our digital expressions further. The inclusion of these emojis, alongside significant expansions such as additional Egyptian Hieroglyph characters, reflects Unicode's ongoing mission to support diverse and dynamic forms of communication across global digital platforms.

{{< image src="unicode-16-emoji.avif" >}}

The "face with bags under eyes" emoji humorously captures feelings of fatigue or exhaustion, often relatable after a long night or a tiring experience. This addition to the emoji repertoire brings a playful way to express those less-than-perky moments, resonating with anyone who's ever felt the wear and tear of a sleepless night or the aftermath of a lively celebration.

* <https://www.androidpolice.com/unicode-160-prepares-to-add-8-new-emoji/>
* <https://blog.unicode.org/2024/02/unicode-160-alpha-review-opens-for.html>
Binary file not shown.
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ require (
github.com/davidsneighbour/hugo-modules v1.2024.5 // indirect
github.com/davidsneighbour/hugo-modules/modules/auditor v1.2024.0 // indirect
github.com/davidsneighbour/hugo-modules/modules/debug v1.2024.2 // indirect
github.com/davidsneighbour/hugo-modules/modules/devtools v1.2024.0 // indirect
github.com/davidsneighbour/hugo-modules/modules/feeds v1.2024.1 // indirect
github.com/davidsneighbour/hugo-modules/modules/functions v1.2024.1 // indirect
github.com/davidsneighbour/hugo-modules/modules/giscus v1.2024.0 // indirect
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ github.com/davidsneighbour/hugo-modules/modules/auditor v1.2024.0 h1:otcgbO8oQE2
github.com/davidsneighbour/hugo-modules/modules/auditor v1.2024.0/go.mod h1:LibI1IDZCBBzIo/klOpNTLTZ3H6DeZc0K0qyh7j6Zus=
github.com/davidsneighbour/hugo-modules/modules/debug v1.2024.2 h1:VkUPFgwX8M0qUvGSc0ZnMNuiyeIriu5jF4IG3QNGUxk=
github.com/davidsneighbour/hugo-modules/modules/debug v1.2024.2/go.mod h1:76X02tSGrofgyJsHXpdXoohRvtdxKDhxWJt8atxrOUI=
github.com/davidsneighbour/hugo-modules/modules/devtools v1.2024.0 h1:lNH0FOan1koc0CR0iqRtqON+n9n+3w96efH6mUZxh4M=
github.com/davidsneighbour/hugo-modules/modules/devtools v1.2024.0/go.mod h1:HXKCUCHROj5XSJctqg80RRjK7DRYfJA2hQpLwKt0syk=
github.com/davidsneighbour/hugo-modules/modules/feeds v1.2024.1 h1:GplpIzSgapoORXDFMBDG9dBdUUJFsat5sXqyiVK5CTE=
github.com/davidsneighbour/hugo-modules/modules/feeds v1.2024.1/go.mod h1:rw/rZX42wK/dzgPRtcEjst77/HTgSwUwdmH7xIt0bCo=
github.com/davidsneighbour/hugo-modules/modules/functions v1.2024.1 h1:1KvjWVXMTqyEls1m+1s05GgFRgfy9V1+Y1LUjcfd0tY=
Expand Down

0 comments on commit 5397650

Please sign in to comment.