diff --git a/minify-build.js b/minify-build.js index 219e7c4..666cf03 100644 --- a/minify-build.js +++ b/minify-build.js @@ -36,6 +36,7 @@ async function createOptimizedBuild() { content: [ 'public/index.html', 'public/about.html', + 'public/getting-started.html', ], css: [ 'public/css/pico.jade.css', @@ -152,6 +153,7 @@ async function createOptimizedBuild() { console.log('šŸ“„ Step 4: Minifying HTML...'); await minifyHTMLFile('public/index.html', 'dist/index.html'); await minifyHTMLFile('public/about.html', 'dist/about.html'); + await minifyHTMLFile('public/getting-started.html', 'dist/getting-started.html'); // Step 5: Copy assets and SEO files console.log('šŸ“ Step 5: Copying assets and SEO files...'); @@ -165,9 +167,10 @@ async function createOptimizedBuild() { // Copy SEO files try { await fs.copyFile('public/structured-data.json', 'dist/structured-data.json'); + await fs.copyFile('public/getting-started-structured-data.json', 'dist/getting-started-structured-data.json'); await fs.copyFile('public/sitemap.xml', 'dist/sitemap.xml'); await fs.copyFile('public/robots.txt', 'dist/robots.txt'); - console.log(' āœ… SEO files copied (structured-data.json, sitemap.xml, robots.txt)'); + console.log(' āœ… SEO files copied (structured-data.json, getting-started-structured-data.json, sitemap.xml, robots.txt)'); } catch (err) { console.log(' āš ļø Some SEO files not found, skipping...'); } @@ -312,6 +315,20 @@ async function copyDirectoryRecursive(src, dest) { } } +async function injectStructuredData(html, jsonPath) { + try { + const json = await fs.readFile(jsonPath, 'utf8'); + const minified = JSON.stringify(JSON.parse(json)); + return html.replace( + /` + ); + } catch (err) { + console.log(` āš ļø ${jsonPath} not found, skipping injection`); + return html; + } +} + async function minifyHTMLFile(inputPath, outputPath) { const html = await fs.readFile(inputPath, 'utf8'); @@ -322,6 +339,15 @@ async function minifyHTMLFile(inputPath, outputPath) { '') .replace(/ + + + + + +
+ +
+ +
+

Get started with Keyboard Vagabond

+

New to the fediverse? This guide walks you through signing up on Keyboard Vagabond and customizing your feed. Accounts require manual approval to prevent spam—allow a little time after you sign up. For background on how the community works, see our about page.

+ +
+

Basic steps for getting started

+
    +
  1. Complete the sign up form on Piefed, + Pixelfed, Mastodon, + Bookwyrm, or Write Freely and give a good answer to the question so that we know you're a human.
  2. +
  3. Wait for approval, but browse and explore communities and hashtags
  4. +
  5. Follow the guide below and subscribe to communities, feeds, topics, and hashtags. On Piefed, check the box to limit or hide political posts if you want. Look under settings to customize your view, or block what you don't want to see.
  6. +
  7. On Piefed, check out the scaled and active sortings. They help bring smaller communities into view that may not have a lot of votes or comments.
  8. +
+
+ +

Navigating Communities and Following Hashtags

+
+

Piefed

+

Browse the home page to see all known posts, or click the Local button to see posts made on this server.

+
+ Screenshot showing Local posts on Piefed +
+

Expand the explore menu to see collections of communities.

+
+ Screenshot of expanded feeds and topics on Piefed +
+ +

Mastodon

+

After creating your account, head over to fedidevs.com/starter-packs + and search for accounts that fit your interests.

+
+ Screenshot of starter pack search on fedidevs.com +
+

You can also visit the Explore page to see trending hashtags to follow. Try searching for hashtags like #travel, #travelphotography, or #EscapeFlights.

+
+ Screenshot of trending hashtags on Mastodon +
+
+ +

Expanding what you see

+
+

Keyboard Vagabond is a smaller server, and the fediverse works by sharing what each instance follows. + Larger instances may have more content visible by default, but that does not mean they are better. + You can explore other servers, create accounts elsewhere, or subscribe to users and communities so their posts show up here.

+ +

Other fediverse servers

+ +
+ +

Codes of Conduct

+
+

While corporate media is primarily interested in the Terms of Service, the fediverse cares about the + Code of Conduct, the agreement for how we treat each other and what behavior is and is not tolerated. + Each instance should have one and Keyboard Vagabond does. These agreements help us + create welcoming spaces that are free of harassment and bigotry.

+
+
+ + + + + + diff --git a/public/index.html b/public/index.html index 4debd32..a4b4bfe 100644 --- a/public/index.html +++ b/public/index.html @@ -8,10 +8,10 @@ - Keyboard Vagabond - Fediverse for Digital Nomads - - - + Keyboard Vagabond | Digital Nomad Online Community & Social Media + + + @@ -21,8 +21,8 @@ - - + + @@ -30,8 +30,8 @@ - - + + @@ -52,7 +52,9 @@ - + @@ -90,7 +92,17 @@