@tiddlywiki/mws 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +21 -24
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,25 +1,24 @@
1
-
2
1
  # MultiWikiServer
3
2
 
3
+ <a href="https://www.paypal.com/donate/?hosted_button_id=BVDDREGEU2ZEA">
4
+ <span style="max-width:1em">
5
+ <img src="https://github.com/user-attachments/assets/6467378f-26fd-40ff-b60e-b8d62555c08a" />
6
+ </span>
7
+ Donate via PayPal
8
+ </a>
4
9
 
5
- [<img src="https://github.com/user-attachments/assets/6467378f-26fd-40ff-b60e-b8d62555c08a" style="width:1em;"/> Donate via PayPal](https://www.paypal.com/donate/?hosted_button_id=BVDDREGEU2ZEA)
6
-
7
-
8
-
9
- In its early stages, MWS is largely being developed by me, [Arlen22](https://github.com/Arlen22), based on input from the TiddlyWiki community at large, as well as my own experience with TiddlyWiki. I am a freelance software developer, so I can allocate time as needed, but that cuts into other work I could be doing. If you'd like to support my work on MWS, feel free to donate. It very directly allows me to put more time into this project. I've worked on several similar projects in the past, so this project is one I am quite passionate about, and I consider it a privelage to be able to do this.
10
-
11
-
10
+ In its early stages, MWS is largely being developed by me, [Arlen22](https://github.com/Arlen22), based on input from the TiddlyWiki community at large, as well as my own experience with TiddlyWiki. I am a freelance software developer, so I can allocate time as needed, but that cuts into other work I could be doing. If you'd like to support my work on MWS, feel free to donate. It very directly allows me to put more time into this project. I've worked on several similar projects in the past, so this project is one I am quite passionate about, and I consider it a privelage to be able to do this.
12
11
 
13
12
  ## Warning
13
+
14
14
  <div style="width:48px"></div>
15
15
  <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 48 48"><g clip-path="url(#a)"><path fill="#002991" d="M38.914 13.35c0 5.574-5.144 12.15-12.927 12.15H18.49l-.368 2.322L16.373 39H7.056l5.605-36h15.095c5.083 0 9.082 2.833 10.555 6.77a9.687 9.687 0 0 1 .603 3.58z"/><path fill="#60CDFF" d="M44.284 23.7A12.894 12.894 0 0 1 31.53 34.5h-5.206L24.157 48H14.89l1.483-9 1.75-11.178.367-2.322h7.497c7.773 0 12.927-6.576 12.927-12.15 3.825 1.974 6.055 5.963 5.37 10.35z"/><path fill="#008CFF" d="M38.914 13.35C37.31 12.511 35.365 12 33.248 12h-12.64L18.49 25.5h7.497c7.773 0 12.927-6.576 12.927-12.15z"/></g><defs><clipPath id="a"><path fill="#fff" d="M7.056 3h37.35v45H7.056z"/></clipPath></defs></svg>
16
16
 
17
-
18
17
  **This is not ready for primetime. Do not use it to protect feelings or intellectual property. Seriously. The security mechanisms required are not built yet.**
19
18
 
20
- *So please try it out, kick the tires, import your multi-gigabyte wikis and play around with it, but don't actually store anything you want to keep. We'll hopefully get there soon, but even the database schema itself is still in flux as we figure out what the best layout is for all the stuff we have planned.*
19
+ _So please try it out, kick the tires, import your multi-gigabyte wikis and play around with it, but don't actually store anything you want to keep. We'll hopefully get there soon, but even the database schema itself is still in flux as we figure out what the best layout is for all the stuff we have planned._
21
20
 
22
- ## Security is still a dumpster fire.
21
+ ## Security is still a dumpster fire.
23
22
 
24
23
  ![image](https://github.com/user-attachments/assets/49505d25-7a48-42f1-b4f7-73e8630c1ba1)
25
24
 
@@ -29,9 +28,9 @@ Storing data is safe enough, sort of, but upgrading to new versions is where the
29
28
 
30
29
  ## Also, this is a database, please make backups
31
30
 
32
- Seriously, you never know. Databases try very hard to be perfect, and a small number of database engines run the entire internet, so there are a lot of eyes on them, and data bugs are rare. But that doesn't mean things can't go wrong. Backups are critical.
31
+ Seriously, you never know. Databases try very hard to be perfect, and a small number of database engines run the entire internet, so there are a lot of eyes on them, and data bugs are rare. But that doesn't mean things can't go wrong. Backups are critical.
33
32
 
34
- -----
33
+ ---
35
34
 
36
35
  Multiple users, multiple wikis for TiddlyWiki.
37
36
 
@@ -40,20 +39,20 @@ Multiple users, multiple wikis for TiddlyWiki.
40
39
  - Multiple database engines supported, using Prisma.
41
40
  - Third-party OAuth and password-based login.
42
41
 
43
- ## Flexible and Extendible
42
+ ## Flexible and Extendible
44
43
 
45
44
  - Plugins can add routes and hooks.
46
45
  - Abstractions everywhere, allowing flexibility.
47
46
  - The source code is fully typed and easy to navigate.
48
47
  - Admin endpoints can also be called from the CLI.
49
48
 
50
- Most of these features are still in development.
49
+ Most of these features are still in development.
51
50
 
52
51
  **Do not use it to protect feelings or intellectual property.**
53
52
 
54
53
  ## How to run
55
54
 
56
- The init command creates a new folder and installs what you need to get started.
55
+ The init command creates a new folder and installs what you need to get started.
57
56
 
58
57
  - `npm init @tiddlywiki/mws@latest mws`
59
58
  - `cd mws`
@@ -61,8 +60,8 @@ The init command creates a new folder and installs what you need to get started.
61
60
 
62
61
  You can customize the defaults by modifying `mws.run.mjs`.
63
62
 
64
- - the server runs on port `8080`. It does not use HTTPS by default, but you can enable it by specifying a key and cert.
65
- - A `localpass.key` file is created to hold the password keyfile. If this file changes, all passwords will need to be reset.
63
+ - the server runs on port `8080`. It does not use HTTPS by default, but you can enable it by specifying a key and cert.
64
+ - A `localpass.key` file is created to hold the password keyfile. If this file changes, all passwords will need to be reset.
66
65
  - The data folder (`wikiPath`) is `wiki` by default.
67
66
 
68
67
  The initial user created on first run has the username `admin` and password `1234`.
@@ -71,7 +70,7 @@ If you run into trouble, or need help figuring something out, feel free to [star
71
70
 
72
71
  ### Updates
73
72
 
74
- If upgrading from 0.0, the best way to save your information is to open each wiki and click the cloud status icon, then click "save snapshot for offline use". You can then create a new instance and import your wikis via the browser.
73
+ If upgrading from 0.0, the best way to save your information is to open each wiki and click the cloud status icon, then click "save snapshot for offline use". You can then create a new instance and import your wikis via the browser.
75
74
 
76
75
  If updating within 0.1,
77
76
 
@@ -85,19 +84,17 @@ The 0.1 database is incompatible with the 0.0 database. Version 0.1 will detect
85
84
 
86
85
  ### Development
87
86
 
88
- In 0.1, the data folder is `/dev/wiki`.
87
+ In 0.1, the data folder is `/dev/wiki`.
89
88
 
90
- If you want to work on the project,
89
+ If you want to work on the project,
91
90
 
92
91
  - `git clone https://github.com/TiddlyWiki/MultiWikiServer`
93
92
  - `cd MultiWikiServer`
94
93
  - `npm install` or `npm run install-android`
95
94
  - `npm run certs` - if you want https (unix only)
96
95
  - `npm start init-store` - Create the `admin` user and import default wikis.
97
- - `npm start` - this will run the build every time, but it's very fast.
96
+ - `npm start` - this will run the build every time, but it's very fast.
98
97
 
99
98
  The development wiki will be active at http://localhost:8080/dev
100
99
 
101
100
  You can change the listeners as explained in the mws.dev.mjs file.
102
-
103
-
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@tiddlywiki/mws",
3
3
  "description": "TiddlyWiki Multiple Wiki Server",
4
4
  "private": false,
5
- "version": "0.1.0",
5
+ "version": "0.1.2",
6
6
  "bin": {
7
7
  "mws": "./mws.run.mjs"
8
8
  },