f1x
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| f1x [2024/12/31 08:55] – external edit 127.0.0.1 | f1x [2025/02/16 22:47] (current) – arie | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== F1x Documentation | + | ====== F1x platform |
| - | The F1x project was invented to overcome psychological barrier of additional actions required to write and maintain documentation. | + | //Librerate data from software silos!// |
| - | It is based on system of aliases that notify | + | "F1x" |
| - | To think about: | + | ===== History and similar projects ===== |
| - | * How to cross-reference different sites | + | Technically it is much easier to create centralized data sharing. Corporations love centralization (GMail, Facebook, Office365, etc) as it gives them control over the [[https:// |
| - | * How to know which context | + | |
| + | Previous attempt of Arie is [[http:// | ||
| - | ===== Normal | + | \\ |
| + | Data structure is inspired by [[https:// | ||
| - | Besides serving as F1memos storage, the wiki contains other information pieces. The only way to find them is using search by keywords. So please think carefully about which keywords the next guy is going to use to find your page. | + | * [[:f1x: |
| - | + | * [[:f1x:architecture|Architecture]] | |
| - | You can start by reading list of existing | + | * [[:f1x:technicals|Tehnicals]] |
| - | + | * [[:f1x: | |
| - | ===== What is context ===== | + | |
| - | + | ||
| - | Context tag is string that uniquely defines activity the user is doing at the moment. It might be server/path the user is currently in. Later on we can use other means to identify the activity (screen OCR, F1x-aware apps/ | + | |
| - | + | ||
| - | The " | + | |
| - | + | ||
| - | ===== Examples of context ID ===== | + | |
| - | + | ||
| - | * Get into directory of a server: ``CHDIR|hungama-ingestion:/ | + | |
| - | * ssh into a server: ``SERVER: | + | |
| - | * execute a command: ``CMD: | + | |
| - | + | ||
| - | ===== Contexts Documentation Storage ===== | + | |
| - | + | ||
| - | Piece of documentation for a context is called "F1x memo" | + | |
| - | + | ||
| - | Initially F1x memos are stored in the wiki, as stepping stone on a path to full-fledged F1x memos store. Backend dokuwiki engine provides important out-of-the-box capabilities, | + | |
| - | + | ||
| - | F1x memo reference is also called F1x context or simply context. It has format " | + | |
| - | + | ||
| - | ===== F1x backend and frontend ===== | + | |
| - | + | ||
| - | During POC, frontend is JS-enabled website window that user can switch to easily (for example using F1 button). It has functions below: | + | |
| - | + | ||
| - | * Authenticate users | + | |
| - | * Receive updates from Backend about context switches | + | |
| - | * Open wiki page for given context in iframe | + | |
| - | + | ||
| - | Backend receives context switches from " | + | |
| - | + | ||
| - | [[:f1x:frontend: | + | |
| - | + | ||
| - | ===== Context switch collection ===== | + | |
| - | + | ||
| - | ==== ssh ==== | + | |
| - | + | ||
| - | F1x backend must be aware about context switches of many users so to send appropriate messages to F1x frontend. For ssh sessions and commands we employ scheme below: | + | |
| - | + | ||
| - | | + | |
| - | - ssh command is actually alias that sens environment variable LC_F1USER along, like this: | + | |
| - | < | + | |
| - | + | ||
| - | export LC_F1USER=skliarie@gmail.com; | + | |
| - | + | ||
| - | </ | + | |
| - | + | ||
| - | - The environment variable becomes visible on the target server, thanks to allowance in sshd_config for all LC_* vars: | + | |
| - | + | ||
| - | < | + | |
| - | root@bas1: | + | |
| - | AcceptEnv LANG LC_* | + | |
| - | + | ||
| - | </ | + | |
| - | + | ||
| - | - .bashrc script creates / | + | |
| - | - Successfully recognized context switches are sent to backend (using redis-ops pubsub for now) | + | |
| - | + | ||
| - | ==== browser ==== | + | |
| - | + | ||
| - | There might be browser add-on, that will detect | + | |
| - | + | ||
| - | ==== native apps ==== | + | |
| - | + | ||
| - | //The feature is for startup-stage// | + | |
f1x.1735635316.txt.gz · Last modified: 2024/12/31 08:55 by 127.0.0.1
