Skip to content

Commit

Permalink
Merge branch 'main' into fix.screenpipe-cli-encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverqx committed Feb 3, 2025
2 parents 7d2b02d + 1496b16 commit da57c2d
Show file tree
Hide file tree
Showing 46 changed files with 418 additions and 351 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ resolver = "2"


[workspace.package]
version = "0.2.31"
version = "0.2.33"
authors = ["louis030195 <hi@louis030195.com>"]
description = ""
repository = "https://github.com/mediar-ai/screenpipe"
Expand Down
2 changes: 1 addition & 1 deletion README-ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ macOSでは画面とマイクの許可を必ず設定してください
## プラグインの作成

```bash
bunx @screenpipe/dev create
bunx @screenpipe/dev@latest create
```

ScreenPipeには「パイプ」と呼ばれるプラグインシステムがあり、Rustコード内のサンドボックス環境でNext.jsデスクトップアプリを作成できます。[詳細はこちら](https://docs.screenpi.pe/docs/plugins)
Expand Down
2 changes: 1 addition & 1 deletion README-zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ screenpipe
## 创建插件

```bash
bunx @screenpipe/dev create
bunx @screenpipe/dev@latest create
```

screenpipe有一个名为"pipe"的插件系统,允许你在Rust代码的沙盒环境中运行代码,[了解更多](https://docs.screenpi.pe/docs/plugins)
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,17 +120,17 @@ make sure to allow permissions on macos (screen, mic)
## create plugins

```bash
bunx @screenpipe/dev create
bunx @screenpipe/dev@latest create
```

screenpipe has a plugin system called "pipe" which lets you create desktop app in nextjs in a sandboxed environment within our Rust code, [read more](https://docs.screenpi.pe/docs/plugins)

you can then publish these to our store and make money:

```bash
bunx @screenpipe/dev register --name foo [--paid --price 50] # subscription
bunx @screenpipe/dev@latest register --name foo [--paid --price 50] # subscription
bun run build
bunx @screenpipe/dev publish --name foo
bunx @screenpipe/dev@latest publish --name foo
```

## community
Expand Down
17 changes: 17 additions & 0 deletions content/changelogs/0.30.4.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Based on your provided commits, here is the updated changelog for Screenpipe:

### **New Features:**
- **Added o3-mini model to the list:** Introduced support for the new o3-mini model.

### **Improvements:**
- **Updated documentation:** Enhanced the documentation for better clarity and usage instructions.

### **Fixes:**
- **Fixed rewind date change controls:** Resolved issues with the rewind date change controls for better user experience.
- **Fixed scroll not working:** Addressed the scrolling issue that was affecting usability.
- **Fixed pipe commands in documentation:** Corrected the pipe command examples in the documentation for accuracy.

This changelog includes contributions that provide clear value to the end-user.

#### **Full Changelog:** [b7495..d4e9f](https://github.com/mediar-ai/screenpipe/compare/b7495..d4e9f)

11 changes: 11 additions & 0 deletions content/changelogs/0.30.5.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
### **New Features:**
- **Added sub-command for path persistence:** Introduced a new sub-command `screenpipe add-to-path` for managing path persistence efficiently.

### **Improvements:**
- **Enhanced auto destruct behavior:** Ensured that all pipes stop correctly when auto destruct is initiated.

### **Fixes:**
- No specific fixes were noted in the provided commits.

#### **Full Changelog:** [7031c..c5e17](https://github.com/mediar-ai/screenpipe/compare/7031c..c5e17)

16 changes: 8 additions & 8 deletions content/docs/pages/docs/plugins.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ The fastest way to create a new pipe is using our CLI:
<Tabs items={['bun', 'npm', , 'yarn', 'pnpm']}>
<Tab>
```bash copy
bunx @screenpipe/dev create
bunx @screenpipe/dev@latest create
```
</Tab>
<Tab>
Expand Down Expand Up @@ -84,14 +84,14 @@ available commands:

```bash copy
# authenticate with your API key
bunx @screenpipe/dev login --apiKey <your-key>
bunx @screenpipe/dev@latest login --apiKey <your-key>

# create a new pipe
bunx @screenpipe/dev register --name my-pipe [--paid --price 9.99] # MAKE SURE TO SET THE PRICE IF YOU WANT TO SELL IT - IRREVERSIBLE
bunx @screenpipe/dev@latest register --name my-pipe [--paid --price 9.99] # MAKE SURE TO SET THE PRICE IF YOU WANT TO SELL IT - IRREVERSIBLE
# you'll receive payouts to your stripe account on a daily basis

# add predefined components to your pipe
bunx @screenpipe/dev components add
bunx @screenpipe/dev@latest components add
# select components from the interactive menu:
# - use-health: health monitoring hooks
# - use-settings: settings management
Expand All @@ -102,18 +102,18 @@ bunx @screenpipe/dev components add
# - use-ai-provider: AI integration hooks

# publish your pipe to the store
bunx @screenpipe/dev publish --name my-pipe
bunx @screenpipe/dev@latest publish --name my-pipe
# our team will review your pipe and publish it to the store
# if approved, your pipe will be available in the store to everyone

# list all versions of your pipe
bunx @screenpipe/dev list-versions --name my-pipe
bunx @screenpipe/dev@latest list-versions --name my-pipe

# end current session
bunx @screenpipe/dev logout
bunx @screenpipe/dev@latest logout
```

you can deploy your pipe to your screenpipe app through the UI or using `screenpipe install <path>` and `screenpipe enable <id/folder of your pipe>`.
you can deploy your pipe to your screenpipe app through the UI or using `screenpipe pipe install <path>` and `screenpipe pipe enable <id/folder of your pipe>`.

when you're ready to deploy, send a PR to the [screenpipe repo](https://github.com/mediar-ai/screenpipe) to add your pipe to the store.

Expand Down
Binary file modified pipes/data-table/bun.lockb
Binary file not shown.
6 changes: 3 additions & 3 deletions pipes/data-table/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "data-table",
"version": "0.1.1",
"version": "0.1.2",
"private": true,
"scripts": {
"dev": "next dev --turbopack",
Expand All @@ -23,8 +23,8 @@
"@radix-ui/react-switch": "^1.1.2",
"@radix-ui/react-toast": "^1.2.3",
"@radix-ui/react-tooltip": "^1.1.5",
"@screenpipe/browser": "^0.1.25",
"@screenpipe/js": "^1.0.8",
"@screenpipe/browser": "^0.1.26",
"@screenpipe/js": "^1.0.9",
"@shadcn/ui": "^0.0.4",
"@tanstack/react-query": "^5.62.7",
"@tanstack/react-table": "^8.20.6",
Expand Down
6 changes: 3 additions & 3 deletions pipes/identify-speakers/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "identify-speakers",
"version": "0.1.0",
"version": "0.1.1",
"private": true,
"scripts": {
"dev": "next dev --turbopack",
Expand All @@ -22,8 +22,8 @@
"@radix-ui/react-switch": "^1.1.2",
"@radix-ui/react-toast": "^1.2.3",
"@radix-ui/react-tooltip": "^1.1.5",
"@screenpipe/browser": "^0.1.25",
"@screenpipe/js": "^1.0.8",
"@screenpipe/browser": "^0.1.26",
"@screenpipe/js": "^1.0.9",
"@shadcn/ui": "^0.0.4",
"@tanstack/react-query": "^5.62.7",
"@types/js-levenshtein": "^1.1.3",
Expand Down
4 changes: 2 additions & 2 deletions pipes/linkedin-ai-assistant/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"@radix-ui/react-switch": "^1.1.1",
"@radix-ui/react-toast": "^1.2.4",
"@radix-ui/react-tooltip": "^1.1.6",
"@screenpipe/browser": "0.1.25",
"@screenpipe/js": "^1.0.8",
"@screenpipe/browser": "0.1.26",
"@screenpipe/js": "^1.0.9",
"@sentry/nextjs": "^8",
"@tauri-apps/api": "^2.1.1",
"chrome-launcher": "^1.1.2",
Expand Down
4 changes: 2 additions & 2 deletions pipes/meeting/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"@radix-ui/react-switch": "^1.1.2",
"@radix-ui/react-toast": "^1.2.4",
"@radix-ui/react-tooltip": "^1.1.5",
"@screenpipe/browser": "0.1.25",
"@screenpipe/js": "1.0.8",
"@screenpipe/browser": "0.1.26",
"@screenpipe/js": "1.0.9",
"@shadcn/ui": "^0.0.4",
"@tanstack/react-query": "^5.62.7",
"@types/js-levenshtein": "^1.1.3",
Expand Down
4 changes: 2 additions & 2 deletions pipes/memories/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"@radix-ui/react-switch": "^1.1.2",
"@radix-ui/react-toast": "^1.2.3",
"@radix-ui/react-tooltip": "^1.1.5",
"@screenpipe/browser": "^0.1.25",
"@screenpipe/js": "^1.0.8",
"@screenpipe/browser": "^0.1.26",
"@screenpipe/js": "^1.0.9",
"@shadcn/ui": "^0.0.4",
"@tanstack/react-query": "^5.62.7",
"@types/js-levenshtein": "^1.1.3",
Expand Down
Binary file modified pipes/obsidian/bun.lockb
Binary file not shown.
6 changes: 3 additions & 3 deletions pipes/obsidian/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "obsidian",
"version": "0.1.10",
"version": "0.1.11",
"private": true,
"scripts": {
"dev": "next dev --turbopack",
Expand All @@ -23,8 +23,8 @@
"@radix-ui/react-tabs": "^1.1.2",
"@radix-ui/react-toast": "^1.2.4",
"@radix-ui/react-tooltip": "^1.1.5",
"@screenpipe/browser": "0.1.24",
"@screenpipe/js": "1.0.7",
"@screenpipe/browser": "0.1.26",
"@screenpipe/js": "1.0.9",
"@shadcn/ui": "^0.0.4",
"@tanstack/react-query": "^5.62.7",
"@types/js-levenshtein": "^1.1.3",
Expand Down
Binary file modified pipes/reddit-auto-posts/bun.lockb
Binary file not shown.
6 changes: 3 additions & 3 deletions pipes/reddit-auto-posts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "reddit-auto-posts",
"version": "0.1.1",
"version": "0.1.3",
"private": true,
"scripts": {
"dev": "next dev",
Expand All @@ -13,8 +13,8 @@
"@radix-ui/react-select": "^2.1.4",
"@radix-ui/react-toast": "^1.2.1",
"@radix-ui/react-tooltip": "^1.1.6",
"@screenpipe/browser": "0.1.24",
"@screenpipe/js": "1.0.7",
"@screenpipe/browser": "0.1.26",
"@screenpipe/js": "1.0.9",
"@types/lodash": "^4.17.13",
"@types/nodemailer": "^6.4.17",
"ai": "^4.0.18",
Expand Down
Binary file modified pipes/rewind/bun.lockb
Binary file not shown.
8 changes: 4 additions & 4 deletions pipes/rewind/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "search",
"version": "0.1.0",
"name": "rewind",
"version": "0.1.6",
"private": true,
"scripts": {
"dev": "next dev --turbopack",
Expand All @@ -23,8 +23,8 @@
"@radix-ui/react-switch": "^1.1.2",
"@radix-ui/react-toast": "^1.2.3",
"@radix-ui/react-tooltip": "^1.1.5",
"@screenpipe/browser": "^0.1.24",
"@screenpipe/js": "^1.0.7",
"@screenpipe/browser": "^0.1.26",
"@screenpipe/js": "^1.0.9",
"@shadcn/ui": "^0.0.4",
"@tanstack/react-query": "^5.62.7",
"@types/js-levenshtein": "^1.1.3",
Expand Down
66 changes: 47 additions & 19 deletions pipes/rewind/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,61 @@ import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css";

const geistSans = Geist({
variable: "--font-geist-sans",
subsets: ["latin"],
variable: "--font-geist-sans",
subsets: ["latin"],
});

const geistMono = Geist_Mono({
variable: "--font-geist-mono",
subsets: ["latin"],
variable: "--font-geist-mono",
subsets: ["latin"],
});


export const metadata: Metadata = {
title: "Timeline • Screenpipe",
description: "View your screenpipe recordings in a timeline",
title: "Timeline • Screenpipe",
description: "View your screenpipe recordings in a timeline",
};

export default function RootLayout({
children,
export const dynamic = "force-dynamic";

export default async function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
children: React.ReactNode;
}>) {
return (
<html lang="en">
<body
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
>
{children}
</body>
</html>
);
const checkSettings = async () => {
try {
const port = process.env.PORT || 3000;
const response = await fetch(`http://localhost:${port}/api/settings`);
const settings = await response.json();

return settings.enableFrameCache;
} catch (error) {
console.error("Failed to load settings:", error);
return false;
}
};

const enabled = await checkSettings();

return (
<html lang="en">
<body
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
>
{!enabled ? (
<div className="flex items-center justify-center h-screen">
<div className="text-center space-y-4">
<h2 className="text-xl font-medium">Frame Cache Disabled</h2>
<p className="text-muted-foreground">
Please enable frame cache in settings to use the timeline
feature.
</p>
</div>
</div>
) : (
<>{children}</>
)}
</body>
</html>
);
}
Loading

0 comments on commit da57c2d

Please sign in to comment.