-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5ff24c2
commit 0626bc0
Showing
10 changed files
with
95 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,5 @@ | |
/env.toml | ||
instance-db.sqlite | ||
*.log | ||
ObsidianVault/.obsidian/workspace.json | ||
ObsidianVault/.obsidian/appearance.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": false | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
First of all, the timeline should be chronological. |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |