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

docs: add bounty template

Louis Beaumont07d054a60b62
diff --git a/.github/ISSUE_TEMPLATE/bounty.md b/.github/ISSUE_TEMPLATE/bounty.md
new file mode 100644
index 000000000..c1aa13635
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bounty.md
@@ -0,0 +1,33 @@
+---
+name: bounty
+about: something you want and others too
+title: "[bounty] "
+labels: enhancement
+assignees: ''
+
+---
+
+**describe the definition of done**
+
+eg
+- [ ] make the button blue
+- [ ] make the text "click me"
+
+all the exact things that will need to be done to receive the bounty.
+
+precision is important otherwise the bounty cannot be awarded.
+
+**how much money should we invest for this?**
+
+we're going to invest our money to make this happen and build what you want.
+
+be reasonable. but don't underprice it.
+
+**why is this needed?**
+
+explain the use case or problem this solves.
+
+**additional context**
+
+add any other context or screenshots about the feature request here.
+
diff --git a/screenpipe-app-tauri/components/log-viewer.tsx b/screenpipe-app-tauri/components/log-viewer.tsx
deleted file mode 100644
index 235294bb5..000000000
--- a/screenpipe-app-tauri/components/log-viewer.tsx
+++ /dev/null
@@ -1,71 +0,0 @@
-import { useState, useEffect } from "react";
-import { readTextFile, BaseDirectory } from "@tauri-apps/plugin-fs";
-
-import {
- Dialog,
- DialogContent,
- DialogHeader,
- DialogTitle,
- DialogTrigger,
-} from "@/components/ui/dialog";
-import { Button } from "@/components/ui/button";
-import { platform } from "@tauri-apps/plugin-os";
-import { homeDir, resolveResource } from "@tauri-apps/api/path";
-
-export function LogViewer() {
- const [logs, setLogs] = useState<string>("");
- const [isOpen, setIsOpen] = useState(false);
-
- useEffect(() => {
- if (isOpen) {
- const loadLogs = async () => {
- try {
- const os = platform();
- const homeDirPath = await homeDir();
- const today = new Date().toISOString().split("T")[0];
- const logFileName = `screenpipe.${today}.log`;
-
- const logPath =
- os === "windows"
- ? await resolveResource(
- `${homeDirPath}\\.screenpipe\\${logFileName}`
- )
- : await resolveResource(
- `${homeDirPath}/.screenpipe/${logFileName}`
- );
-
- const content = await readTextFile(logPath);
- setLogs(content);
- } catch (error) {
- console.error("error reading log file:", error);
- setLogs("error reading log file");
- }
- };
-
- loadLogs();
-
- const pollingInterval = 500; // Customize this value
- const intervalId = setInterval(() => {
- loadLogs();
- }, pollingInterval);
-
- return () => {
- clearInterval(intervalId); // Clear the interval on cleanup
- };
- }
- }, [isOpen]);
-
- return (
- <Dialog open={isOpen} onOpenChange={setIsOpen}>
- <DialogTrigger asChild>
- <Button variant="outline">View Logs</Button>
- </DialogTrigger>
- <DialogContent className="max-w-3xl max-h-[80vh]">
- <DialogHeader>
- <DialogTitle>Application Logs</DialogTitle>
- </DialogHeader>
- <div className="overflow-auto whitespace-pre-wrap">{logs}</div>
- </DialogContent>
- </Dialog>
- );
-}