├── .datignore ├── .gitignore ├── LICENSE ├── README.md ├── config.json ├── content.json ├── content └── how-to-use-orkl.txt ├── feed.xml ├── index.html ├── package-lock.json ├── package.json ├── src ├── components │ ├── content.js │ ├── customize.js │ ├── delete.js │ ├── form.js │ ├── format.js │ ├── input.js │ ├── notfound.js │ ├── select.js │ ├── textarea.js │ └── wrapper.js ├── index.js ├── orkl.js ├── styles │ └── ff.css └── views │ ├── edit.js │ ├── entry.js │ ├── main.js │ ├── new.js │ ├── no_archive.js │ └── notfound.js └── styles ├── fonts.css ├── fonts ├── AUTHENTIC-Sans.woff ├── AUTHENTIC-Sans.woff2 ├── lunchtype22-light-webfont.woff ├── lunchtype22-light-webfont.woff2 ├── lunchtype22-medium-webfont.woff └── lunchtype22-medium-webfont.woff2 └── interui ├── Inter-UI-Bold.woff ├── Inter-UI-Bold.woff2 ├── Inter-UI-BoldItalic.woff ├── Inter-UI-BoldItalic.woff2 ├── Inter-UI-Italic.woff ├── Inter-UI-Italic.woff2 ├── Inter-UI-Medium.woff ├── Inter-UI-Medium.woff2 ├── Inter-UI-MediumItalic.woff ├── Inter-UI-MediumItalic.woff2 ├── Inter-UI-Regular.woff └── Inter-UI-Regular.woff2 /.datignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | src 3 | .gitignore 4 | package-lock.json 5 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | bundle.js 3 | dat.json 4 | 5 | content/* 6 | files 7 | !content/how-to-use-orkl.txt 8 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 Hunor Karamán 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ##### orkl 2 | ###### Super simple peer-to-peer blogging site based on [Beaker](https://beakerbrowser.com). 3 | ― 4 | #### Why? 5 | I wanted to build a peer-to-peer only blog; kind of like the p2p child of Svbtle and Telegra.ph. Fell in love with the idea of a site, which feels the same for the writer and the reader. The only difference is that the writer can change things and the reader can't. Thanks to [Dat](https://datproject.org/), we can easily decide if a computer is the owner or not of a site. 6 | 7 | orkl is also 100% dynamic, so it's basically just a bunch of ```txt``` files (using [smarkt](https://github.com/jondashkyle/smarkt)) = no site generation or building. 8 | 9 | #### Usage 10 | The magic of Beaker Browser is the possibility to fork a site. To get started you can fork any orkl site, but for the sake of simplicity we will use an empty site I've made. 11 | 12 | - Download [Beaker Browser](https://beakerbrowser.com) 13 | - Navigate to [dat://orkl-kodedninja.hashbase.io](dat://orkl-kodedninja.hashbase.io) 14 | - Find the "Fork this site" button, click it and fill out with your information 15 | - Navigate to your site 16 | - Edit the site's dat.json, adding `"fallback_page": "index.html"` (from Beaker 0.8 prerelease.1 this is not needed) 17 | - Read the "How to use orkl?" entry 18 | 19 | ##### ```config.json``` 20 | ``` 21 | { 22 | "directory": , 23 | "title": , 24 | "style":