[{"data":1,"prerenderedAt":630,"buildId":631},["ShallowReactive",2],{"\u002Fgetting-started\u002Fsharex":3,"\u002Fgetting-started\u002Fsharex-surround":347,"navigation":358},{"id":4,"title":5,"body":6,"description":339,"extension":340,"meta":341,"navigation":342,"path":343,"seo":344,"stem":345,"__hash__":346},"docs\u002F1.getting-started\u002F3.sharex.md","Configure ShareX",{"type":7,"value":8,"toc":329},"minimark",[9,13,18,26,85,97,104,117,120,124,182,185,189,204,208,224,228,235,285,289,318,325],[10,11,12],"p",{},"ShareX uploads to Tessra with an API token. Tessra builds the ShareX config for you, with your server's address and the token already filled in.",[14,15,17],"h2",{"id":16},"create-the-token-and-config","Create the token and config",[10,19,20,21,25],{},"Open ",[22,23,24],"strong",{},"Settings › ShareX"," and fill in:",[27,28,29,42],"table",{},[30,31,32],"thead",{},[33,34,35,39],"tr",{},[36,37,38],"th",{},"Setting",[36,40,41],{},"What it does",[43,44,45,54,69,77],"tbody",{},[33,46,47,51],{},[48,49,50],"td",{},"Name",[48,52,53],{},"Tells you where the token is used, such as the PC running ShareX.",[33,55,56,59],{},[48,57,58],{},"What ShareX copies after an upload",[48,60,61,64,65,68],{},[22,62,63],{},"Share link"," copies a public link anyone can open, which is best for pasting into chats. ",[22,66,67],{},"Private link"," copies a link that only you can open while signed in.",[33,70,71,74],{},[48,72,73],{},"Links expire",[48,75,76],{},"For share links: never, or after 1, 7, 30, 90 or 365 days. The file stays after its link expires.",[33,78,79,82],{},[48,80,81],{},"Token expires",[48,83,84],{},"Never, or after 30 days, 90 days or a year.",[10,86,87,88,91,92,96],{},"Click ",[22,89,90],{},"Create token and config",". Tessra shows the token once and downloads a ",[93,94,95],"code",{},".sxcu"," file.",[98,99],"screenshot",{"alt":100,"caption":24,"height":101,"name":102,"width":103},"The ShareX settings page with the token name, link options and Create token and config button",720,"sharex",1216,[105,106,107],"warning",{},[10,108,109,110,112,113,116],{},"The ",[93,111,95],{}," file contains the token. Treat it like a password, and revoke the token under ",[22,114,115],{},"Settings › API tokens"," if the file leaks.",[10,118,119],{},"The first-run setup also offers to create a ShareX token as its last step, so you may already have one.",[14,121,123],{"id":122},"import-it-into-sharex","Import it into ShareX",[125,126,127,142,169,179],"ol",{},[128,129,130,131,133,134,137,138,141],"li",{},"Double-click the downloaded ",[93,132,95],{}," file and confirm the import. Or, in ShareX, open ",[22,135,136],{},"Destinations › Custom uploader settings"," and click ",[22,139,140],{},"Import",".",[128,143,144,145,148,149,152,153,156,157,160,161,164,165,168],{},"In ",[22,146,147],{},"Destinations",", set ",[22,150,151],{},"Image uploader",", ",[22,154,155],{},"Text uploader"," and ",[22,158,159],{},"File uploader"," to ",[22,162,163],{},"Custom",", and pick ",[22,166,167],{},"Tessra"," for each.",[128,170,171,172,175,176,141],{},"Under ",[22,173,174],{},"After capture tasks",", tick ",[22,177,178],{},"Upload image to host",[128,180,181],{},"Take a screenshot.",[10,183,184],{},"ShareX copies the link to the clipboard. Its history also keeps a thumbnail URL and a deletion URL; the deletion URL asks for confirmation before it deletes the file.",[14,186,188],{"id":187},"test-the-token","Test the token",[10,190,191,192,195,196,199,200,203],{},"Under the new token, ",[22,193,194],{},"Send test upload"," sends a small image the same way ShareX does, using only that token. It shows the link, thumbnail and deletion URL ShareX would get, or the error ShareX would show. The test file appears in ",[22,197,198],{},"Files",", and ",[22,201,202],{},"Delete test file"," removes it again.",[14,205,207],{"id":206},"process-uploads-before-theyre-saved","Process uploads before they're saved",[10,209,210,211,216,217,219,220,141],{},"A token can send its uploads through an ",[212,213,215],"a",{"href":214},"\u002Fautomations\u002Fintake","intake workflow",", for example to strip metadata and compress screenshots before they reach your library. Choose the workflow on the token under ",[22,218,115],{},"; see ",[212,221,223],{"href":222},"\u002Fautomations\u002Fintake#choosing-a-workflow","Choosing a workflow",[14,225,227],{"id":226},"uploading-without-sharex","Uploading without ShareX",[10,229,230,231,234],{},"Any client that can send a multipart form can upload with a token that has the ",[93,232,233],{},"upload:create"," scope:",[236,237,242],"pre",{"className":238,"code":239,"language":240,"meta":241,"style":241},"language-bash shiki shiki-themes material-theme-lighter github-light github-dark","curl -H \"Authorization: Bearer $TOKEN\" -F \"file=@screenshot.png\" https:\u002F\u002Ffiles.example.com\u002Fapi\u002Fv1\u002Fuploads\n","bash","",[93,243,244],{"__ignoreMap":241},[245,246,249,253,257,261,265,269,272,275,277,280,282],"span",{"class":247,"line":248},"line",1,[245,250,252],{"class":251},"sbgvK","curl",[245,254,256],{"class":255},"stzsN"," -H",[245,258,260],{"class":259},"sjJ54"," \"",[245,262,264],{"class":263},"s_sjI","Authorization: Bearer ",[245,266,268],{"class":267},"su5hD","$TOKEN",[245,270,271],{"class":259},"\"",[245,273,274],{"class":255}," -F",[245,276,260],{"class":259},[245,278,279],{"class":263},"file=@screenshot.png",[245,281,271],{"class":259},[245,283,284],{"class":263}," https:\u002F\u002Ffiles.example.com\u002Fapi\u002Fv1\u002Fuploads\n",[14,286,288],{"id":287},"when-uploads-fail","When uploads fail",[290,291,292,298,308],"ul",{},[128,293,294,297],{},[22,295,296],{},"401",": the token was revoked, expired or mistyped. Create a new one.",[128,299,300,303,304,141],{},[22,301,302],{},"413"," from your proxy: the proxy's body limit is lower than the file. See ",[212,305,307],{"href":306},"\u002Fself-hosting\u002Freverse-proxy","Reverse proxies and HTTPS",[128,309,310,313,314,141],{},[22,311,312],{},"Large uploads fail on Cloudflare",": Cloudflare limits request bodies per plan, and ShareX uploads in one request. See ",[212,315,317],{"href":316},"\u002Fself-hosting\u002Freverse-proxy#cloudflare-proxy-and-cloudflare-tunnel","Cloudflare",[10,319,320,324],{},[212,321,323],{"href":322},"\u002Fself-hosting\u002Ftroubleshooting#uploads-fail","Troubleshooting"," lists more upload errors.",[326,327,328],"style",{},"html pre.shiki code .sbgvK, html code.shiki .sbgvK{--shiki-light:#E2931D;--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .stzsN, html code.shiki .stzsN{--shiki-light:#91B859;--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sjJ54, html code.shiki .sjJ54{--shiki-light:#39ADB5;--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .s_sjI, html code.shiki .s_sjI{--shiki-light:#91B859;--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .su5hD, html code.shiki .su5hD{--shiki-light:#90A4AE;--shiki-default:#24292E;--shiki-dark:#E1E4E8}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":241,"searchDepth":330,"depth":331,"links":332},2,3,[333,334,335,336,337,338],{"id":16,"depth":330,"text":17},{"id":122,"depth":330,"text":123},{"id":187,"depth":330,"text":188},{"id":206,"depth":330,"text":207},{"id":226,"depth":330,"text":227},{"id":287,"depth":330,"text":288},"Create a ShareX token, import the ready-made config, and choose what ShareX copies after each upload.","md",{},true,"\u002Fgetting-started\u002Fsharex",{"title":5,"description":339},"1.getting-started\u002F3.sharex","HHvBP2YBg4cNQBZby7Qg_gORoQcnjVQJI5p3jjqBPQc",[348,353],{"title":349,"path":350,"stem":351,"description":352,"children":-1},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation","Run Tessra with Docker Compose, create the administrator, and know what lives in the data volume.",{"title":354,"path":355,"stem":356,"description":357,"children":-1},"Updating Tessra","\u002Fgetting-started\u002Fupdating","1.getting-started\u002F4.updating","Move to a new release safely, and roll back if something goes wrong.",[359,370,409,452,463,482,493,533,568,582,598],{"title":360,"path":361,"stem":362,"children":363,"icon":369},"Getting started","\u002Fgetting-started","1.getting-started\u002F1.index",[364,366,367,368],{"title":365,"path":361,"stem":362},"Introduction",{"title":349,"path":350,"stem":351},{"title":5,"path":343,"stem":345},{"title":354,"path":355,"stem":356},"i-lucide-rocket",{"title":371,"icon":372,"path":373,"stem":374,"children":375,"page":408},"Library","i-lucide-folder","\u002Flibrary","2.library",[376,380,384,388,392,396,400,404],{"title":377,"path":378,"stem":379},"Uploading files","\u002Flibrary\u002Fuploading","2.library\u002F1.uploading",{"title":381,"path":382,"stem":383},"Files and folders","\u002Flibrary\u002Ffiles-and-folders","2.library\u002F2.files-and-folders",{"title":385,"path":386,"stem":387},"Sharing files","\u002Flibrary\u002Fsharing","2.library\u002F3.sharing",{"title":389,"path":390,"stem":391},"Tags","\u002Flibrary\u002Ftags","2.library\u002F4.tags",{"title":393,"path":394,"stem":395},"Fields","\u002Flibrary\u002Ffields","2.library\u002F5.fields",{"title":397,"path":398,"stem":399},"Attachments","\u002Flibrary\u002Fattachments","2.library\u002F6.attachments",{"title":401,"path":402,"stem":403},"Search","\u002Flibrary\u002Fsearch","2.library\u002F7.search",{"title":405,"path":406,"stem":407},"Trash and recovery","\u002Flibrary\u002Ftrash","2.library\u002F8.trash",false,{"title":410,"path":411,"stem":412,"children":413,"icon":451},"Automations","\u002Fautomations","3.automations\u002F01.index",[414,416,420,424,428,432,435,439,443,447],{"title":415,"path":411,"stem":412},"Overview",{"title":417,"path":418,"stem":419},"Your first workflow","\u002Fautomations\u002Ffirst-workflow","3.automations\u002F02.first-workflow",{"title":421,"path":422,"stem":423},"The editor","\u002Fautomations\u002Feditor","3.automations\u002F03.editor",{"title":425,"path":426,"stem":427},"Values and templates","\u002Fautomations\u002Fvalues","3.automations\u002F04.values",{"title":429,"path":430,"stem":431},"Conditions and branching","\u002Fautomations\u002Fbranching","3.automations\u002F05.branching",{"title":433,"path":214,"stem":434},"Upload intake","3.automations\u002F06.intake",{"title":436,"path":437,"stem":438},"Testing","\u002Fautomations\u002Ftesting","3.automations\u002F07.testing",{"title":440,"path":441,"stem":442},"Runs and history","\u002Fautomations\u002Fruns","3.automations\u002F08.runs",{"title":444,"path":445,"stem":446},"Quarantine and failures","\u002Fautomations\u002Fquarantine","3.automations\u002F09.quarantine",{"title":448,"path":449,"stem":450},"Workflow templates","\u002Fautomations\u002Ftemplates","3.automations\u002F10.templates","i-lucide-workflow",{"title":453,"path":454,"stem":455,"children":456,"icon":462},"Connections","\u002Fconnections","4.connections\u002F1.index",[457,458],{"title":415,"path":454,"stem":455},{"title":459,"path":460,"stem":461},"AI providers","\u002Fconnections\u002Fai-providers","4.connections\u002F2.ai-providers","i-lucide-plug",{"title":464,"path":465,"stem":466,"children":467,"icon":481},"AI","\u002Fai","5.ai\u002F1.index",[468,469,473,477],{"title":415,"path":465,"stem":466},{"title":470,"path":471,"stem":472},"AI classify and extract","\u002Fai\u002Fclassify-and-extract","5.ai\u002F2.classify-and-extract",{"title":474,"path":475,"stem":476},"AI describe, summarize and write","\u002Fai\u002Fdescribe-and-write","5.ai\u002F3.describe-and-write",{"title":478,"path":479,"stem":480},"AI detect and suggest tags","\u002Fai\u002Fdetect-and-tag","5.ai\u002F4.detect-and-tag","i-lucide-sparkles",{"title":483,"path":484,"stem":485,"children":486,"icon":492},"OCR","\u002Focr","5.ocr\u002F1.index",[487,488],{"title":415,"path":484,"stem":485},{"title":489,"path":490,"stem":491},"Setup","\u002Focr\u002Fsetup","5.ocr\u002F2.setup","i-lucide-scan-text",{"title":494,"path":495,"stem":496,"children":497,"icon":532},"Self-hosting","\u002Fself-hosting","6.self-hosting\u002F1.index",[498,499,502,506,508,512,516,520,524,528],{"title":415,"path":495,"stem":496},{"title":323,"path":500,"stem":501},"\u002Fself-hosting\u002Ftroubleshooting","6.self-hosting\u002F10.troubleshooting",{"title":503,"path":504,"stem":505},"Configuration","\u002Fself-hosting\u002Fconfiguration","6.self-hosting\u002F2.configuration",{"title":307,"path":306,"stem":507},"6.self-hosting\u002F3.reverse-proxy",{"title":509,"path":510,"stem":511},"DigitalOcean","\u002Fself-hosting\u002Fdigitalocean","6.self-hosting\u002F4.digitalocean",{"title":513,"path":514,"stem":515},"Backups and restoration","\u002Fself-hosting\u002Fbackups","6.self-hosting\u002F5.backups",{"title":517,"path":518,"stem":519},"Users and roles","\u002Fself-hosting\u002Fusers","6.self-hosting\u002F6.users",{"title":521,"path":522,"stem":523},"Single sign-on","\u002Fself-hosting\u002Fsingle-sign-on","6.self-hosting\u002F7.single-sign-on",{"title":525,"path":526,"stem":527},"Two-factor and passkeys","\u002Fself-hosting\u002Ftwo-factor-and-passkeys","6.self-hosting\u002F8.two-factor-and-passkeys",{"title":529,"path":530,"stem":531},"Importing","\u002Fself-hosting\u002Fimporting","6.self-hosting\u002F9.importing","i-lucide-server",{"title":534,"path":535,"stem":536,"children":537,"icon":567},"Guides","\u002Fguides","7.guides\u002F1.index",[538,539,543,547,551,555,559,563],{"title":415,"path":535,"stem":536},{"title":540,"path":541,"stem":542},"Optimize ShareX uploads","\u002Fguides\u002Fcompress-uploads","7.guides\u002F2.compress-uploads",{"title":544,"path":545,"stem":546},"Send Discord notifications","\u002Fguides\u002Fdiscord-notifications","7.guides\u002F3.discord-notifications",{"title":548,"path":549,"stem":550},"Organize screenshots with AI","\u002Fguides\u002Fcategorize-screenshots","7.guides\u002F4.categorize-screenshots",{"title":552,"path":553,"stem":554},"Extract receipts with AI","\u002Fguides\u002Fextract-receipts","7.guides\u002F5.extract-receipts",{"title":556,"path":557,"stem":558},"Name screenshots with AI","\u002Fguides\u002Fai-file-names","7.guides\u002F6.ai-file-names",{"title":560,"path":561,"stem":562},"Run AI locally with Ollama","\u002Fguides\u002Flocal-ai-ollama","7.guides\u002F7.local-ai-ollama",{"title":564,"path":565,"stem":566},"Make screenshots searchable","\u002Fguides\u002Fsearchable-screenshots","7.guides\u002F8.searchable-screenshots","i-lucide-book-open",{"title":569,"icon":570,"path":571,"stem":572,"children":573,"page":408},"Reference","i-lucide-library","\u002Freference","8.reference",[574,578],{"title":575,"path":576,"stem":577},"Step reference","\u002Freference\u002Fsteps","8.reference\u002F1.steps",{"title":579,"path":580,"stem":581},"Limits and errors","\u002Freference\u002Flimits","8.reference\u002F2.limits",{"title":583,"path":584,"stem":585,"children":586,"icon":597},"Development","\u002Fdevelopment","9.development\u002F1.index",[587,589,593],{"title":588,"path":584,"stem":585},"Local development",{"title":590,"path":591,"stem":592},"Plugin development","\u002Fdevelopment\u002Fplugins","9.development\u002F2.plugins",{"title":594,"path":595,"stem":596},"Writing documentation","\u002Fdevelopment\u002Fdocumentation","9.development\u002F3.documentation","i-lucide-code",{"title":599,"path":600,"stem":601,"children":602,"icon":629},"Comparisons","\u002Fcomparisons","99.comparisons\u002F1.index",[603,605,609,613,617,621,625],{"title":604,"path":600,"stem":601},"Comparing Tessra",{"title":606,"path":607,"stem":608},"Tessra and Zipline","\u002Fcomparisons\u002Fzipline","99.comparisons\u002F2.zipline",{"title":610,"path":611,"stem":612},"Tessra and XBackBone","\u002Fcomparisons\u002Fxbackbone","99.comparisons\u002F3.xbackbone",{"title":614,"path":615,"stem":616},"Tessra and chibisafe","\u002Fcomparisons\u002Fchibisafe","99.comparisons\u002F4.chibisafe",{"title":618,"path":619,"stem":620},"Tessra and Slink","\u002Fcomparisons\u002Fslink","99.comparisons\u002F5.slink",{"title":622,"path":623,"stem":624},"Tessra and Pingvin Share","\u002Fcomparisons\u002Fpingvin-share","99.comparisons\u002F6.pingvin-share",{"title":626,"path":627,"stem":628},"Tessra and PicoShare","\u002Fcomparisons\u002Fpicoshare","99.comparisons\u002F7.picoshare","i-lucide-scale",1796301179352,"7456fe0d-763d-4d83-b714-ffd4ca3197d2"]