{"id":17437205,"url":"https://github.com/simsys/lxpservice-rs","last_synced_at":"2025-09-21T00:49:05.867Z","repository":{"id":93510710,"uuid":"320293570","full_name":"Simsys/lxpservice-rs","owner":"Simsys","description":null,"archived":false,"fork":false,"pushed_at":"2021-11-03T16:03:27.000Z","size":68,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T01:53:54.327Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/Simsys.png","metadata":{"files":{"readme":"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":"2020-12-10T14:16:09.000Z","updated_at":"2021-11-03T16:03:30.000Z","dependencies_parsed_at":"2023-04-23T12:03:11.593Z","dependency_job_id":null,"html_url":"https://github.com/Simsys/lxpservice-rs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Simsys/lxpservice-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Simsys%2Flxpservice-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Simsys%2Flxpservice-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Simsys%2Flxpservice-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Simsys%2Flxpservice-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Simsys","download_url":"https://codeload.github.com/Simsys/lxpservice-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Simsys%2Flxpservice-rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276179886,"owners_count":25598571,"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","status":"online","status_checked_at":"2025-09-20T02:00:10.207Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-10-17T11:07:02.063Z","updated_at":"2025-09-21T00:49:05.835Z","avatar_url":"https://github.com/Simsys.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"lxpservice-rs - a command line tool to operate LetterXpress web service.\n=\n\nLetterxpress (https://www.letterxpress.de/) provides a service using a web API to easily use printing services. PDF documents can be transferred to be printed and sent by Letterxpress. Not only is this convenient, but it is also offered at an amazingly low price.\n\nThe command line tool lxp makes it possible to use this web service with a command line tool. This tool is written in rust and therefore platform neutral, if it has only been tested under Linux so far.\n\nThe possibilities of the tool are presented below.\n\nGetting help\n````\n$ lxp --help\nlxp 0.1\nWinfried Simon \u003cwinfried.simon@gmail.com\u003e\nCommand line tool to manage LetterXpress print jobs\n\nUSAGE:\n    lxp [FLAGS] [SUBCOMMAND]\n\nFLAGS:\n    -h, --help       Prints help information\n    -V, --version    Prints version information\n    -v, --verbose    Be communicative\n\nSUBCOMMANDS:\n    help       Prints this message or the help of the given subcommand(s)\n    invoice    Handle invoices\n    job        Print job handling\n    profile    Create and maintain profiles\n    set        Set print job(s) on server\n\n````\nGetting help to subcommand\n-\n````\n$ lxp profile --help\nlxp-profile \nCreate and maintain profiles\n\nUSAGE:\n    lxp profile [FLAGS] [ARGS]\n\nFLAGS:\n    -d, --delete        Delete a single profile\n    -a, --delete_all    Delete all profiles\n    -h, --help          Prints help information\n    -n, --new           Create and select a new profile\n    -o, --overview      Show all profiles\n    -s, --switch        Switch to profile\n    -V, --version       Prints version information\n\nARGS:\n    \u003cprofile\u003e    Name of user profile\n    \u003cuser\u003e       User name of print service\n    \u003curl\u003e        Url to print service\n    \u003capi_key\u003e    Api key of print service\n\nA profile has a name and contains all information for accessing the web\nservice. With the subcommand profile they can be displayed, created and\ndeleted. You can also switch between them. \n````\nThis example shows the help text for the sub command profile. There are also help screens for the sub commands invoice, job and set available.\n\nUser profile handling\n- \n\nAdde a new profile to the profile registry.\n````\n$ lxp profile -n \u003cprofile_name\u003e \u003cuser_name\u003e \u003curl api_key\u003e\n````\n\nDelete a user profile\n````\n$ lxp profile -d \u003cprofile_name\u003e\n````\n\nDelete all user profiles\n````\n$ lxp profile -a\n````\n\nSwitch to a given profile\n````\n$ lxp profile -s \u003cprofile_name\u003e\n````\n\nShow all profiles\n````\n$ lxp profile -o\nActive profile 'profile1'\n\n\u003cprofile\u003e       \u003cuser\u003e              \u003curl\u003e\nprofile1        user1               url1\nprofile2        user2               url2\nprofile3        user3               url3\n````\n\nShow and download invoices\n-\nDownload current invoice\n````\n$ lxp invoice -c\nWriting file '2020-10-31_profile-invoice.pdf'\n````\n\nShow list of invoices\n````\n$ lxp invoice -l\n\nDate           Id     Cost\n2020-10-31  30711 149.98 €\n2019-01-31  11328  27.12 €\n2019-09-30  16844 107.27 €\n````\n\nShow and delete print jobs\n-\nList all print jobs on server\n````\n$ lxp job -o\nctive profile 'profile1'\nCredit balance 98.14 €\n\nThese letters will be sent soon:\n\nDate           Id Pgs Col Dpx Shp Cost Filename                           \n2020-12-10  57451   1   4 sim nat 0.93 letter1.pdf                        \n2020-12-10  57452   1   4 sim nat 0.93 letter2.pdf                        \nThe sum of the costs is 1.86 €\n\nThese letters are in the queue (credit exhausted):\n\u003cNo data\u003e\n\nThese letters are sent in the last 7 days:\n\u003cNo data\u003e\n````\nDelete print job by id\n````\n$ lxp job -d -i 57451\n  Job id 57451  deleted\n````\n\nDelete all print jobs\n````\n$ lxp job -d -a\n  Job id 57452 letter1.pdf deleted\n  Job id 57454 letter2.pdf deleted\n  Job id 57453 letter3.pdf deleted\n3 job(s) deleted\n````\nUpload print jobs to the web service\n-\nUpload a single pdf file\n````\n$ lxp set letter1.pdf \n  Job letter1.pdf sent\n````\nUpload all pdf files of a directory\n````\n$ lxp set pdf_dir\n  Job pdf_dir/letter3.pdf sent\n  Job pdf_dir/letter5.pdf sent\n  Job pdf_dir/letter4.pdf sent\n  Job pdf_dir/letter2.pdf sent\n  Job pdf_dir/letter1.pdf sent\n````\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimsys%2Flxpservice-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimsys%2Flxpservice-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimsys%2Flxpservice-rs/lists"}