Add Indiekit config, for permanence

This commit is contained in:
JP Hastings-Spital 2024-03-09 11:26:40 +00:00
parent 2370228b35
commit e39458a590
5 changed files with 10651 additions and 0 deletions

1
indiekit/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
node_modules

5
indiekit/README.md Normal file
View file

@ -0,0 +1,5 @@
# Indiekit
The config of the self-hosted [Indiekit](https://getindiekit.com) instance I run, for adding to my blog while on the move.
Runs with [pm2](https://pm2.keymetrics.io/) on [YunoHost](https://yunohost.org/).

View file

@ -0,0 +1,12 @@
const env = require('dotenv').config().parsed || {};
module.exports = {
apps : [
{
name: "indiekit",
script: "npx indiekit serve --port 8088",
watch: false,
env,
}
]
};

10504
indiekit/package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

129
indiekit/package.json Normal file
View file

@ -0,0 +1,129 @@
{
"name": "indiekit.byjp.me",
"version": "1.0.0",
"description": "Indiekit server for https://www.byjp.me",
"main": "index.js",
"scripts": {
"start": "indiekit serve"
},
"keywords": [
"indiekit",
"indieweb"
],
"author": "",
"license": "ISC",
"engines": {
"node": "20"
},
"indiekit": {
"application": {
"mongodbUrl": "mongodb://127.0.0.1:27017/indiekit"
},
"plugins": [
"@indiekit/preset-hugo",
"@indiekit/store-github",
"@indiekit/syndicator-mastodon",
"@indiekit/endpoint-files",
"@indiekit/endpoint-image",
"@indiekit/endpoint-micropub",
"@indiekit/endpoint-posts",
"@indiekit/endpoint-share",
"@indiekit/post-type-bookmark",
"@indiekit/post-type-event",
"@indiekit/post-type-like",
"@indiekit/post-type-note",
"@indiekit/post-type-photo",
"@indiekit/post-type-jam",
"@indiekit/post-type-reply"
],
"publication": {
"me": "https://www.byjp.me",
"enrichPostData": true,
"postTypes": {
"event": {
"name": "Event",
"post": {
"path": "content/calendar/{yyyy}-{MM}-{dd}/{slug}/index.md",
"url": "calendar/{yyyy}-{MM}-{dd}/{slug}"
}
},
"like": {
"name": "Like",
"post": {
"path": "content/notes/{yyyy}-{MM}-{dd}/{slug}/index.md",
"url": "notes/{yyyy}-{MM}-{dd}/{slug}"
}
},
"note": {
"name": "Note",
"post": {
"path": "content/notes/{yyyy}-{MM}-{dd}/{slug}/index.md",
"url": "notes/{yyyy}-{MM}-{dd}/{slug}"
}
},
"photo": {
"name": "Photo",
"post": {
"path": "content/photos/{yyyy}-{MM}-{dd}/{slug}/index.md",
"url": "photos/{yyyy}-{MM}-{dd}/{slug}"
},
"media": {
"path": "content/photos/{yyyy}-{MM}-{dd}/{slug}/{filename}"
}
}
}
},
"@indiekit/preset-hugo": {
"frontMatterFormat": "yaml"
},
"@indiekit/store-github": {
"user": "by-jp",
"repo": "www.byjp.me",
"branch": "main"
},
"@indiekit/syndicator-mastodon": {
"url": "https://hachyderm.io",
"user": "byjp"
},
"@indiekit/post-type-bookmark": {
"name": "Bookmark"
},
"@indiekit/post-type-photo": {
"name": "Photo"
},
"@indiekit/post-type-jam": {
"name": "Jam"
},
"@indiekit/post-type-like": {
"name": "Like"
},
"@indiekit/post-type-note": {
"name": "Note"
},
"@indiekit/post-type-reply": {
"name": "Reply"
},
"@indiekit/endpoint-micropub": {},
"@indiekit/endpoint-share": {},
"@indiekit/endpoint-files": {},
"@indiekit/endpoint-posts": {}
},
"dependencies": {
"@indiekit/endpoint-files": "^1.0.0-beta.8",
"@indiekit/endpoint-image": "^1.0.0-beta.8",
"@indiekit/endpoint-micropub": "^1.0.0-beta.8",
"@indiekit/endpoint-posts": "^1.0.0-beta.8",
"@indiekit/endpoint-share": "^1.0.0-beta.8",
"@indiekit/indiekit": "^1.0.0-beta.8",
"@indiekit/post-type-bookmark": "^1.0.0-beta.8",
"@indiekit/post-type-event": "^1.0.0-beta.8",
"@indiekit/post-type-jam": "^1.0.0-beta.8",
"@indiekit/post-type-like": "^1.0.0-beta.8",
"@indiekit/post-type-note": "^1.0.0-beta.8",
"@indiekit/post-type-photo": "^1.0.0-beta.8",
"@indiekit/post-type-reply": "^1.0.0-beta.8",
"@indiekit/preset-hugo": "^1.0.0-beta.8",
"@indiekit/store-github": "^1.0.0-beta.8",
"@indiekit/syndicator-mastodon": "^1.0.0-beta.8"
}
}