{"id":25027701,"url":"https://github.com/ilbuso/notes","last_synced_at":"2025-03-30T17:25:04.444Z","repository":{"id":252822249,"uuid":"841545089","full_name":"ilBuso/notes","owner":"ilBuso","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-07T09:58:08.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-05T19:51:11.025Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/ilBuso.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":"2024-08-12T16:08:10.000Z","updated_at":"2024-09-07T09:58:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"4662c4a0-fcd1-4aa9-bf27-577593f34d1b","html_url":"https://github.com/ilBuso/notes","commit_stats":null,"previous_names":["ilbuso/notes"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilBuso%2Fnotes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilBuso%2Fnotes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilBuso%2Fnotes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilBuso%2Fnotes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ilBuso","download_url":"https://codeload.github.com/ilBuso/notes/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246352648,"owners_count":20763514,"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":[],"created_at":"2025-02-05T19:38:37.235Z","updated_at":"2025-03-30T17:25:04.413Z","avatar_url":"https://github.com/ilBuso.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Notes - by _ilBuso_\n\n# TOC\n- [TOC](#toc)\n- [Description](#description)\n- [Features](#features)\n- [Installation](#installation)\n- [Usage](#usage)\n    - [1. **Create a New Note**](#1-create-a-new-note)  \n    - [2. **Save a Note**](#2-save-a-note)\n- [Folder Structure](#folder-structure)\n- [Example](#example)\n- [License](#license)\n\n# Description\nThis repository contains a simple C-based command-line tool to organize notes using metadata such as tags and arguments. The program allows users to create new notes, save them, and organize them into specific folders based on tags and arguments. This tool helps you easily classify and store your notes, making it a lightweight and useful addition to your workflow.\n\n# Features\n- **Create Notes**: Create new notes using a predefined template.\n- **Save Notes**: Save the notes into specific folders organized by tags and arguments.\n- **Metadata Support**: Add metadata (tags, arguments) to your notes for better classification.\n\n# Installation\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/ilBuso/notes.git\n   ```\n\n2. Navigate into the project directory:\n   ```bash\n   cd notes\n   ```\n\n3. Compile the C code using `make`:\n   ```bash\n   make\n   ```\n\n4. Run the executable:\n   ```bash\n   ./notes [flags] [file_name]\n   ```\n\n# Usage\nThe program accepts two main flags:\n\n## 1. **Create a New Note**\n   - Command:\n     ```bash\n     ./notes -n [file_name]\n     ```\n   - This command creates a new note by using the `note-template.md` file located in the `~/.config/` directory. The note will be initialized with metadata fields such as `Tags`, `Arguments`, and `Date`.\n\n## 2. **Save a Note**\n   - Command:\n     ```bash\n     ./notes -s [file_name]\n     ```\n   - This command saves the note into appropriate directories based on the provided metadata (tags and arguments). It creates folders under `./note/tags/` and `./note/arguments/` as required and moves the note file to the correct location.\n\n# Folder Structure\n- `./note/tags/`: Contains directories for each tag. Each note with the corresponding tag is saved in the related folder.\n- `./note/arguments/`: Stores notes categorized by their arguments.\n- `./.config/note-template.md`: Template used when creating a new note.\n\n# Example\n1. Create a new note:\n   ```bash\n   ./notes -n my_note.md\n   ```\n\n2. Save the note with the appropriate tags and arguments:\n   ```bash\n   ./notes -s my_note.md\n   ```\n\n# License\n\nThis project is licensed under the MIT License. See the `LICENSE` file for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filbuso%2Fnotes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Filbuso%2Fnotes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filbuso%2Fnotes/lists"}