Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
updates for alternatives
Iuliia Shnai56dfb6ebb3d9
diff --git a/components/web/alternatives/plan.tsx b/components/web/alternatives/plan.tsxindex 48bfb0ef..d7f6f40c 100644--- a/components/web/alternatives/plan.tsx+++ b/components/web/alternatives/plan.tsx@@ -17,43 +17,3 @@ export const PlanSelect = ({ plan, setPlan }: PlanProps) => {/>);};--// import React from "react";-// import Select from "react-select";--// const plansList = ["Free", "Open-Source", "Paid", "Custom", "Any Plan"];--// const options = plansList.map((name) => {-// return { value: name, label: name };-// });--// interface PlanSelectProps {-// plan: string;-// setPlan: (value: string) => void;-// }--// export const PlanSelect: React.FC<PlanSelectProps> = ({ plan, setPlan }) => {-// interface SelectedOption {-// value: string;-// label: string;-// }--// const handleChange = (selectedOption: SelectedOption | null) => {-// setPlan(selectedOption ? selectedOption.value : "");-// };--// const selectedPlan = options.find((option) => option.value === plan);--// // Default option to be selected-// const defaultOption = options.find((option) => option.value === "Free");--// return (-// <Select-// options={options}-// onChange={handleChange}-// value={selectedPlan}-// defaultValue={defaultOption} // Add this line-// placeholder="Select a plan"-// />-// );-// };diff --git a/components/web/alternatives/usecase.tsx b/components/web/alternatives/usecase.tsxindex 4eeab19c..aa3d74fd 100644--- a/components/web/alternatives/usecase.tsx+++ b/components/web/alternatives/usecase.tsx@@ -6,7 +6,7 @@ interface UsecaseProps {setUsecase: Dispatch<SetStateAction<string>>;}-const options = ["Pitch Deck", "Sales Deck", "Investment Docs", "Other"];+const options = ["Pitch Deck", "Sales Deck", "Investment Docs", "Any Document"];export const UsecaseSelect = ({ usecase, setUsecase }: UsecaseProps) => {return (@@ -17,88 +17,3 @@ export const UsecaseSelect = ({ usecase, setUsecase }: UsecaseProps) => {/>);};--// import React from "react";-// import Select from "react-select";-// import { Dispatch, SetStateAction } from "react";--// const usecasesList = ["Pitch Deck", "Sales Deck", "Investment Docs", "Other"];--// const options = usecasesList.map((name) => {-// return { value: name, label: name };-// });--// interface SelectedOption {-// value: string;-// label: string;-// }--// interface UsecaseSelectProps {-// usecase: string;-// setUsecase: Dispatch<SetStateAction<string>>;-// }--// const customStyles = {-// option: (provided: any, state: { isFocused: any; isActive: any }) => ({-// ...provided,-// backgroundColor: state.isFocused-// ? "#f5f5f5" // Very light gray for hover.-// : state.isActive-// ? "black" // Black when option is clicked.-// : "white", // Default color.-// color: state.isActive ? "white" : "black",-// padding: "15px 15px",-// borderBottom: "none",-// }),-// control: (provided: any) => ({-// ...provided,-// borderColor: "black",-// borderWidth: "2px",-// boxShadow: "none",-// "&:hover": {-// borderColor: "black",-// },-// }),-// singleValue: (provided: any) => ({-// ...provided,-// color: "black",-// }),-// dropdownIndicator: (provided: any) => ({-// ...provided,-// color: "black",-// "&:hover": {-// color: "black",-// },-// }),-// indicatorSeparator: () => ({-// display: "none",-// }),-// menu: (provided: any) => ({-// ...provided,-// marginTop: "2px",-// }),-// };--// export const UsecaseSelect: React.FC<UsecaseSelectProps> = ({-// usecase,-// setUsecase,-// }) => {-// const handleChange = (selectedOption: SelectedOption | null) => {-// setUsecase(selectedOption ? selectedOption.value : "");-// };--// const selectedUsecase = options.find((option) => option.value === usecase);--// const defaultOption = options.find((option) => option.value === "Pitch Deck");--// return (-// <Select-// options={options}-// onChange={handleChange}-// value={selectedUsecase}-// defaultValue={defaultOption}-// placeholder="Select a case"-// styles={customStyles}-// />-// );-// };diff --git a/package-lock.json b/package-lock.jsonindex 71c5536f..78c3300a 100644--- a/package-lock.json+++ b/package-lock.json@@ -35,7 +35,6 @@"@types/node": "^20.8.4","@types/react": "^18.2.27","@types/react-dom": "^18.2.12",- "@types/react-select": "^5.0.1","@upstash/qstash": "^2.1.8","@vercel/analytics": "^1.1.0","@vercel/blob": "^0.13.0",@@ -65,7 +64,6 @@"react-dom": "18.2.0","react-dropzone": "^14.2.3","react-email": "^1.9.5",- "react-hot-toast": "^2.4.1","react-pdf": "^7.5.0","react-select": "^5.7.7","resend": "^1.1.0",@@ -75,7 +73,6 @@"tailwind-merge": "^1.14.0","tailwindcss": "^3.3.3","tailwindcss-animate": "^1.0.7",- "twin.macro": "^3.4.0","typescript": "^5.2.2","ua-parser-js": "^1.0.36","zod": "^3.22.4"@@ -356,17 +353,6 @@"node": ">=4"}},- "node_modules/@babel/parser": {- "version": "7.23.0",- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.0.tgz",- "integrity": "sha512-vvPKKdMemU85V9WE/l5wZEmImpCtLqbnTvqDS2U1fJ96KrxoW7KrXhNsNCblQlg8Ck4b85yxdTyelsMUgFUXiw==",- "bin": {- "parser": "bin/babel-parser.js"- },- "engines": {- "node": ">=6.0.0"- }- },"node_modules/@babel/runtime": {"version": "7.22.3","resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.22.3.tgz",@@ -378,19 +364,6 @@"node": ">=6.9.0"}},- "node_modules/@babel/template": {- "version": "7.22.15",- "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.15.tgz",- "integrity": "sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==",- "dependencies": {- "@babel/code-frame": "^7.22.13",- "@babel/parser": "^7.22.15",- "@babel/types": "^7.22.15"- },- "engines": {- "node": ">=6.9.0"- }- },"node_modules/@babel/types": {"version": "7.23.0","resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.0.tgz",@@ -3403,15 +3376,6 @@"@types/react": "*"}},- "node_modules/@types/react-select": {- "version": "5.0.1",- "resolved": "https://registry.npmjs.org/@types/react-select/-/react-select-5.0.1.tgz",- "integrity": "sha512-h5Im0AP0dr4AVeHtrcvQrLV+gmPa7SA0AGdxl2jOhtwiE6KgXBFSogWw8az32/nusE6AQHlCOHQWjP1S/+oMWA==",- "deprecated": "This is a stub types definition. react-select provides its own type definitions, so you do not need this installed.",- "dependencies": {- "react-select": "*"- }- },"node_modules/@types/react-transition-group": {"version": "4.4.8","resolved": "https://registry.npmjs.org/@types/react-transition-group/-/react-transition-group-4.4.8.tgz",@@ -6586,14 +6550,6 @@"url": "https://github.com/sponsors/sindresorhus"}},- "node_modules/goober": {- "version": "2.1.13",- "resolved": "https://registry.npmjs.org/goober/-/goober-2.1.13.tgz",- "integrity": "sha512-jFj3BQeleOoy7t93E9rZ2de+ScC4lQICLwiAQmKMg9F6roKGaLSHoCDYKkWlSafg138jejvq/mTdvmnwDQgqoQ==",- "peerDependencies": {- "csstype": "^3.0.10"- }- },"node_modules/gopd": {"version": "1.0.1","resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz",@@ -7833,11 +7789,6 @@"resolved": "https://registry.npmjs.org/lodash.castarray/-/lodash.castarray-4.4.0.tgz","integrity": "sha512-aVx8ztPv7/2ULbArGJ2Y42bG1mEQ5mGjpdvrbJcJFU3TbYybe+QlLS4pst9zV52ymy2in1KpFPiZnAOATxD4+Q=="},- "node_modules/lodash.get": {- "version": "4.4.2",- "resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz",- "integrity": "sha512-z+Uw/vLuy6gQe8cfaFWD7p0wVv8fJl3mbzXh33RS+0oW2wvUqiRXiQ69gLWSLpgB5/6sU+r6BlQR0MBILadqTQ=="- },"node_modules/lodash.isplainobject": {"version": "4.0.6","resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz",@@ -9244,21 +9195,6 @@"node": ">=10"}},- "node_modules/react-hot-toast": {- "version": "2.4.1",- "resolved": "https://registry.npmjs.org/react-hot-toast/-/react-hot-toast-2.4.1.tgz",- "integrity": "sha512-j8z+cQbWIM5LY37pR6uZR6D4LfseplqnuAO4co4u8917hBUvXlEqyP1ZzqVLcqoyUesZZv/ImreoCeHVDpE5pQ==",- "dependencies": {- "goober": "^2.1.10"- },- "engines": {- "node": ">=10"- },- "peerDependencies": {- "react": ">=16",- "react-dom": ">=16"- }- },"node_modules/react-is": {"version": "16.13.1","resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",@@ -10961,25 +10897,6 @@"node": ">= 6"}},- "node_modules/twin.macro": {- "version": "3.4.0",- "resolved": "https://registry.npmjs.org/twin.macro/-/twin.macro-3.4.0.tgz",- "integrity": "sha512-sOZN3PAlUpA/5ZITFkK1UjYhAKqKUGLrAbqviVagmd/B18Es6faozVdUceJTpMklD/dAjxhHCMPP2gwpJLCbyg==",- "dependencies": {- "@babel/template": "^7.18.10",- "babel-plugin-macros": "^3.1.0",- "chalk": "4.1.2",- "lodash.get": "^4.4.2",- "lodash.merge": "^4.6.2",- "postcss-selector-parser": "^6.0.10"- },- "engines": {- "node": ">=16.14.0"- },- "peerDependencies": {- "tailwindcss": ">=3.3.1"- }- },"node_modules/type-check": {"version": "0.4.0","resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",@@ -11819,11 +11736,6 @@}}},- "@babel/parser": {- "version": "7.23.0",- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.0.tgz",- "integrity": "sha512-vvPKKdMemU85V9WE/l5wZEmImpCtLqbnTvqDS2U1fJ96KrxoW7KrXhNsNCblQlg8Ck4b85yxdTyelsMUgFUXiw=="- },"@babel/runtime": {"version": "7.22.3","resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.22.3.tgz",@@ -11832,16 +11744,6 @@"regenerator-runtime": "^0.13.11"}},- "@babel/template": {- "version": "7.22.15",- "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.15.tgz",- "integrity": "sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==",- "requires": {- "@babel/code-frame": "^7.22.13",- "@babel/parser": "^7.22.15",- "@babel/types": "^7.22.15"- }- },"@babel/types": {"version": "7.23.0","resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.0.tgz",@@ -13774,14 +13676,6 @@"@types/react": "*"}},- "@types/react-select": {- "version": "5.0.1",- "resolved": "https://registry.npmjs.org/@types/react-select/-/react-select-5.0.1.tgz",- "integrity": "sha512-h5Im0AP0dr4AVeHtrcvQrLV+gmPa7SA0AGdxl2jOhtwiE6KgXBFSogWw8az32/nusE6AQHlCOHQWjP1S/+oMWA==",- "requires": {- "react-select": "*"- }- },"@types/react-transition-group": {"version": "4.4.8","resolved": "https://registry.npmjs.org/@types/react-transition-group/-/react-transition-group-4.4.8.tgz",@@ -16081,12 +15975,6 @@"slash": "^3.0.0"}},- "goober": {- "version": "2.1.13",- "resolved": "https://registry.npmjs.org/goober/-/goober-2.1.13.tgz",- "integrity": "sha512-jFj3BQeleOoy7t93E9rZ2de+ScC4lQICLwiAQmKMg9F6roKGaLSHoCDYKkWlSafg138jejvq/mTdvmnwDQgqoQ==",- "requires": {}- },"gopd": {"version": "1.0.1","resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz",@@ -16955,11 +16843,6 @@"resolved": "https://registry.npmjs.org/lodash.castarray/-/lodash.castarray-4.4.0.tgz","integrity": "sha512-aVx8ztPv7/2ULbArGJ2Y42bG1mEQ5mGjpdvrbJcJFU3TbYybe+QlLS4pst9zV52ymy2in1KpFPiZnAOATxD4+Q=="},- "lodash.get": {- "version": "4.4.2",- "resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz",- "integrity": "sha512-z+Uw/vLuy6gQe8cfaFWD7p0wVv8fJl3mbzXh33RS+0oW2wvUqiRXiQ69gLWSLpgB5/6sU+r6BlQR0MBILadqTQ=="- },"lodash.isplainobject": {"version": "4.0.6","resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz",@@ -17896,14 +17779,6 @@}}},- "react-hot-toast": {- "version": "2.4.1",- "resolved": "https://registry.npmjs.org/react-hot-toast/-/react-hot-toast-2.4.1.tgz",- "integrity": "sha512-j8z+cQbWIM5LY37pR6uZR6D4LfseplqnuAO4co4u8917hBUvXlEqyP1ZzqVLcqoyUesZZv/ImreoCeHVDpE5pQ==",- "requires": {- "goober": "^2.1.10"- }- },"react-is": {"version": "16.13.1","resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",@@ -19103,19 +18978,6 @@}}},- "twin.macro": {- "version": "3.4.0",- "resolved": "https://registry.npmjs.org/twin.macro/-/twin.macro-3.4.0.tgz",- "integrity": "sha512-sOZN3PAlUpA/5ZITFkK1UjYhAKqKUGLrAbqviVagmd/B18Es6faozVdUceJTpMklD/dAjxhHCMPP2gwpJLCbyg==",- "requires": {- "@babel/template": "^7.18.10",- "babel-plugin-macros": "^3.1.0",- "chalk": "4.1.2",- "lodash.get": "^4.4.2",- "lodash.merge": "^4.6.2",- "postcss-selector-parser": "^6.0.10"- }- },"type-check": {"version": "0.4.0","resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",diff --git a/package.json b/package.jsonindex c35c9f5b..df4676ea 100644--- a/package.json+++ b/package.json@@ -42,7 +42,6 @@"@types/node": "^20.8.4","@types/react": "^18.2.27","@types/react-dom": "^18.2.12",- "@types/react-select": "^5.0.1","@upstash/qstash": "^2.1.8","@vercel/analytics": "^1.1.0","@vercel/blob": "^0.13.0",@@ -72,7 +71,6 @@"react-dom": "18.2.0","react-dropzone": "^14.2.3","react-email": "^1.9.5",- "react-hot-toast": "^2.4.1","react-pdf": "^7.5.0","react-select": "^5.7.7","resend": "^1.1.0",@@ -82,7 +80,6 @@"tailwind-merge": "^1.14.0","tailwindcss": "^3.3.3","tailwindcss-animate": "^1.0.7",- "twin.macro": "^3.4.0","typescript": "^5.2.2","ua-parser-js": "^1.0.36","zod": "^3.22.4"diff --git a/pages/api/optimize.ts b/pages/api/optimize.tsindex 41926f4b..5a3adbe7 100644--- a/pages/api/optimize.ts+++ b/pages/api/optimize.ts@@ -18,7 +18,7 @@ const handler = async (req: Request): Promise<Response> => {}const payload: OpenAIStreamPayload = {- model: "gpt-3.5-turbo",+ model: "gpt-4-1106-preview",messages: [{ role: "user", content: prompt }],temperature: 0.7,top_p: 1,diff --git a/pages/docsend-alternatives.tsx b/pages/docsend-alternatives.tsxindex c27ffeaa..40cbd422 100644--- a/pages/docsend-alternatives.tsx+++ b/pages/docsend-alternatives.tsx@@ -1,8 +1,6 @@import Head from "next/head";import { useEffect, useState, useRef } from "react";import Feature from "@/components/web/alternatives/feature";--import { Toaster, toast } from "react-hot-toast";// import LoadingDots from "@/components/web/alternatives/loadingdots";import Footer from "@/components/web/footer";import Navbar from "@/components/web/navbar";@@ -39,15 +37,15 @@ export default function Home() {.filter((feature) => !selectedFeatures.includes(feature)).join(", ");- let prompt = `Provide me the list of 5-10 Docsend alternatives, based on the requested plan: ${- plan ? plan : "Any Plan"- }, and use case: ${usecase ? usecase : "Any Use Case"}.+ let prompt = `Provide me the list of 5 Docsend alternatives, based on the requested plan: ${+ plan ? plan : "Free"+ }.}, and use case: ${usecase ? usecase : "Pitch Deck"}.It should be platforms which allow to share/send documents, turn document into a shareable link.The first one should be Papermark- it fits in every case and has all features in it. After papermark show most relevant, the one which have ${priorityFeaturesList ? priorityFeaturesList : "the requested features"}.- Provide name.- On the next line word: Price: and price for this tool. Papermark price is starting free, premium 29$/month.+ Provide name.+ On the next line word: Price: and price for this tool. Papermark price: start for freeNext should be word Features: and show list of ${priorityFeaturesList ? priorityFeaturesList : "the selected features"@@ -56,8 +54,18 @@ export default function Home() {Also list ${otherFeaturesList} and near each indicate with a yes/no whether it is available or not for this tool.Show all features in the list: Feature Name, and in brackets yes or no.++ Next show the text "Use case:" ${usecase}+ after In brackets say, if it fits for this case. If these use case is not widely used, say not widely used++ Next show the text "Plan:" ${plan}+ After In brackets says, if it availabe in this tool, mention selected planç++ Below provide 1 sentences what mainly tool for and how it compare with Docsend documnt sharing platform.+ It should be favourable for Papermark so after reading user is tend to try it, but do not lie about other tools features.- Do not show Docsend, as you are finding alternatives to Docsend. If there are not enough alternatives, list fewer.+ Do not show Docsend, as you are finding alternatives to Docsend. If there are not enough alternatives, list fewer.+Add at the end always:Please note that the prices and availability of features may vary, and it is recommended to visit the respective websites of these alternatives for more accurate and up-to-date information.`;@@ -110,7 +118,7 @@ Please note that the prices and availability of features may vary, and it is rec<Head><scriptdefer- data-domain="vc.papermark.io"+ data-domain="www.papermark.io"src="https://plausible.io/js/script.js"></script>@@ -158,10 +166,10 @@ Please note that the prices and availability of features may vary, and it is rec<h1 className="text-4xl text-center font-bold pb-1 text-black lg:text-6xl ">Find Docsend alternatives personalised for you</h1>- <p className="mt-3 mb-10 text-center text-white">+ {/* <p className="mt-3 mb-10 text-center text-white">Raise capital with help of AI generated list of investors{" "}<br />- </p>+ </p> */}<div className="max-w-5xl mx-auto px-8 lg:px-28"><div className="max-w-5xl mx-auto"><div className="w-full my-1 mx-auto "></div>@@ -220,11 +228,6 @@ Please note that the prices and availability of features may vary, and it is rec</div></div><div className="flex md:flex-col lg:flex-col">- <Toaster- position="top-right"- reverseOrder={false}- toastOptions={{ duration: 2000 }}- />{optimizedPost && (<div className="my-1"><div className="flex justify-between items-center pb-2 py-2 border-gray-300">