All Projects → Neo-Oli → contact

Neo-Oli / contact

Licence: other
This is a command line application for contact management with pipes in mind using a file based storage.

Programming Languages

shell
77523 projects
Makefile
30231 projects

Projects that are alternatives of or similar to contact

tor-in-termux
proxy for telegram and twitter
Stars: ✭ 27 (+0%)
Mutual labels:  termux
java-in-termux
This script will install java (openjdk-11/8) in termux without root! Available for aarch64 or armv8, arm64, armhf, armv7l, arm or arm32 or armv7 or aarch32
Stars: ✭ 10 (-62.96%)
Mutual labels:  termux
Athena
A free and open source replacement for Google Assistant on Android devices, meant to integrate with the Sapphire Framework. It contains both speech-to-text and text-to-speech services. It does not require Google services or network connectivity
Stars: ✭ 73 (+170.37%)
Mutual labels:  termux
kaliLinuxNethunter-termux
Install Kali Linux Nethunter in termux - orginal by @Hax4us
Stars: ✭ 94 (+248.15%)
Mutual labels:  termux
Infect
Create you virus in termux!
Stars: ✭ 33 (+22.22%)
Mutual labels:  termux
thymeflow
Installer for Thymeflow, a personal knowledge management system.
Stars: ✭ 27 (+0%)
Mutual labels:  contacts
pipe-trait
Make it possible to chain regular functions
Stars: ✭ 22 (-18.52%)
Mutual labels:  pipe
dextop
Dextop - Linux-based distribution workstation on Android
Stars: ✭ 24 (-11.11%)
Mutual labels:  termux
Apktool-termux
Apktool 2.6.1 For Termux , Version : 2.6.1 , Maintained
Stars: ✭ 48 (+77.78%)
Mutual labels:  termux
Cracker-Tool
All in One CRACKER911181's Tool. This Tool For Hacking and Pentesting. 🎭
Stars: ✭ 181 (+570.37%)
Mutual labels:  termux
pipe here
An Elixir macro for easily piping arguments at any position.
Stars: ✭ 33 (+22.22%)
Mutual labels:  pipe
SwiftyContacts
A Swift library for Contacts framework.
Stars: ✭ 205 (+659.26%)
Mutual labels:  contacts
TORhunter
Designed to scan and exploit vulnerabilities within Tor hidden services. TORhunter allows most tools to work as normal while resolving .onion
Stars: ✭ 47 (+74.07%)
Mutual labels:  termux
parrot-in-termux
Installing Parrot Os With Termux
Stars: ✭ 47 (+74.07%)
Mutual labels:  termux
TermDroid
GUI Installer for various OS running on Termux
Stars: ✭ 18 (-33.33%)
Mutual labels:  termux
Get-instagram-users-info---Any-instagram-account
Dump instagram users info without API.
Stars: ✭ 345 (+1177.78%)
Mutual labels:  termux
crack-pro
NEW FACEBOOK COINING TOOL
Stars: ✭ 77 (+185.19%)
Mutual labels:  termux
observable ish
Observable state and events for browser and Flutter.
Stars: ✭ 26 (-3.7%)
Mutual labels:  pipe
pacman-for-termux
Special configured pacman for termux.
Stars: ✭ 24 (-11.11%)
Mutual labels:  termux
pv
Unix Pipe Viewer (pv) utility in Node.js
Stars: ✭ 20 (-25.93%)
Mutual labels:  pipe

Contact

This is a command line application for contact management with pipes in mind. It lets you choose a contact with FZF

Syntax:
    contact [COMMAND] [NAME] [PROPERTY]
    Commands:
    add: Add new contact
    edit: Edit existing contact
    delete: Delete contact
    get: Get property of contact (default)
    git: Interact with the git repositry directly
        Example: `contact git status`
        To enable the git repository features of contact you need to run:
            `contact git init`
        If you already have contacts you need to manually commit them:
            `contact git add --all;contact git commit -m "Commit all existing contacts"`
    help: Show this message
    mutt-aliases: Export as mutt aliases.
    rename-all: Rename all files to the correct name

Database

Each contact is saved into a separate file in ~/.contacts. You can save as many properties as you want. The only one that is required is name.

Example

name=Max Muster
[email protected]
mobile=0000000000
phone=0000000000
address=Beispielweg 12
city=Atlantis
zip=9990

Examples

contact get #this let's you choose a name and then the propery

contact get "Max Muster" "email" #get's you just the email address

contact add "Add a new contact. Opens an empty file with $EDITOR

contact mutt-aliases > ~/.mutt/aliases #export your contacts to the mutt alias file

# Usage in Pipes

mutt $(contact) #choose your email address

mutt $(contact "Max Muster" "email") #send email to Max Muster

termux-telephony-call $(contact) #call someone in you address book

termux-telephony-call $(contact "Max Muster" "mobile") #call Max Muster

Installation

Requirements

You need to install fzf and git (for git integration)

Installation

Copy the file contact to any directory in you $PATH. Make sure it's executable.

cp contact /bin/
chmod +x /bin/contact

Enable git integration

To enable git integration go to the ~/.contacts folder (create it if you've never run any contact command before and run git init all changes made with contact should now get added and commited automatically. If you have preexisting contacts you need to manually add them all to git and commit them.

git add *
git commit -m "Initial commit"

Installation in Termux

Contact developed on Termux with Termux in mind, but running it on termux requires an additional step.

pkg install git fzf
cp contact $PREFIX/bin/ #or another directory in your $PATH
chmod +x $PREFIX/bin/contact
termux-fix-shebang $PREFIX/bin/contact

Getting started

To create your first contact run contact add. This will open $EDITOR or vi. You can now add contact information. See the "Example" section for the syntax. name is required (as it gets used in the filename).

Migrate from abook

mkdir -p ~/.contacts
cd ~/.contacts
awk '{print $0 "["> "file" NR}' RS='['  ../.abook/addressbook
sed 's/\[//g' -i *
sed 's/^.*\]$//g' -i *
rm file1 file2 #remove blank files
contact rename-all
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].