{"id":25834636,"url":"https://github.com/nihilantropy/libft","last_synced_at":"2025-09-20T11:41:25.929Z","repository":{"id":254568904,"uuid":"846914667","full_name":"Nihilantropy/Libft","owner":"Nihilantropy","description":"Your very first functions library!","archived":false,"fork":false,"pushed_at":"2024-08-25T14:54:41.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-25T16:04:12.739Z","etag":null,"topics":["42school","c","coding","libft","library"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Nihilantropy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-24T10:06:17.000Z","updated_at":"2024-08-25T14:54:45.000Z","dependencies_parsed_at":"2024-08-24T12:27:58.623Z","dependency_job_id":"74a41661-f55b-4799-b15f-d20bb076b28a","html_url":"https://github.com/Nihilantropy/Libft","commit_stats":null,"previous_names":["nihilantropy/libft"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nihilantropy%2FLibft","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nihilantropy%2FLibft/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nihilantropy%2FLibft/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nihilantropy%2FLibft/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nihilantropy","download_url":"https://codeload.github.com/Nihilantropy/Libft/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241300492,"owners_count":19940489,"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":["42school","c","coding","libft","library"],"created_at":"2025-03-01T00:58:49.869Z","updated_at":"2025-09-20T11:41:20.870Z","avatar_url":"https://github.com/Nihilantropy.png","language":"C","readme":"# 📚 Libft: Your First C Library Adventure 🚀\r\n\r\nWelcome to **Libft**, your very first foray into the exhilarating world of C libraries! This project is like your personal toolbox, packed with fundamental functions that you'll find incredibly handy in your future C programming quests. Let’s dive into the details of this library and explore how it’ll become your best programming sidekick!\r\n\r\n## 🎯 Project Overview\r\n\r\n**Libft** is all about crafting a custom C library, packed with functions you'll be using across your projects. Whether you're dealing with strings, memory management, or even lists, Libft's got you covered. This is where you get to build your very own version of the standard library functions, plus a few extra goodies.\r\n\r\n## 🛠️ Key Features\r\n\r\n### Mandatory Functions\r\n\r\nYour library will include a set of core functions that mimic the standard C library functions. Think of it as your personal rendition of:\r\n- **String Handling**: `ft_strlen`, `ft_strchr`, `ft_strcmp`, and more.\r\n- **Memory Management**: `ft_memset`, `ft_memcpy`, `ft_calloc`.\r\n- **Character Classification**: `ft_isalpha`, `ft_isdigit`, `ft_toupper`.\r\n\r\n### Additional Functions\r\n\r\nExpand your library with functions that might not be in the standard library or that you might want to customize:\r\n- **String Manipulation**: `ft_substr`, `ft_strjoin`, `ft_strtrim`.\r\n- **List Operations**: With the bonus part, dive into linked lists with functions like `ft_lstnew`, `ft_lstadd_front`, `ft_lstmap`.\r\n\r\n### Bonus Part\r\n\r\nIf you're up for a challenge, try implementing the bonus functions to handle linked lists. These will help you manage dynamic data structures with ease. Implement functions like `ft_lstadd_back` and `ft_lstclear` to manipulate and manage your lists.\r\n\r\n## 🚀 Getting Started\r\n\r\n1. **Clone the Repo**:\r\n   ```bash\r\n   git clone https://github.com/Nihilantropy/Libft.git\r\n   ```\r\n\r\n2. **Navigate to your project**:\r\n   ```bash\r\n   cd libft\r\n   ```\r\n\r\n3. **Compile the library**\r\n\t```bash\r\n   make\r\n   ```\r\n4. **Use in your project**: Simply include **'libft.h'** in your projects and link against **'libft.a'**\r\n\r\n## 📄 Requirements\r\n\r\n- **Programming Language**: C\r\n- **Standards**: Must adhere to the Norm. All functions should be well-tested and free of memory leaks.\r\n- **Submission**: Ensure that your code is correctly placed in the repository and includes a Makefile for building the library.\r\n\r\n## 🌟 Why Libft?\r\n\r\nCreating your own library not only strengthens your understanding of C but also prepares you for real-world programming where you might need to develop or utilize libraries. Think of it as laying the foundation for your programming skills and having fun while doing it!\r\n\r\n## 🤔 FAQs\r\n\r\n**Q: Can I use external libraries?**  \r\nA: No, this project is all about writing your own code. Keep it pure and fun!\r\n\r\n**Q: What if I have problems with memory leaks?**  \r\nA: Make sure to use tools like Valgrind to track down and fix any memory leaks.\r\n\r\n**Q: How can I test my functions?**  \r\nA: Writing your own test programs can be incredibly helpful. However you cannot push it on your repository. The best thing you can do\r\n\tis to quickly learn how to use the main function and the compiler to test each function with lots of cases (check the edge cases carefully!)\r\n\tSee alse the libft tester on git hub!.\r\n\r\n## Leave a strar :star:!\r\n\r\nIf you'd like to see an in-depth analisy of this code, leave a star to let me know! :love_letter:\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnihilantropy%2Flibft","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnihilantropy%2Flibft","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnihilantropy%2Flibft/lists"}