{"id":19942661,"url":"https://github.com/erueri/ocithare","last_synced_at":"2025-05-03T15:32:16.674Z","repository":{"id":203586681,"uuid":"709945684","full_name":"EruEri/ocithare","owner":"EruEri","description":"A commandline password manager ","archived":false,"fork":false,"pushed_at":"2024-03-30T21:41:18.000Z","size":118,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-03-30T22:27:31.947Z","etag":null,"topics":["cli","password-generator","password-manager"],"latest_commit_sha":null,"homepage":"","language":"OCaml","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EruEri.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2023-10-25T17:49:51.000Z","updated_at":"2024-04-14T21:31:17.924Z","dependencies_parsed_at":"2024-03-22T20:24:09.247Z","dependency_job_id":"1d470946-ba0a-418c-adb4-e385f8e99a22","html_url":"https://github.com/EruEri/ocithare","commit_stats":null,"previous_names":["erueri/ocithare"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EruEri%2Focithare","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EruEri%2Focithare/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EruEri%2Focithare/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EruEri%2Focithare/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EruEri","download_url":"https://codeload.github.com/EruEri/ocithare/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252211139,"owners_count":21712338,"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":["cli","password-generator","password-manager"],"created_at":"2024-11-13T00:13:49.972Z","updated_at":"2025-05-03T15:32:16.398Z","avatar_url":"https://github.com/EruEri.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ocithare\n\nThe source code is now hosted on [Codeberg](https://codeberg.org/EruEri/ocithare)\n\n- ocithare is the rewrite of [cithare](https://git.nayuri.fr/EruEri/cithare), which is written in swift, in OCaml\n- ocithare is a command line password manager\n\n\n## How to build\nFirst you will need to install those opam packages.\n\n```\n$ opam install dune xdg cmdliner dune-configurator cryptokit yojson ppx_deriving_yojson\n```\n\n\nBy default the prefix install is `/usr/local`. So cithare binary is installed in `/usr/local/bin` and the man pages in `/usr/local/share/man`. \nBut the `make install` rule reacts to 3 variables:\n- `PREFIX`: \n  - default: `/usr/local`\n- `BINDIR`: \n    - default: `$(PREFIX)/bin`\n- `MANDIR`: \n    - default: `$(PREFIX)/share/man`\n\n```sh\n$ git clone https://codeberg.org/EruEri/ocithare\n$ cd ocithare\n$ make\n$ make install\n```\n\n## Initialization\n\nTo start with cithare, you first need to initialize it\n\n```\n$ cithare init --help\nNAME\n       cithare-init - Initialize cithare\n\nSYNOPSIS\n       cithare init [--force] [--import=\u003cFILE\u003e] [OPTION]…\n\nOPTIONS\n       -f, --force\n           Force the initialisation\n\n       -i \u003cFILE\u003e, --import=\u003cFILE\u003e\n           Initialize with a formatted password file\n```\n\n## Add\n\nTo add to a password, use the ```add``` subcommand\n\n```\n$ cithare add --help\nNAME\n       cithare-add - Add passwords to cithare\n\nSYNOPSIS\n       cithare add [OPTION]…\n\nDESCRIPTION\n       Add passwords to cithare\n\n       At least --website or --username must be present\n\n       If one of the following option is provided -c, -d, -e, -l, -s, -u,\n       cithare-add(1) will automatically generate a password and the options\n       to generate the password are the same than cithare-generate-password(1)\n\nOPTIONS\n       -c \u003cLENGTH\u003e, --count=\u003cLENGTH\u003e (absent=8)\n           Set the length of the generated password\n\n       -d  Include digit set [0-9]\n\n       -e \u003cChar\u003e, --exclude=\u003cChar\u003e\n           Exclude \u003cChar\u003e from character set\n\n       -l  Include lowercase letter set [a-z]\n\n       -m MAIL, --mail=MAIL\n           Chosen MAIL\n\n       -n NAME, --username=NAME, --name=NAME\n           Chosen NAME\n\n       -r, --replace\n           Replace a password\n\n       -s  Include all printable character that aren't a number or a letter\n\n       -u  Include uppercased letter set [A-Z]\n\n       -w WEBSITE, --website=WEBSITE (required)\n           Chosen WEBSITE\n```\n\n## Export\n\nTo select a password or export all the passwords into a file, use the ```export``` subcommand\n```\n$ cithare export --help\nNAME\n       cithare-export - Export passwords\n\nSYNOPSIS\n       cithare export [OPTION]…\n\nDESCRIPTION\n       Export passwords\n\nOPTIONS\n       -o OUTFILE\n           Export passwords as json into OUTFILE\n\n       -p, --paste\n           Write the password into the pasteboard\n\n       -r, --regex\n           Find the website by matching its name\n\n       -w WEBSITE, --website=WEBSITE\n           Specify the site\n```\n\n## Show\n\nTo see all your registered password, ```show``` subcommand\n\n```\n$ cithare show --help\nNAME\n       cithare-show - Display entries\n\nSYNOPSIS\n       cithare show [OPTION]… [\u003cCITHARE-CIPHER\u003e]\n\nDESCRIPTION\n       cithare-show(1) shows entry records in your terminal in a table format\n       and by default hides all the fields. Use -w, -u, -m and --password to\n       respectively display in plain text the website, username, mail and\n       password\n\n       cithare-show(1) can take a file as parameter. If provided,\n       cithare-show(1) will read the content of this file instead of the\n       usual .citharerc\n\nARGUMENTS\n       \u003cCITHARE-CIPHER\u003e\n           Use \u003cCITHARE-CIPHER\u003e instead\n\nOPTIONS\n       -m, --mail\n           Show plain mail\n\n       --password\n           Show plain passwords\n\n       -u, -n, --username\n           Show plain username\n\n       -w, --website\n           Show plain website\n```\n\n# Warning\n\nEven if your master password is never stored and all your password are encrypted, I don't know if the encryption method is neither good nor safe so use it at your own risk.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferueri%2Focithare","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferueri%2Focithare","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferueri%2Focithare/lists"}