Compare commits

...

11 Commits

23 changed files with 399 additions and 372 deletions

View File

@@ -1,61 +0,0 @@
{
"$ref": "#/definitions/blog",
"definitions": {
"blog": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"pubDate": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "string",
"format": "date"
},
{
"type": "integer",
"format": "unix-time"
}
]
},
"updatedDate": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "string",
"format": "date"
},
{
"type": "integer",
"format": "unix-time"
}
]
},
"heroImage": {
"type": "string"
},
"$schema": {
"type": "string"
}
},
"required": [
"title",
"description",
"pubDate"
],
"additionalProperties": false
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}

View File

@@ -1,5 +0,0 @@
{
"telemetry": {
"enabled": false
}
}

View File

@@ -1 +0,0 @@
export default new Map();

View File

@@ -1 +0,0 @@
export default new Map();

175
.astro/content.d.ts vendored
View File

@@ -1,175 +0,0 @@
declare module 'astro:content' {
interface Render {
'.mdx': Promise<{
Content: import('astro').MarkdownInstance<{}>['Content'];
headings: import('astro').MarkdownHeading[];
remarkPluginFrontmatter: Record<string, any>;
components: import('astro').MDXInstance<{}>['components'];
}>;
}
}
declare module 'astro:content' {
export interface RenderResult {
Content: import('astro/runtime/server/index.js').AstroComponentFactory;
headings: import('astro').MarkdownHeading[];
remarkPluginFrontmatter: Record<string, any>;
}
interface Render {
'.md': Promise<RenderResult>;
}
export interface RenderedContent {
html: string;
metadata?: {
imagePaths: Array<string>;
[key: string]: unknown;
};
}
}
declare module 'astro:content' {
type Flatten<T> = T extends { [K: string]: infer U } ? U : never;
export type CollectionKey = keyof AnyEntryMap;
export type CollectionEntry<C extends CollectionKey> = Flatten<AnyEntryMap[C]>;
export type ContentCollectionKey = keyof ContentEntryMap;
export type DataCollectionKey = keyof DataEntryMap;
type AllValuesOf<T> = T extends any ? T[keyof T] : never;
type ValidContentEntrySlug<C extends keyof ContentEntryMap> = AllValuesOf<
ContentEntryMap[C]
>['slug'];
export type ReferenceDataEntry<
C extends CollectionKey,
E extends keyof DataEntryMap[C] = string,
> = {
collection: C;
id: E;
};
export type ReferenceContentEntry<
C extends keyof ContentEntryMap,
E extends ValidContentEntrySlug<C> | (string & {}) = string,
> = {
collection: C;
slug: E;
};
/** @deprecated Use `getEntry` instead. */
export function getEntryBySlug<
C extends keyof ContentEntryMap,
E extends ValidContentEntrySlug<C> | (string & {}),
>(
collection: C,
// Note that this has to accept a regular string too, for SSR
entrySlug: E,
): E extends ValidContentEntrySlug<C>
? Promise<CollectionEntry<C>>
: Promise<CollectionEntry<C> | undefined>;
/** @deprecated Use `getEntry` instead. */
export function getDataEntryById<C extends keyof DataEntryMap, E extends keyof DataEntryMap[C]>(
collection: C,
entryId: E,
): Promise<CollectionEntry<C>>;
export function getCollection<C extends keyof AnyEntryMap, E extends CollectionEntry<C>>(
collection: C,
filter?: (entry: CollectionEntry<C>) => entry is E,
): Promise<E[]>;
export function getCollection<C extends keyof AnyEntryMap>(
collection: C,
filter?: (entry: CollectionEntry<C>) => unknown,
): Promise<CollectionEntry<C>[]>;
export function getEntry<
C extends keyof ContentEntryMap,
E extends ValidContentEntrySlug<C> | (string & {}),
>(
entry: ReferenceContentEntry<C, E>,
): E extends ValidContentEntrySlug<C>
? Promise<CollectionEntry<C>>
: Promise<CollectionEntry<C> | undefined>;
export function getEntry<
C extends keyof DataEntryMap,
E extends keyof DataEntryMap[C] | (string & {}),
>(
entry: ReferenceDataEntry<C, E>,
): E extends keyof DataEntryMap[C]
? Promise<DataEntryMap[C][E]>
: Promise<CollectionEntry<C> | undefined>;
export function getEntry<
C extends keyof ContentEntryMap,
E extends ValidContentEntrySlug<C> | (string & {}),
>(
collection: C,
slug: E,
): E extends ValidContentEntrySlug<C>
? Promise<CollectionEntry<C>>
: Promise<CollectionEntry<C> | undefined>;
export function getEntry<
C extends keyof DataEntryMap,
E extends keyof DataEntryMap[C] | (string & {}),
>(
collection: C,
id: E,
): E extends keyof DataEntryMap[C]
? string extends keyof DataEntryMap[C]
? Promise<DataEntryMap[C][E]> | undefined
: Promise<DataEntryMap[C][E]>
: Promise<CollectionEntry<C> | undefined>;
/** Resolve an array of entry references from the same collection */
export function getEntries<C extends keyof ContentEntryMap>(
entries: ReferenceContentEntry<C, ValidContentEntrySlug<C>>[],
): Promise<CollectionEntry<C>[]>;
export function getEntries<C extends keyof DataEntryMap>(
entries: ReferenceDataEntry<C, keyof DataEntryMap[C]>[],
): Promise<CollectionEntry<C>[]>;
export function render<C extends keyof AnyEntryMap>(
entry: AnyEntryMap[C][string],
): Promise<RenderResult>;
export function reference<C extends keyof AnyEntryMap>(
collection: C,
): import('astro/zod').ZodEffects<
import('astro/zod').ZodString,
C extends keyof ContentEntryMap
? ReferenceContentEntry<C, ValidContentEntrySlug<C>>
: ReferenceDataEntry<C, keyof DataEntryMap[C]>
>;
// Allow generic `string` to avoid excessive type errors in the config
// if `dev` is not running to update as you edit.
// Invalid collection names will be caught at build time.
export function reference<C extends string>(
collection: C,
): import('astro/zod').ZodEffects<import('astro/zod').ZodString, never>;
type ReturnTypeOrOriginal<T> = T extends (...args: any[]) => infer R ? R : T;
type InferEntrySchema<C extends keyof AnyEntryMap> = import('astro/zod').infer<
ReturnTypeOrOriginal<Required<ContentConfig['collections'][C]>['schema']>
>;
type ContentEntryMap = {
};
type DataEntryMap = {
"blog": Record<string, {
id: string;
body?: string;
collection: "blog";
data: InferEntrySchema<"blog">;
rendered?: RenderedContent;
filePath?: string;
}>;
};
type AnyEntryMap = ContentEntryMap & DataEntryMap;
export type ContentConfig = typeof import("../src/content.config.js");
}

