{"id":20407063,"url":"https://github.com/neo-desktop/go-fiche","last_synced_at":"2025-04-12T15:11:01.402Z","repository":{"id":93213771,"uuid":"114750556","full_name":"Neo-Desktop/go-fiche","owner":"Neo-Desktop","description":"A GoLang implementation of Fiche as provided by solusipse/fiche","archived":false,"fork":false,"pushed_at":"2018-01-05T06:43:43.000Z","size":50,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-26T09:45:04.897Z","etag":null,"topics":["bin","command-line","commandline","fiche","fork","free","go","golang","mit-license","output","pastebin","sharing","solusipse","termbin","terminal"],"latest_commit_sha":null,"homepage":"http://neo-desktop.github.io/go-fiche","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Neo-Desktop.png","metadata":{"files":{"readme":"docs/README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-19T10:17:23.000Z","updated_at":"2023-05-30T15:14:38.000Z","dependencies_parsed_at":"2023-04-10T02:04:24.449Z","dependency_job_id":null,"html_url":"https://github.com/Neo-Desktop/go-fiche","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Neo-Desktop%2Fgo-fiche","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Neo-Desktop%2Fgo-fiche/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Neo-Desktop%2Fgo-fiche/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Neo-Desktop%2Fgo-fiche/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Neo-Desktop","download_url":"https://codeload.github.com/Neo-Desktop/go-fiche/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248586231,"owners_count":21128997,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bin","command-line","commandline","fiche","fork","free","go","golang","mit-license","output","pastebin","sharing","solusipse","termbin","terminal"],"created_at":"2024-11-15T05:21:04.016Z","updated_at":"2025-04-12T15:11:01.397Z","avatar_url":"https://github.com/Neo-Desktop.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## GoFiche! ![Build Status](https://travis-ci.org/Neo-Desktop/go-fiche.svg?branch=master \"Build Status\") [![GitHub issues](https://img.shields.io/github/issues/Neo-Desktop/go-fiche.svg)](https://github.com/Neo-Desktop/go-fiche/issues) [![GitHub license](https://img.shields.io/github/license/Neo-Desktop/go-fiche.svg)](https://github.com/Neo-Desktop/go-fiche/blob/master/LICENSE)\n![Logo](https://neo-desktop.github.io/go-fiche/logo.png)\n\n### A Go fork of [Fiche](https://github.com/solusipse/fiche \"fiche\")\n\nCommand line pastebin for sharing terminal output.\n\n-----\n\n# Server-side usage\n\n## Installation From Source\n\n1. Clone:\n\n    ```\n    git clone https://github.com/Neo-Desktop/go-fiche.git\n    ```\n\n2. Build:\n\n    ```\n\tgo get github.com/ahmetb/govvv\n    govvv build\n    ```\n    \n3. Install:\n\n    ```\n    cp go-fiche /usr/local/bin\n    ```\n\n-------------------------------------------------------------------------------\n\n## Usage\n\n```\nUsage of go-fiche:\n  -B, --buffer int        This parameter defines size of the buffer used for getting data from the user. Maximum size (in bytes) of all input files is defined by this value. (default 32768)\n  -d, --domain string     This will be used as a prefix for an output received by the client. Value will be prepended with http[s]. (default \"localhost\")\n  -h, --help              Prints this help message\n  -S, --https             If set, Go-Fiche returns url with https prefix instead of http.\n  -l, --log string        Log file. This file has to be user-writable.\n  -o, --output string     Relative or absolute path to the directory where you want to store user-posted pastes. (default \"./code\")\n  -p, --port int          Port in which the service should listen on. (default 9999)\n\n```\n\nThese are command line arguments. You don't have to provide any of them to run the application. Default settings will be used in such case. See section below for more info.\n\n### Settings\n\n-------------------------------------------------------------------------------\n\n#### Output directory `-o`\n\nRelative or absolute path to the directory where you want to store user-posted pastes.\n\n```\ngo-fiche -o ./code\n```\n\n```\ngo-fiche -o /home/www/code/\n```\n\n__Default value:__ `./code`\n\n-------------------------------------------------------------------------------\n\n#### Domain `-d`\n\nThis will be used as a prefix for an output received by the client.\nValue will be prepended with `http`.\n\n```\ngo-fiche -d domain.com\n```\n\n```\ngo-fiche -d subdomain.domain.com\n```\n\n```\ngo-fiche -d subdomain.domain.com/some_directory\n```\n\n__Default value:__ `localhost`\n\n-------------------------------------------------------------------------------\n\n#### Slug size `-s`\n\nThis will force slugs to be of required length:\n\n```\ngo-fiche -s 6\n```\n\n__Output url with default value__: `http://localhost/xxxx`,\nwhere x is a randomized character\n\n__Output url with example value 6__: `http://localhost/xxxx`,\nwhere is a randomized character\n\n__Default value:__ 4\n\n-------------------------------------------------------------------------------\n\n#### HTTPS `-S`\n\nIf set, fiche returns url with https prefix instead of http\n\n```\ngo-fiche -S\n```\n\n__Output url with this parameter__: `https://localhost/xxxx`,\nwhere x is a randomized character\n\n-------------------------------------------------------------------------------\n\n#### Buffer size `-B`\n\nThis parameter defines size of the buffer used for getting data from the user.\nMaximum size (in bytes) of all input files is defined by this value.\n\n```\ngo-fiche -B 2048\n```\n\n__Default value:__ 32768\n\n-------------------------------------------------------------------------------\n\n#### Log file `-l`\n\n```\ngo-fiche -l /home/www/fiche-log.txt\n```\n\n__Default value:__ not set\n\n__WARNING:__ this file has to be user-writable","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneo-desktop%2Fgo-fiche","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneo-desktop%2Fgo-fiche","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneo-desktop%2Fgo-fiche/lists"}