Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix: security

Louis Beaumont6b32eb78ea70
diff --git a/examples/typescript/pipe-simple-nextjs/README.md b/examples/typescript/pipe-simple-nextjs/README.md
index e215bc4cc..ff60ee6fa 100644
--- a/examples/typescript/pipe-simple-nextjs/README.md
+++ b/examples/typescript/pipe-simple-nextjs/README.md
@@ -5,13 +5,9 @@ This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-
First, run the development server:
```bash
-npm run dev
-# or
-yarn dev
-# or
-pnpm dev
-# or
-bun dev
+deno run -A npm:npm@latest i
+
+deno task --unstable-detect-cjs dev
```
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
@@ -29,8 +25,10 @@ To learn more about Next.js, take a look at the following resources:
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!
-## Deploy on Vercel
+## Deploy on screenpipe
+
+The easiest way to deploy your Next.js pipe is to use the [screenpipe Platform](https://screenpi.pe).
+
+Check out our [pipe deployment documentation](https://docs.screenpi.pe/docs/plugins) for more details.
-The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
-Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
diff --git a/screenpipe-app-tauri/components/pipe-config-form.tsx b/screenpipe-app-tauri/components/pipe-config-form.tsx
index 6a55d1120..ecebe33bf 100644
--- a/screenpipe-app-tauri/components/pipe-config-form.tsx
+++ b/screenpipe-app-tauri/components/pipe-config-form.tsx
@@ -391,7 +391,9 @@ export const PipeConfigForm: React.FC<PipeConfigFormProps> = ({
</MemoizedReactMarkdown>
</div>
))}
- <Button type="submit">save configuration</Button>
+ {config?.fields && config.fields.length > 0 && (
+ <Button type="submit">save configuration</Button>
+ )}
</form>
);
};
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.toml
index edb416f60..835c54ed6 100644
--- a/screenpipe-app-tauri/src-tauri/Cargo.toml
+++ b/screenpipe-app-tauri/src-tauri/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "screenpipe-app"
-version = "0.5.98"
+version = "0.5.99"
description = ""
authors = ["you"]
license = ""
diff --git a/screenpipe-app-tauri/src-tauri/tauri.conf.json b/screenpipe-app-tauri/src-tauri/tauri.conf.json
index 1829f2eb3..e4d072f52 100644
--- a/screenpipe-app-tauri/src-tauri/tauri.conf.json
+++ b/screenpipe-app-tauri/src-tauri/tauri.conf.json
@@ -77,10 +77,10 @@
"tauri://localhost",
"http://tauri.localhost"
],
- "media-src": "'self' mediadevices: asset: http://asset.localhost file: blob: tauri://localhost file: blob: https://youtu* file: blob: https://github*",
+ "media-src": "'self' mediadevices: asset: http://asset.localhost file: blob: tauri://localhost file: blob: https://youtube.com https://github.com https://youtu.be",
"img-src": "'self' asset: http://asset.localhost blob: data: https://*.githubusercontent.com https://*.github.com https://github.com https://*.s3.amazonaws.com",
"style-src": "'unsafe-inline' 'self' https://fonts.googleapis.com",
- "frame-src": "https://www.youtube.com http://localhost:3000"
+ "frame-src": "https://www.youtube.com http://localhost:*"
}
},
"macOSPrivateApi": true