View File

@@ -1 +0,0 @@
[["Map",1,2,9,10],"meta::meta",["Map",3,4,5,6,7,8],"astro-version","5.8.1","content-config-digest","8d1b7566f4d3c391","astro-config-digest","{\"root\":{},\"srcDir\":{},\"publicDir\":{},\"outDir\":{},\"cacheDir\":{},\"site\":\"https://example.com\",\"compressHTML\":true,\"base\":\"/\",\"trailingSlash\":\"ignore\",\"output\":\"static\",\"scopedStyleStrategy\":\"attribute\",\"build\":{\"format\":\"directory\",\"client\":{},\"server\":{},\"assets\":\"_astro\",\"serverEntry\":\"entry.mjs\",\"redirects\":true,\"inlineStylesheets\":\"auto\",\"concurrency\":1},\"server\":{\"open\":false,\"host\":false,\"port\":4321,\"streaming\":true,\"allowedHosts\":[]},\"redirects\":{},\"image\":{\"endpoint\":{\"route\":\"/_image\"},\"service\":{\"entrypoint\":\"astro/assets/services/sharp\",\"config\":{}},\"domains\":[],\"remotePatterns\":[],\"experimentalDefaultStyles\":true},\"devToolbar\":{\"enabled\":true},\"markdown\":{\"syntaxHighlight\":{\"type\":\"shiki\",\"excludeLangs\":[\"math\"]},\"shikiConfig\":{\"langs\":[],\"langAlias\":{},\"theme\":\"github-dark\",\"themes\":{},\"wrap\":false,\"transformers\":[]},\"remarkPlugins\":[],\"rehypePlugins\":[],\"remarkRehype\":{},\"gfm\":true,\"smartypants\":true},\"security\":{\"checkOrigin\":true},\"env\":{\"schema\":{},\"validateSecrets\":false},\"experimental\":{\"clientPrerender\":false,\"contentIntellisense\":false,\"responsiveImages\":false,\"headingIdCompat\":false,\"preserveScriptOrder\":false},\"legacy\":{\"collections\":false}}","blog",["Map",11,12,30,31],"a-fresh-start",{"id":11,"data":13,"body":18,"filePath":19,"digest":20,"rendered":21},{"title":14,"description":15,"pubDate":16,"heroImage":17},"A Fresh Start","Starting a new venture",["Date","2025-06-03T00:00:00.000Z"],"https://placedog.net/500/400","This year we decided that we wanted to try something different. As funding\ntightens and the AI bubble grows we realized that start-ups are not where we\nwant to be.\n\nWe decided to found a tech co-operative to:\n\n- Support democratic decision making.\n- Center the company around the workers and not just profit.\n- Capture the value of our work for the workers and their communities.\n- Align our work with our values.","src/content/blog/a-fresh-start.md","8ec77914ffa9412f",{"html":22,"metadata":23},"\u003Cp>This year we decided that we wanted to try something different. As funding\ntightens and the AI bubble grows we realized that start-ups are not where we\nwant to be.\u003C/p>\n\u003Cp>We decided to found a tech co-operative to:\u003C/p>\n\u003Cul>\n\u003Cli>Support democratic decision making.\u003C/li>\n\u003Cli>Center the company around the workers and not just profit.\u003C/li>\n\u003Cli>Capture the value of our work for the workers and their communities.\u003C/li>\n\u003Cli>Align our work with our values.\u003C/li>\n\u003C/ul>",{"headings":24,"localImagePaths":25,"remoteImagePaths":26,"frontmatter":27,"imagePaths":29},[],[],[],{"title":14,"description":15,"pubDate":28,"heroImage":17},"2025-06-03",[],"second-test-post",{"id":30,"data":32,"body":36,"filePath":37,"digest":38,"rendered":39},{"title":33,"description":34,"pubDate":35,"heroImage":17},"Test post","This is a second test post that I'm using just to check that everything is working out okay.",["Date","2025-06-01T11:00:00.000Z"],"Just some dummy content","src/content/blog/second-test-post.md","13defe780ea1cf6a",{"html":40,"metadata":41},"\u003Cp>Just some dummy content\u003C/p>",{"headings":42,"localImagePaths":43,"remoteImagePaths":44,"frontmatter":45,"imagePaths":47},[],[],[],{"title":33,"description":34,"pubDate":46,"heroImage":17},"2025-06-01T04:00:00",[]]

View File

@@ -1,5 +0,0 @@
{
"_variables": {
"lastUpdateCheck": 1748973652292
}
}

2
.astro/types.d.ts vendored
View File

