{"id":16703800,"url":"https://github.com/leeper/statapkg","last_synced_at":"2026-01-02T02:30:49.395Z","repository":{"id":36029296,"uuid":"40325536","full_name":"leeper/statapkg","owner":"leeper","description":"A repo experimenting with installation of Stata packages from GitHub","archived":false,"fork":false,"pushed_at":"2017-09-12T14:57:48.000Z","size":17,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"gh-pages","last_synced_at":"2025-01-21T03:08:10.934Z","etag":null,"topics":["stata","stata-command","stata-packages"],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/leeper.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}},"created_at":"2015-08-06T20:31:47.000Z","updated_at":"2019-07-15T19:51:56.000Z","dependencies_parsed_at":"2022-09-08T07:21:35.741Z","dependency_job_id":null,"html_url":"https://github.com/leeper/statapkg","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leeper%2Fstatapkg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leeper%2Fstatapkg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leeper%2Fstatapkg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leeper%2Fstatapkg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leeper","download_url":"https://codeload.github.com/leeper/statapkg/tar.gz/refs/heads/gh-pages","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243545491,"owners_count":20308340,"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":["stata","stata-command","stata-packages"],"created_at":"2024-10-12T19:09:41.074Z","updated_at":"2026-01-02T02:30:44.373Z","avatar_url":"https://github.com/leeper.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is a GitHub Pages repo showing how to install Stata packages directly from GitHub using the `net` command.\n\nUsing the `gh-pages` branch of a GitHub repository, you can create a simple web server from which to install Stata packages. (Note: My GitHub account is setup with a URL redirection to my personal domain (thomasleeper.com). If you don't have this configured, you should be able to access the Stata package directory using a standard github.io URL, such as `http://leeper.github.io/statpkg/`.)\n\nHere's a simple example:\n\n```\n* net FROM THE SITE\n. net from http://thomasleeper.com/statapkg/\n\n* SEE WHAT'S IN THE PACKAGE DIRECTORY\n. net\n------------------------------------------------------------------------------------------------------\nhttp://thomasleeper.com/statapkg/\nSome kind of package title and maybe your name\n------------------------------------------------------------------------------------------------------\n\nPACKAGES you could -net describe-:\n    helloworld        Package description\n    goodbyeworld      Package description\n------------------------------------------------------------------------------------------------------\n\n* DESCRIBE A PACKAGE FROM THE REPO\n. net describe helloworld\n------------------------------------------------------------------------------------------------------\npackage helloworld from http://thomasleeper.com/statapkg\n------------------------------------------------------------------------------------------------------\n\nTITLE\n      helloworld | Package Description\n\nDESCRIPTION/AUTHOR(S)\n      Distribution-date: 2014-05-29\n      Author Name (Author Email)\n      More details\n\nINSTALLATION FILES                           (type net install helloworld)\n      helloworld/helloworld.ado\n      helloworld/helloworld.hlp\n------------------------------------------------------------------------------------------------------\n\n\n* INSTALL THE helloworld PACKAGE FROM THE SITE\n. net install helloworld\nchecking helloworld consistency and verifying not already installed...\ninstalling into c:\\ado\\plus\\...\ninstallation complete.\n\n* RUN THE COMMAND\n. helloworld\nhello world!\n```\n\nAll of the packages in the directory need their own `pkgname.pkg` file at the top-level of the repo. They also need to be listed in `stata.toc` so that the `net` command can see them. Each package is then listed in its own directory, with a separate .ado and .hlp file. Other files could also be listed in there, such as data file or whatever.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleeper%2Fstatapkg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleeper%2Fstatapkg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleeper%2Fstatapkg/lists"}