{"id":15966676,"url":"https://github.com/serhiistets/fed","last_synced_at":"2025-04-04T13:27:14.454Z","repository":{"id":92801602,"uuid":"563013483","full_name":"SerhiiStets/fed","owner":"SerhiiStets","description":"Command line tool for saving and accessing your favorite folders via the terminal","archived":false,"fork":false,"pushed_at":"2023-01-20T18:19:17.000Z","size":51,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-09T23:17:15.000Z","etag":null,"topics":["c","cli","command-line-tool"],"latest_commit_sha":null,"homepage":"","language":"C","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/SerhiiStets.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":"2022-11-07T18:19:11.000Z","updated_at":"2023-01-12T18:32:59.000Z","dependencies_parsed_at":"2023-04-09T03:47:08.607Z","dependency_job_id":null,"html_url":"https://github.com/SerhiiStets/fed","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SerhiiStets%2Ffed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SerhiiStets%2Ffed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SerhiiStets%2Ffed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SerhiiStets%2Ffed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SerhiiStets","download_url":"https://codeload.github.com/SerhiiStets/fed/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247184118,"owners_count":20897716,"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":["c","cli","command-line-tool"],"created_at":"2024-10-07T18:03:08.932Z","updated_at":"2025-04-04T13:27:14.434Z","avatar_url":"https://github.com/SerhiiStets.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **FED**\n\n_**fed**_ is a command line tool for saving and accessing your favourite folders via the terminal.\n\n## **Usage**\n\nThere are two options to work with folders: via list numbers and aliases.\n\n### **add**\n\nAdd directories that you like or use '.' to add the current directory to your favourites.\nUse **-a [alias] [directory]** to add a folder with an alias to access it later.\n\n```shell\n$ fed add .\n    E:\\Scripts\\fed directory is added to favourites.\n\n$ fed add /home/\n    fed: /home/ is already in favourites.\n\n$ fed add -a python_projects E:\\Python\n    E:\\Python directory is added to favourites.\n\n$ fed add C: E: C:\\Users\n    fed: C: is already in favourites.\n    E: directory is added to favourites.\n    C:\\Users directory is added to favourites.\n```\n\n### **ls**\n\nList all your favourite directories or the number you like.\nAliases are shown in [] braces.\n\n```shell\n$ fed ls\n    fed: Favourite folders:\n\n    1. C:\n    2. E:\\Scripts\\fed\n    3. E:\n    4. [python_projects] E:\\Python\n\n    Use the number with fed \u003ccd\u003e command to cd into the selected directory\n\n$ fed ls 2\n    fed: Favourite folders:\n\n    1. C:\n    2. E:\\Scripts\\fed\n\n    Use the number with fed \u003ccd\u003e command to cd into the selected directory\n```\n\n### **cd**\n\nSince it is impossible to move from the directory the program was run at, fed copies the commands to the user's clipboard. That way, using Ctrl + V a user can then navigate to the favourite folder without typing the whole root. Use the number in the list of favourite folders or folder alias for quick access to 'cd' command.\n\n-   For Windows, moving between drives requires additional command like 'C: ' before cd\n\n```shell\n$ fed cd 2\n    fed: /home/ is your directory.\n\n    The command \u003ccd /home/\u003e is copied to your clipboard.\n    Use Ctr+V to get the command.\n\n$ cd /home/\n\n$ fed cd 1\n    fed: C:\\Users is your directory.\n\n    The command \u003cC: \u0026\u0026 cd C:\\Users\u003e is copied to your clipboard.\n    Use Ctr+V to get the command.\n\n$ C: \u0026\u0026 cd C:\\Users\n\n$ fed cd python_projects\n    fed: E:\\Desktop is your directory.\n\n    The command \u003cE: \u0026\u0026 cd E:\\Python\u003e is copied to your clipboard.\n    Use Ctr+V to get the command.\n\n$ E: \u0026\u0026 cd E:\\Python\n```\n\n### **clean**\n\nRemoves the folder from favourites. Use 'all' for full cleanup and '.' to remove the current folder.\nThe folder can also be cleaned up by the number it is on the list or using the given folder alias.\n\n```shell\n$ fed clean all\n    fed: favourite folders are now empty.\n\n$ fed clean .\n    fed: The directory E:\\Scripts\\fed is deleted from favourites.\n\n$ fed clean /home/Desktop /home/fed\n    fed: The directory /home/Desktop is deleted from favourites.\n    fed: The directory /home/fed is not in favourites.\n\n$ fed clean 1\n    fed: The directory C: is deleted from favourites.\n\n$ fed clean python_projects\n    fed: The directory [python_projects] E:\\Desktop is deleted from favourites.\n```\n\n### **open**\n\nOpens given folder in explorer. Can take either alias or a number in the favourites list.\n\n```shell\n$ fed open nvim \n    fed: openning C:\\Users\\admin\\AppData\\Local\\nvim directory.\n\n$ fed open 1\n    fed: openning C: directory.\n```\n\n### **rename**\n\nRenames aliases for favourite directories.\n```shell\n$ fed rename fed fed_project\n    fed: The directory    E:\\Programming\\fed alias is changed\n    fed -\u003e fed_project\n\n$ fed rename git github\n    fed: The directory git is not in favourites.\n```\n\n### **help**\n\nReceive info for all available commands.\n\n```shell\n$ fed help\n\n$ fed -h\n\n$ fed --help\n```\n\n## **License**\n\n[MIT License](https://choosealicense.com/licenses/mit/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserhiistets%2Ffed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fserhiistets%2Ffed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserhiistets%2Ffed/lists"}