{"id":41191968,"url":"https://github.com/nosoop/stocksoup","last_synced_at":"2026-01-22T20:25:22.615Z","repository":{"id":45136234,"uuid":"54061683","full_name":"nosoop/stocksoup","owner":"nosoop","description":"A collection of SourceMod stock functions.","archived":false,"fork":false,"pushed_at":"2024-02-04T02:28:52.000Z","size":183,"stargazers_count":30,"open_issues_count":1,"forks_count":12,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-02-04T03:25:17.120Z","etag":null,"topics":["sourcemod","sourcemod-lib"],"latest_commit_sha":null,"homepage":"","language":"SourcePawn","has_issues":false,"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/nosoop.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}},"created_at":"2016-03-16T19:46:26.000Z","updated_at":"2024-02-04T03:25:17.733Z","dependencies_parsed_at":"2023-01-22T06:02:27.489Z","dependency_job_id":"d88bbd6c-dc08-440a-95ef-827ccce357fc","html_url":"https://github.com/nosoop/stocksoup","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/nosoop/stocksoup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nosoop%2Fstocksoup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nosoop%2Fstocksoup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nosoop%2Fstocksoup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nosoop%2Fstocksoup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nosoop","download_url":"https://codeload.github.com/nosoop/stocksoup/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nosoop%2Fstocksoup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28670373,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T19:36:09.361Z","status":"ssl_error","status_checked_at":"2026-01-22T19:36:05.567Z","response_time":144,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["sourcemod","sourcemod-lib"],"created_at":"2026-01-22T20:25:21.993Z","updated_at":"2026-01-22T20:25:22.585Z","avatar_url":"https://github.com/nosoop.png","language":"SourcePawn","funding_links":[],"categories":[],"sub_categories":[],"readme":"# stocksoup\nA mishmashed collection of various SourceMod stock functions that I've written for use in my projects.\nMight be useful to you at some point as well.\n\n## Usage (simplified)\nFor your sanity's sake, just copy the stocks that you need into your own project.\nThis repository is a moving target that gets changed fairly often; if you just sync this repository to your main scripting includes, you ~~may~~ will have a bad time if any stock functions change.\n\n## Usage (traditional)\nInstall stocksoup as a git submodule.  The directory structure is set up this way with includes at the root so the repository has its own nice little folder to sit in.\n\nUsing this as a submodule means effectively pinning the dependencies; you and possible contributors won't be tripped up by function and include renames whenever I feel like doing them.\nOf course, you'll have to be on a git-compatible system for your repository in the first place.\n\n1.  Add the repository as a submodule (as an include relative to your `scripting` directory).\n\n        $ git submodule add https://github.com/nosoop/stocksoup scripting/include/stocksoup\n\n2.  If not already, make sure your SourcePawn compiler looks into the custom include directory.\n\n        spcomp \"scripting/in_progress_file.sp\" -i\"scripting/include\"\n\n3.  Include a specific file and use a stock.\n\n        #include \u003cstocksoup/client\u003e\n        \n        public void Example_OnPlayerSpawn(int client) {\n                SetClientScreenOverlay(client, \"combine_binocoverlay\");\n        }\n\n4.  For collaboration, you should know how to recursively initialize a repository:\n\n        $ git clone --recurse-submodules $YOUR_GIT_REPOSITORY\n\n## Updates (as a submodule)\n1.  Pull in updates for all the submodules.\n\n        $ git submodule update --remote --checkout\n\n2.  Make sure your project actually builds; fix things as necessary.  No stability guaranteed.\n\n3.  Commit as usual.\n\n## Releases\n\nIf I remember to do so, I may publish a tag on a commit prior to a major breaking change to mark\ncommits that projects should be able to move up to without significant problems.\n\nI consider a major breaking change as one that:\n\n- Removes a function, or an argument within a function (keyword changes are not major).\n- Moves functions between filenames in a way that referencing the old include doesn't work.\n\n## Directory structure\nPretty simple:\n\n- Base directory has stocks applicable to all games.\n    - The `sdkports/` directory contains ports of select Source SDK functions.\n- Other subdirectories have stocks applicable to a specific mod.  Mainly TF2, since that's the only game I write for.  Any stock functions for a specific game should be prefixed with a game abbreviation, similar to SourceMod functions.\n\n## Questions and Answers\n\n**Is the name of the library a reference to Weird Al's [*Talk Soup*][yt-talksoup]?**\nYes.  Yes it is.\n\n[yt-talksoup]: https://youtu.be/555ndsDM2qo\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnosoop%2Fstocksoup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnosoop%2Fstocksoup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnosoop%2Fstocksoup/lists"}