@@ -1,2 +0,0 @@
/// <reference types="astro/client" />
/// <reference path="content.d.ts" />

3
.gitignore vendored
View File

@@ -132,3 +132,6 @@ dist
# Direnv cache # Direnv cache
.direnv/ .direnv/
# Astro data
.astro/

22
benchmark.yaml Normal file
View File

@@ -0,0 +1,22 @@
---
concurrency: 10
base: "https://www2.terakoda.com"
iterations: 100
rampup: 2
plan:
- name: Fetch root
request:
url: "/"
- name: Fetch css
request:
url: "/_astro/about.B804zLT3.css"
- name: Fetch logo
request:
url: "/_astro/HeaderLogo.BGOAlOcd.png"
- name: Fetch blog
request:
url: "/blog"
- name: Fetch Article
request:
url: "/blog/a-fresh-start"

View File

@@ -38,14 +38,14 @@
{ pkgs }: { pkgs }:
{ {
default = pkgs.mkShell { default = pkgs.mkShell {
# Pinned packages available in the environment
packages = with pkgs; [ packages = with pkgs; [
nodejs_22 git # Version control
git nodejs_22 # Base language utils
eslint eslint # Linting
nixpkgs-fmt astro-language-server # LSP
astro-language-server nodePackages.prettier # Formatting
nodePackages.prettier nixpkgs-fmt # Formatting
drill # Benchmarking
]; ];
}; };
} }

185
package-lock.json generated
View File

