Skip to content

Commit

Permalink
Create an obsidian vault omg
Browse files Browse the repository at this point in the history
  • Loading branch information
strawmelonjuice committed Apr 9, 2024
1 parent 5ff24c2 commit a3e6a2e
Show file tree
Hide file tree
Showing 10 changed files with 95 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
/env.toml
instance-db.sqlite
*.log
ObsidianVault/.obsidian/workspace.json
ObsidianVault/.obsidian/appearance.json
1 change: 1 addition & 0 deletions ObsidianVault/.obsidian/app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
30 changes: 30 additions & 0 deletions ObsidianVault/.obsidian/core-plugins-migration.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"file-explorer": true,
"global-search": true,
"switcher": true,
"graph": true,
"backlink": true,
"canvas": true,
"outgoing-link": true,
"tag-pane": true,
"properties": false,
"page-preview": true,
"daily-notes": true,
"templates": true,
"note-composer": true,
"command-palette": true,
"slash-command": false,
"editor-status": true,
"bookmarks": true,
"markdown-importer": false,
"zk-prefixer": false,
"random-note": false,
"outline": true,
"word-count": true,
"slides": false,
"audio-recorder": false,
"workspaces": false,
"file-recovery": true,
"publish": false,
"sync": false
}
20 changes: 20 additions & 0 deletions ObsidianVault/.obsidian/core-plugins.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[
"file-explorer",
"global-search",
"switcher",
"graph",
"backlink",
"canvas",
"outgoing-link",
"tag-pane",
"page-preview",
"daily-notes",
"templates",
"note-composer",
"command-palette",
"editor-status",
"bookmarks",
"outline",
"word-count",
"file-recovery"
]
22 changes: 22 additions & 0 deletions ObsidianVault/.obsidian/graph.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"collapse-filter": true,
"search": "",
"showTags": false,
"showAttachments": false,
"hideUnresolved": false,
"showOrphans": true,
"collapse-color-groups": true,
"colorGroups": [],
"collapse-display": false,
"showArrow": true,
"textFadeMultiplier": 0,
"nodeSizeMultiplier": 1,
"lineSizeMultiplier": 1,
"collapse-forces": true,
"centerStrength": 0.518713248970312,
"repelStrength": 10,
"linkStrength": 1,
"linkDistance": 250,
"scale": 1,
"close": true
}
Empty file.
16 changes: 16 additions & 0 deletions ObsidianVault/Concepts/Polling system.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
The `Ephew/Peonies` polling system, or _interinstance timelining_ might just be one of the hardest and most interesting part of the project.

# Walkthrough
This process is best explained in steps.
## Step 1: The polling request
An Ephew `instance A` makes a HTTP GET request to `instance B`'s `/api/ii/poll/{id}/{size}`, where `{id}` is `instance A`'s ID (or host/domain name), and `{size}` is the requested amount of history. This is referred to as the polling request.
## Step 2: Identification
The `instance B` receives this polling request and checks if the submitted instance ID is on the sync list.

If not, it'll add the instance to it's waiting list, meaning an administrator should decide if the instance will be allowed manually.

## Step 3: Response
If listed, it'll send a JSON array of post-ID's (including comments) (referred to as PID's) appearing recently on the timeline or gaining popular interactions (calculated by a threshold based on time between interactions, that'll all be in [interaction handling](./Interaction%20handling.md)) and falling in the top of whatever the `{size}` is.

## Step 4: Organisation
These PID's, prefixed with their hosting instance (`instance B`, in this case) are collected into a database, duplicates are eliminated in the process. The [timeline generator](./Timeline%20generation.md) will use this later on to fetch posts and their comments. Comments and posts themselves are **ALWAYS** stored **ONLY** on the instance they were made on. PID's are the only things stored on other instances than their own.
1 change: 1 addition & 0 deletions ObsidianVault/Concepts/Timeline generation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
First of all, the timeline should be chronological.
Empty file added ObsidianVault/Main todo.md
Empty file.
3 changes: 3 additions & 0 deletions ObsidianVault/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
This is an Obsidian Vault, meaning any files in here are structured by and for Obsidian.

The purpose of this vault is to be one big todo list as well as outline the project's concepts.

0 comments on commit a3e6a2e

Please sign in to comment.