You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-1Lines changed: 15 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,8 @@
3
3
A diff viewer that gives you sharable diff view links but does not store your data. (This takes inspiration from typescript playground how it stores your code in url itself) but the for very large data we will be doing end to end encryption just like `excalidraw` so you can still have sharable links without worrying if you should store your enterprise data or not.
4
4
5
5
## :bangbang: No data sent to server
6
-
You can take a look at the source code itself. All your data is kept as hash fragment in URL which never makes its way to server. Totally avoiding man in middle and XSS attacks to steal your data or any data breach. The data always stays in your URL and browser and never makes its way on the wire. Thats the main motive behind developing this tool. More about reasoning, why and how can be found in [Motivation](#motivation) section below.
6
+
7
+
You can take a look at the source code itself. All your data is kept as hash fragment in URL which never makes its way to server. Totally avoiding man in middle and XSS attacks to steal your data or any data breach. The data always stays in your URL and browser and never makes its way on the wire. Thats the main motive behind developing this tool. More about reasoning, why and how can be found in [Motivation](#motivation) section below.
7
8
8
9
# Formats currently supported
9
10
@@ -68,8 +69,15 @@ Please check all To dos and upcoming things [here](https://github.com/technikhil
68
69
$ npm install
69
70
70
71
# serve with hot reload at localhost:3000
72
+
# Note that the command below will serve only via nuxt server and
73
+
# wont run vercel functions used for e2e encryption link generation
71
74
$ npm run dev
72
75
76
+
# if you want to run vercel function during development
77
+
# then first create a vercel project from this repo by logging in on vercel.com
78
+
# then run following command and follow the instructions on terminal
79
+
$ npx vercel dev
80
+
73
81
# build for production and launch server
74
82
$ npm run build
75
83
$ npm run start
@@ -79,14 +87,19 @@ $ npm run generate
79
87
```
80
88
81
89
## Self Host
90
+
82
91
This guide provides detailed instructions on how to self-host the offline-diff-viewer application using Docker and Docker Compose. Self-hosting allows you to run the application on your own server, providing you with full control over its environment and configuration.
83
92
84
93
### Building and Running the Docker Container
94
+
85
95
1. Build the Docker Image
96
+
86
97
```bash
87
98
$ docker build -t offline-diff-viewer .
88
99
```
100
+
89
101
2. Run the Docker Container via docker run command
0 commit comments