@@ -1,11 +1,11 @@
{ {
"name": "astro", "name": "terakoda.com",
"version": "0.0.1", "version": "0.0.1",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "astro", "name": "terakoda.com",
"version": "0.0.1", "version": "0.0.1",
"dependencies": { "dependencies": {
"@astrojs/mdx": "^4.3.0", "@astrojs/mdx": "^4.3.0",
@@ -13,6 +13,7 @@
"@astrojs/sitemap": "^3.4.0", "@astrojs/sitemap": "^3.4.0",
"@tailwindcss/vite": "^4.1.8", "@tailwindcss/vite": "^4.1.8",
"astro": "^5.8.1", "astro": "^5.8.1",
"less": "^4.3.0",
"tailwindcss": "^4.1.8" "tailwindcss": "^4.1.8"
}, },
"devDependencies": { "devDependencies": {
@@ -2435,6 +2436,18 @@
"integrity": "sha512-+W7VmiVINB+ywl1HGXJXmrqkOhpKrIiVZV6tQuV54ZyQC7MMuBt81Vc336GMLoHBq5hV/F9eXgt5Mnx0Rha5Fg==", "integrity": "sha512-+W7VmiVINB+ywl1HGXJXmrqkOhpKrIiVZV6tQuV54ZyQC7MMuBt81Vc336GMLoHBq5hV/F9eXgt5Mnx0Rha5Fg==",
"license": "MIT" "license": "MIT"
}, },
"node_modules/copy-anything": {
"version": "2.0.6",
"resolved": "https://registry.npmjs.org/copy-anything/-/copy-anything-2.0.6.tgz",
"integrity": "sha512-1j20GZTsvKNkc4BY3NpMOM8tt///wY3FpIzozTOFO2ffuZcV61nojHXVKIy3WM+7ADCy5FVhdZYHYDdgTU0yJw==",
"license": "MIT",
"dependencies": {
"is-what": "^3.14.1"
},
"funding": {
"url": "https://github.com/sponsors/mesqueeb"
}
},
"node_modules/cross-fetch": { "node_modules/cross-fetch": {
"version": "3.2.0", "version": "3.2.0",
"resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.2.0.tgz", "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.2.0.tgz",
@@ -2630,6 +2643,19 @@
"url": "https://github.com/fb55/entities?sponsor=1" "url": "https://github.com/fb55/entities?sponsor=1"
} }
}, },
"node_modules/errno": {
"version": "0.1.8",
"resolved": "https://registry.npmjs.org/errno/-/errno-0.1.8.tgz",
"integrity": "sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A==",
"license": "MIT",
"optional": true,
"dependencies": {
"prr": "~1.0.1"
},
"bin": {
"errno": "cli.js"
}
},
"node_modules/es-module-lexer": { "node_modules/es-module-lexer": {
"version": "1.7.0", "version": "1.7.0",
"resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.7.0.tgz", "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.7.0.tgz",
@@ -3216,6 +3242,32 @@
"integrity": "sha512-dTxcvPXqPvXBQpq5dUr6mEMJX4oIEFv6bwom3FDwKRDsuIjjJGANqhBuoAn9c1RQJIdAKav33ED65E2ys+87QQ==", "integrity": "sha512-dTxcvPXqPvXBQpq5dUr6mEMJX4oIEFv6bwom3FDwKRDsuIjjJGANqhBuoAn9c1RQJIdAKav33ED65E2ys+87QQ==",
"license": "BSD-2-Clause" "license": "BSD-2-Clause"
}, },
"node_modules/iconv-lite": {
"version": "0.6.3",
"resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz",
"integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==",
"license": "MIT",
"optional": true,
"dependencies": {
"safer-buffer": ">= 2.1.2 < 3.0.0"
},
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/image-size": {
"version": "0.5.5",
"resolved": "https://registry.npmjs.org/image-size/-/image-size-0.5.5.tgz",
"integrity": "sha512-6TDAlDPZxUFCv+fuOkIoXT/V/f3Qbq8e37p+YOiYrUv3v9cc3/6x78VdfPgFVaB9dZYeLUfKgHRebpkm/oP2VQ==",
"license": "MIT",
"optional": true,
"bin": {
"image-size": "bin/image-size.js"
},
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/import-meta-resolve": { "node_modules/import-meta-resolve": {
"version": "4.1.0", "version": "4.1.0",
"resolved": "https://registry.npmjs.org/import-meta-resolve/-/import-meta-resolve-4.1.0.tgz", "resolved": "https://registry.npmjs.org/import-meta-resolve/-/import-meta-resolve-4.1.0.tgz",
@@ -3346,6 +3398,12 @@
"url": "https://github.com/sponsors/sindresorhus" "url": "https://github.com/sponsors/sindresorhus"
} }
}, },
"node_modules/is-what": {
"version": "3.14.1",
"resolved": "https://registry.npmjs.org/is-what/-/is-what-3.14.1.tgz",
"integrity": "sha512-sNxgpk9793nzSs7bA6JQJGeIuRBQhAaNGG77kzYQgMkrID+lS6SlK07K5LaptscDlSaIgH+GPFzf+d75FVxozA==",
"license": "MIT"
},
"node_modules/is-wsl": { "node_modules/is-wsl": {
"version": "3.1.0", "version": "3.1.0",
"resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-3.1.0.tgz", "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-3.1.0.tgz",
@@ -3391,6 +3449,42 @@
"node": ">=6" "node": ">=6"
} }
}, },
"node_modules/less": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/less/-/less-4.3.0.tgz",
"integrity": "sha512-X9RyH9fvemArzfdP8Pi3irr7lor2Ok4rOttDXBhlwDg+wKQsXOXgHWduAJE1EsF7JJx0w0bcO6BC6tCKKYnXKA==",
"license": "Apache-2.0",
"dependencies": {
"copy-anything": "^2.0.1",
"parse-node-version": "^1.0.1",
"tslib": "^2.3.0"
},
"bin": {
"lessc": "bin/lessc"
},
"engines": {
"node": ">=14"
},
"optionalDependencies": {
"errno": "^0.1.1",
"graceful-fs": "^4.1.2",
"image-size": "~0.5.0",
"make-dir": "^2.1.0",
"mime": "^1.4.1",
"needle": "^3.1.0",
"source-map": "~0.6.0"
}
},
"node_modules/less/node_modules/source-map": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
"license": "BSD-3-Clause",
"optional": true,
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/lightningcss": { "node_modules/lightningcss": {
"version": "1.30.1", "version": "1.30.1",
"resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.30.1.tgz", "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.30.1.tgz",
@@ -3655,6 +3749,30 @@
"source-map-js": "^1.2.0" "source-map-js": "^1.2.0"
} }
}, },
"node_modules/make-dir": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz",
"integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==",
"license": "MIT",
"optional": true,
"dependencies": {
"pify": "^4.0.1",
"semver": "^5.6.0"
},
"engines": {
"node": ">=6"
}
},
"node_modules/make-dir/node_modules/semver": {
"version": "5.7.2",
"resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz",
"integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==",
"license": "ISC",
"optional": true,
"bin": {
"semver": "bin/semver"
}
},
"node_modules/markdown-extensions": { "node_modules/markdown-extensions": {
"version": "2.0.0", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/markdown-extensions/-/markdown-extensions-2.0.0.tgz", "resolved": "https://registry.npmjs.org/markdown-extensions/-/markdown-extensions-2.0.0.tgz",
@@ -4702,6 +4820,19 @@
], ],
"license": "MIT" "license": "MIT"
}, },
"node_modules/mime": {
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz",
"integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==",
"license": "MIT",
"optional": true,
"bin": {
"mime": "cli.js"
},
"engines": {
"node": ">=4"
}
},
"node_modules/minipass": { "node_modules/minipass": {
"version": "7.1.2", "version": "7.1.2",
"resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz",
@@ -4771,6 +4902,23 @@
"node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
} }
}, },
"node_modules/needle": {
"version": "3.3.1",
"resolved": "https://registry.npmjs.org/needle/-/needle-3.3.1.tgz",
"integrity": "sha512-6k0YULvhpw+RoLNiQCRKOl09Rv1dPLr8hHnVjHqdolKwDrdNyk+Hmrthi4lIGPPz3r39dLx0hsF5s40sZ3Us4Q==",
"license": "MIT",
"optional": true,
"dependencies": {
"iconv-lite": "^0.6.3",
"sax": "^1.2.4"
},
"bin": {
"needle": "bin/needle"
},
"engines": {
"node": ">= 4.4.x"
}
},
"node_modules/neotraverse": { "node_modules/neotraverse": {
"version": "0.6.18", "version": "0.6.18",
"resolved": "https://registry.npmjs.org/neotraverse/-/neotraverse-0.6.18.tgz", "resolved": "https://registry.npmjs.org/neotraverse/-/neotraverse-0.6.18.tgz",
@@ -4966,6 +5114,15 @@
"url": "https://github.com/sponsors/wooorm" "url": "https://github.com/sponsors/wooorm"
} }
}, },
"node_modules/parse-node-version": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/parse-node-version/-/parse-node-version-1.0.1.tgz",
"integrity": "sha512-3YHlOa/JgH6Mnpr05jP9eDG254US9ek25LyIxZlDItp2iJtwyaXQb57lBYLdT3MowkUFYEV2XXNAYIPlESvJlA==",
"license": "MIT",
"engines": {
"node": ">= 0.10"
}
},
"node_modules/parse5": { "node_modules/parse5": {
"version": "7.3.0", "version": "7.3.0",
"resolved": "https://registry.npmjs.org/parse5/-/parse5-7.3.0.tgz", "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.3.0.tgz",
@@ -5003,6 +5160,16 @@
"url": "https://github.com/sponsors/jonschlinkert" "url": "https://github.com/sponsors/jonschlinkert"
} }
}, },
"node_modules/pify": {
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz",
"integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==",
"license": "MIT",
"optional": true,
"engines": {
"node": ">=6"
}
},
"node_modules/postcss": { "node_modules/postcss": {
"version": "8.5.4", "version": "8.5.4",
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.4.tgz", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.4.tgz",
@@ -5103,6 +5270,13 @@
"url": "https://github.com/sponsors/wooorm" "url": "https://github.com/sponsors/wooorm"
} }
}, },
"node_modules/prr": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz",
"integrity": "sha512-yPw4Sng1gWghHQWj0B3ZggWUm4qVbPwPFcRG8KyxiU7J2OHFSoEHKS+EZ3fv5l1t9CyCiop6l/ZYeWbrgoQejw==",
"license": "MIT",
"optional": true
},
"node_modules/radix3": { "node_modules/radix3": {
"version": "1.1.2", "version": "1.1.2",
"resolved": "https://registry.npmjs.org/radix3/-/radix3-1.1.2.tgz", "resolved": "https://registry.npmjs.org/radix3/-/radix3-1.1.2.tgz",
@@ -5494,6 +5668,13 @@
"dev": true, "dev": true,
"license": "MIT" "license": "MIT"
}, },
"node_modules/safer-buffer": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
"integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",
"license": "MIT",
"optional": true
},
"node_modules/sass-formatter": { "node_modules/sass-formatter": {
"version": "0.7.9", "version": "0.7.9",
"resolved": "https://registry.npmjs.org/sass-formatter/-/sass-formatter-0.7.9.tgz", "resolved": "https://registry.npmjs.org/sass-formatter/-/sass-formatter-0.7.9.tgz",

View File

@@ -14,6 +14,7 @@
"@astrojs/sitemap": "^3.4.0", "@astrojs/sitemap": "^3.4.0",
"@tailwindcss/vite": "^4.1.8", "@tailwindcss/vite": "^4.1.8",
"astro": "^5.8.1", "astro": "^5.8.1",
"less": "^4.3.0",
"tailwindcss": "^4.1.8" "tailwindcss": "^4.1.8"
}, },
"devDependencies": { "devDependencies": {

View File

@@ -1,12 +1,19 @@
--- ---
interface Props { interface Props {
href: string; href: string;
event?: string;
eventTitle?: string;
} }
const { href } = Astro.props; const { href, event, eventTitle } = Astro.props;
--- ---
<a href={href} class="text-dark bg-primary rounded-md px-8 py-4 font-bold hover:bg-primary-dark"> <a
href={href}
data-goatcounter-click={event}
data-goatcounter-title={eventTitle}
data-goatcounter-referrer="www.terakoda.com"
class="text-dark bg-primary rounded-md px-8 py-4 font-bold hover:bg-primary-dark"
>
<slot /> <slot />
</a> </a>

View File

@@ -6,4 +6,8 @@ const today = new Date();
class="py-4 text-sm text-center bg-dark text-light absolute bottom-0 w-full" class="py-4 text-sm text-center bg-dark text-light absolute bottom-0 w-full"
> >
&copy; {today.getFullYear()} Terakoda, LLC. All rights reserved. &copy; {today.getFullYear()} Terakoda, LLC. All rights reserved.
<script
data-goatcounter="https://goatcounter.terakoda.com/count"
async
src="https://www.terakoda.com/count.js"></script>
</footer> </footer>

View File

@@ -4,8 +4,8 @@ import HeaderLogo from "../assets/HeaderLogo.png";
--- ---
<header> <header>
<nav> <nav class="flex-col md:flex-row">
<div> <div class="hidden md:block">
<a href="/"> <a href="/">
<img <img
src={HeaderLogo.src} src={HeaderLogo.src}

View File

@@ -1,9 +1,9 @@
import { glob } from 'astro/loaders'; import { glob } from "astro/loaders";
import { defineCollection, z } from 'astro:content'; import { defineCollection, z } from "astro:content";
const blog = defineCollection({ const blog = defineCollection({
// Load Markdown and MDX files in the `src/content/blog/` directory. // Load Markdown and MDX files in the `src/content/blog/` directory.
loader: glob({ base: './src/content/blog', pattern: '**/*.{md,mdx}' }), loader: glob({ base: "./src/content/blog", pattern: "**/*.{md,mdx}" }),
// Type-check frontmatter using a schema // Type-check frontmatter using a schema
schema: z.object({ schema: z.object({
title: z.string(), title: z.string(),
@@ -12,6 +12,7 @@ const blog = defineCollection({
pubDate: z.coerce.date(), pubDate: z.coerce.date(),
updatedDate: z.coerce.date().optional(), updatedDate: z.coerce.date().optional(),
heroImage: z.string().optional(), heroImage: z.string().optional(),
author: z.string().optional(),
}), }),
}); });

View File

@@ -1,17 +1,54 @@
--- ---
title: "A Fresh Start" title: "A Fresh Start: Why we are starting a Terakoda"
description: "Starting a new venture" description: "Why we decided to quit our tech jobs and start Terakoda as a cooperative."
pubDate: "2025-06-03" pubDate: "2025-06-17"
heroImage: "https://placedog.net/500/400" author: Drew Haven
--- ---
This year we decided that we wanted to try something different. As funding I quit my job in March. It wasnt an easy decision. It qualified as a Good Job on basically every metric: good pay, growing business, interesting technical problems, smart co-workers. There was very little to criticize about the company. However, I realized it wasnt the right fit for me. Its the culmination of some ideas and feelings that have been growing and solidifying over the last six years and four companies. I realized I needed to try something different.
tightens and the AI bubble grows we realized that start-ups are not where we
want to be.
We decided to found a tech co-operative to: I talked it over with my wife and we decided that we would try this together. On top of that, we decided that what we really wanted was to be both independent and part of a cooperative. That might seem like a contradiction, but let me explain.
- Support democratic decision making. ## First, a little history
- Center the company around the workers and not just profit.
- Capture the value of our work for the workers and their communities. Ive been working in and around Silicon Valley for two decades now. My first job was plugging in cables at the San Jose Convention Center in 2005. Between then and now Ive done many things. I worked at big companies like Google. I worked at start-ups, so many start-ups, small start-ups, dying start-ups, zombie start-ups, even founding a short-lived start-up. I was lucky enough to be around for one IPO. Ive also done freelance work a few times, though never for long.
- Align our work with our values.
Lindsay worked in the video game industry for a decade. She did design and production. She was a producer when THQ shut her studio down. She did production at a few small studios trying to get in on the mobile-game gold-rush. Eventually she landed at Cryptic and did design and production on a major Dungeons & Dragons game launch: Neverwinter. Ultimately, she left that industry to go back to school looking for a change.
In short, weve had enviable careers, but find ourselves disillusioned with the industry. Our careers have gone well, but something just hasnt felt right.
## Congruence
A key issue that weve faced is that the values we hold and those of the companies we work for dont align. We believed in a set of values, but found our professional lives following a different set. Living with this cognitive dissonance was putting a stress on the both of us. Weve decided that its time to pursue a career that better matches those values.
What are some of those values? Here are just a few that weve identified.
We believe in self-determination. Many workplaces dont give their employees much agency. Your ability to succeed, grow or advance may be largely out of your control. Instead its determined in the majority by the projects or managers you are assigned to. Many people dont have the ability to choose what to work on. Even if those choices would ultimately come to the same conclusion they arent allowed to make that decision themselves. And dont even worry about realizing theres something more important to do if its not part of your managers roadmap.
Similarly, we believe in autonomy. This is the right of everyone to work in the way that works best for them. This is a fundamental support for equity.
A system of cooperation will always produce better outcomes than a system of competition. Competition is fundamentally a structure of destruction. Its about beating your opponent, about taking away their resources, about taking them down. It leads to a system where there is less. Cooperation is about building each other up, about sharing resources and information. Cooperation creates and adds to the system.
But, wait, what about all the benefits of competitions? Are you saying sports are negative? No. I frame those as cooperative endeavors. They are inherently governed by a set of rules that the participants put in place so that they can create a space where they can motivate each person to do their best. Compare that to business where the goal of most businesses is to take customers and resources from competitors. Its framed in terms of selfishly taking and hording as much as possible. How many times have you seen the founder of a failed business go out and congratulate their competitor? How often do they publicly say that they appreciate the financial loss because of the lessons it taught them?
We also believe that every person in an organization is valuable and worthy of respect. Many tech companies recently have begun laying off workers and doing their best to replace them with AI. We believe that every worker deserves a voice in their workplace.
This also extends to the customers! Customers are people too. The worst phase we ever heard in our professional lives was when someone said, unironically, “its our money in their pockets”. Companies should exist to serve the customers and the employees just as much as the shareholders.
## So what now?
We could try to opt out of the system. We could go join a commune in the mountains, grow our own carrots and make our own goat cheese. Thats one alternative, but its not an attractive one. For one, it doesnt leverage any of the skills that we have developed during our careers. But more than that, it cuts us off from the very industry that we would like to see change. So that is why we are going to a new start-up, but we arent going to do things the way weve seen them done.
We are founding a new tech cooperative. We will be building a company that follows the principles of cooperatives. We will be democratic, we will be sustainable, we will work for the benefit for our workers, our customers, our communities and the planet.
We dont know exactly what our business model is going to be. This is a start-up, and a start-up is all about the search for a new business model. We are going to embark on the customer development journey. Most of the text on the topic is framed in terms of high-scale, VC-backed companies, but many of the points work just as well for a small company.
We will be small for some time. We dont know how large we will grow, but we will grow when it makes sense to do so based on our business model. We will need to balance the goals of creating a profitable, sustainable company with the goal of creating a cooperative alternative to Silicon Valley competition.
Weve named ourselves Terakoda. Tera- could reference the Greek-origin SI prefix for one trillion, evoking the potential scale of technology. It could also reference Latin word “terra” meaning land or earth. Koda might be reminiscent of “code”, again referencing technology. But also coda, which is a passage that brings a piece to conclusion, much as we hope this represents the conclusion of the search for a fulfilling career.
## A journey begins
And so the next phase of our careers begins. We dont know quite where it will take us, but we know what direction we are moving in. We are excited to embrace a community of respect, cooperation, resilience and sustainability. We will do our best to live our values every day.
This wont be a journey we undertake alone. We will rely on the help of many others who have walked these paths before us. We invite you to participate. Please follow along. Dont hesitate to reach out if you have any thoughts, advice or opportunities for us. We welcome the cooperation.

View File

@@ -7,7 +7,8 @@ import FormattedDate from "../components/FormattedDate.astro";
type Props = CollectionEntry<"blog">["data"]; type Props = CollectionEntry<"blog">["data"];
const { title, description, pubDate, updatedDate, heroImage } = Astro.props; const { title, description, pubDate, updatedDate, heroImage, author } =
Astro.props;
--- ---
<html lang="en"> <html lang="en">
@@ -48,28 +49,45 @@ const { title, description, pubDate, updatedDate, heroImage } = Astro.props;
font-style: italic; font-style: italic;
} }
</style> </style>
<!-- Set style as global so that it can apply to the rendered elements -->
<style is:global>
@reference "tailwindcss";
.content h2 {
font-size: 1.5em;
}
.content p {
margin-bottom: 1em;
line-height: 1.5em;
}
</style>
</head> </head>
<body class="relative min-h-dvh"> <body class="relative min-h-dvh">
<Header /> <Header />
<main> <main>
<article class="max-w-200 m-auto flex flex-col items-center py-16"> <article class="max-w-200 m-auto flex flex-col items-center py-16">
{
heroImage && heroImage.trim().length > 0 && (
<div class=""> <div class="">
{heroImage && <img src={heroImage} alt="" class="max-h-100" />} <img src={heroImage} alt="" class="max-h-100" />
</div> </div>
<div class="flex flex-col gap-4 items-center border-b-1 m-4"> )
}
<div class="flex flex-col gap-2 items-center m-4">
<h1 class="text-3xl">{title}</h1>
{author && <p class="author text-sm text-medium">{author}</p>}
<div class="published-on text-sm text-medium">
<FormattedDate date={pubDate} /> <FormattedDate date={pubDate} />
</div>
{ {
updatedDate && ( updatedDate && (
<div class="last-updated-on"> <div class="last-updated-on text-sm text-medium">
Last updated on <FormattedDate date={updatedDate} /> Last updated on <FormattedDate date={updatedDate} />
</div> </div>
) )
} }
<h1 class="text-3xl">{title}</h1>
<hr />
</div> </div>
<div> <div class="content">
<slot /> <slot />
</div> </div>
</article> </article>

View File

@@ -1,62 +1,54 @@
--- ---
import Layout from '../layouts/BlogPost.astro'; import Layout from "../layouts/BlogPost.astro";
--- ---
<Layout <Layout
title="About Me" title="About Terakoda"
description="Lorem ipsum dolor sit amet" description="About Terakoda"
pubDate={new Date('August 08 2021')} pubDate={new Date("June 9, 2025")}
heroImage="/blog-placeholder-about.jpg" heroImage=""
> >
<p> <p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut Terakoda is a software cooperative. We commit to the <a
labore et dolore magna aliqua. Vitae ultricies leo integer malesuada nunc vel risus commodo href="https://ica.coop/en/cooperatives/cooperative-identity/"
viverra. Adipiscing enim eu turpis egestas pretium. Euismod elementum nisi quis eleifend quam >Seven Cooperative Principles</a
adipiscing. In hac habitasse platea dictumst vestibulum. Sagittis purus sit amet volutpat. Netus >.
et malesuada fames ac turpis egestas. Eget magna fermentum iaculis eu non diam phasellus
vestibulum lorem. Varius sit amet mattis vulputate enim. Habitasse platea dictumst quisque
sagittis. Integer quis auctor elit sed vulputate mi. Dictumst quisque sagittis purus sit amet.
</p> </p>
<div class="members">
<h2>Members</h2>
<div class="member">
<h3 class="member-name">Drew Haven</h3>
<p> <p>
Morbi tristique senectus et netus. Id semper risus in hendrerit gravida rutrum quisque non Drew has two decades of experience working in technology, from large
tellus. Habitasse platea dictumst quisque sagittis purus sit amet. Tellus molestie nunc non multi-nationals to small start-ups and freelance work. He specializes in
blandit massa. Cursus vitae congue mauris rhoncus. Accumsan tortor posuere ac ut. Fringilla urna web systems, software architecture and sustainable development.
porttitor rhoncus dolor. Elit ullamcorper dignissim cras tincidunt lobortis. In cursus turpis
massa tincidunt dui ut ornare lectus. Integer feugiat scelerisque varius morbi enim nunc.
Bibendum neque egestas congue quisque egestas diam. Cras ornare arcu dui vivamus arcu felis
bibendum. Dignissim suspendisse in est ante in nibh mauris. Sed tempus urna et pharetra pharetra
massa massa ultricies mi.
</p> </p>
</div>
<div class="member">
<h3 class="member-name">Lindsay Haven</h3>
<p>
Lindsay spent a decade in the video game industry bringing joy to users
through projects from large-budget MMOs and small mobile apps. She
specializes in organization and communication within teams.
</p>
</div>
</div>
<style lang="less">
@reference "tailwindcss";
h2 {
@apply text-3xl text-center;
}
<p> .members {
Mollis nunc sed id semper risus in. Convallis a cras semper auctor neque. Diam sit amet nisl @apply my-4;
suscipit. Lacus viverra vitae congue eu consequat ac felis donec. Egestas integer eget aliquet .member {
nibh praesent tristique magna sit amet. Eget magna fermentum iaculis eu non diam. In vitae @apply pb-4;
turpis massa sed elementum. Tristique et egestas quis ipsum suspendisse ultrices. Eget lorem &-name {
dolor sed viverra ipsum. Vel turpis nunc eget lorem dolor sed viverra. Posuere ac ut consequat @apply text-xl;
semper viverra nam. Laoreet suspendisse interdum consectetur libero id faucibus. Diam phasellus color: var(--color-accent);
vestibulum lorem sed risus ultricies tristique. Rhoncus dolor purus non enim praesent elementum }
facilisis. Ultrices tincidunt arcu non sodales neque. Tempus egestas sed sed risus pretium quam }
vulputate. Viverra suspendisse potenti nullam ac tortor vitae purus faucibus ornare. Fringilla }
urna porttitor rhoncus dolor purus non. Amet dictum sit amet justo donec enim. </style>
</p>
<p>
Mattis ullamcorper velit sed ullamcorper morbi tincidunt. Tortor posuere ac ut consequat semper
viverra. Tellus mauris a diam maecenas sed enim ut sem viverra. Venenatis urna cursus eget nunc
scelerisque viverra mauris in. Arcu ac tortor dignissim convallis aenean et tortor at. Curabitur
gravida arcu ac tortor dignissim convallis aenean et tortor. Egestas tellus rutrum tellus
pellentesque eu. Fusce ut placerat orci nulla pellentesque dignissim enim sit amet. Ut enim
blandit volutpat maecenas volutpat blandit aliquam etiam. Id donec ultrices tincidunt arcu. Id
cursus metus aliquam eleifend mi.
</p>
<p>
Tempus quam pellentesque nec nam aliquam sem. Risus at ultrices mi tempus imperdiet. Id porta
nibh venenatis cras sed felis eget velit. Ipsum a arcu cursus vitae. Facilisis magna etiam
tempor orci eu lobortis elementum. Tincidunt dui ut ornare lectus sit. Quisque non tellus orci
ac. Blandit libero volutpat sed cras. Nec tincidunt praesent semper feugiat nibh sed pulvinar
proin gravida. Egestas integer eget aliquet nibh praesent tristique magna.
</p>
</Layout> </Layout>

View File

@@ -26,6 +26,8 @@ const posts = (await getCollection("blog")).sort(
<li class="border-t-2 border-medium p-4 first:border-0"> <li class="border-t-2 border-medium p-4 first:border-0">
<a href={`/blog/${post.id}/`}> <a href={`/blog/${post.id}/`}>
<div class="flex flex-row gap-4"> <div class="flex flex-row gap-4">
{post.data.heroImage &&
post.data.heroImage.trim().length > 0 && (
<div class="flex-none"> <div class="flex-none">
<img <img
width={200} width={200}
@@ -34,6 +36,7 @@ const posts = (await getCollection("blog")).sort(
alt="" alt=""
/> />
</div> </div>
)}
<div> <div>
<p class="text-medium"> <p class="text-medium">
<FormattedDate date={post.data.pubDate} /> <FormattedDate date={post.data.pubDate} />

View File

@@ -15,8 +15,8 @@ import HeaderLogo from "../assets/HeaderLogo.png";
<body class="relative min-h-dvh"> <body class="relative min-h-dvh">
<Header /> <Header />
<div class="bg-dark text-light py-16"> <div class="bg-dark text-light py-16">
<div class="flex flex-col items-center gap-8 w-200 m-auto"> <div class="flex flex-col items-center gap-8 max-w-200 m-auto px-4">
<img src={HeaderLogo.src} alt="Terakoda" /> <img src={HeaderLogo.src} alt="Terakoda" class="max-w-full" />
<p> <p>
Solving Your Unique Software Challenges with Precision and Quality Solving Your Unique Software Challenges with Precision and Quality
</p> </p>
@@ -26,9 +26,9 @@ import HeaderLogo from "../assets/HeaderLogo.png";
<main> <main>
<div class="bg-light-accent py-16 text-dark"> <div class="bg-light-accent py-16 text-dark">
<div class="w-200 m-auto"> <div class="max-w-200 m-auto px-4">
<h2 class="text-4xl mb-8 text-center">Our Expertise</h2> <h2 class="text-4xl mb-8 text-center">Our Expertise</h2>
<div class="grid grid-cols-2 gap-8"> <div class="grid md:grid-cols-2 grid-cols-1 gap-8">
<div class="service-item"> <div class="service-item">
<h3>Custom Software Solutions</h3> <h3>Custom Software Solutions</h3>
<p> <p>
@@ -55,7 +55,7 @@ import HeaderLogo from "../assets/HeaderLogo.png";
</div> </div>
</div> </div>
<div class="py-16 w-200 m-auto"> <div class="py-16 max-w-200 m-auto px-4">
<h2 class="text-4xl mb-8 text-center">Our Commitment to Quality</h2> <h2 class="text-4xl mb-8 text-center">Our Commitment to Quality</h2>
<div class="quality-content"> <div class="quality-content">
<p> <p>
@@ -75,8 +75,10 @@ import HeaderLogo from "../assets/HeaderLogo.png";
</div> </div>
</div> </div>
<div class="py-16 bg-dark text-light"> <div class="py-16 bg-dark text-light" id="contact">
<div class="w-200 m-auto flex flex-col items-center gap-8 text-center"> <div
class="max-w-200 m-auto px-4 flex flex-col items-center gap-8 text-center"
>
<h2 class="text-4xl text-center"> <h2 class="text-4xl text-center">
Ready to Solve Your Software Puzzle? Ready to Solve Your Software Puzzle?
</h2> </h2>
@@ -85,7 +87,13 @@ import HeaderLogo from "../assets/HeaderLogo.png";
Systems help you overcome your unique software challenges with Systems help you overcome your unique software challenges with
precision and excellence. precision and excellence.
</p> </p>
<ButtonLink href="mailto:contact@terakoda.com">Contact Us</ButtonLink> <ButtonLink
href="mailto:contact@terakoda.com"
event="contact-us"
eventTitle="Contact Us"
>
Contact Us
</ButtonLink>
</div> </div>
</div> </div>
</main> </main>

View File

@@ -1,7 +1,7 @@
@import "tailwindcss"; @import "tailwindcss";
:root { :root {
--accent: rgb(46, 182, 112); --accent: #2eb670; /* Accent Color */
--accent-dark: rgb(23, 91, 56); --accent-dark: rgb(23, 91, 56);
--black: 15, 18, 25; --black: 15, 18, 25;
--gray: 96, 115, 159; --gray: 96, 115, 159;
@@ -21,4 +21,5 @@
--color-medium: color-mix(in oklab, var(--color-light), var(--color-dark)); --color-medium: color-mix(in oklab, var(--color-light), var(--color-dark));
--color-dark: #1f2932; --color-dark: #1f2932;
--color-light-accent: #f9f7f7; /* Slightly darker light background for contrast */ --color-light-accent: #f9f7f7; /* Slightly darker light background for contrast */
--color-accent: #2eb670; /* Accent Color */
} }