{"id":19848738,"url":"https://github.com/etcwilde/header-generator","last_synced_at":"2026-06-10T12:31:14.038Z","repository":{"id":16230971,"uuid":"18978468","full_name":"etcwilde/header-generator","owner":"etcwilde","description":"Inserts heading information in a comment for source files using a user-defined template.","archived":false,"fork":false,"pushed_at":"2015-03-09T05:07:10.000Z","size":204,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T23:03:20.686Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/etcwilde.png","metadata":{"files":{"readme":"readme","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}},"created_at":"2014-04-21T01:38:15.000Z","updated_at":"2023-10-15T18:55:27.000Z","dependencies_parsed_at":"2022-07-21T06:47:24.059Z","dependency_job_id":null,"html_url":"https://github.com/etcwilde/header-generator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/etcwilde/header-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etcwilde%2Fheader-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etcwilde%2Fheader-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etcwilde%2Fheader-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etcwilde%2Fheader-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/etcwilde","download_url":"https://codeload.github.com/etcwilde/header-generator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etcwilde%2Fheader-generator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34153482,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-12T13:18:13.090Z","updated_at":"2026-06-10T12:31:14.017Z","avatar_url":"https://github.com/etcwilde.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Source Code Header Generator\n\nAuthor: Evan Wilde \t\t\t\t\u003cetcwilde@uvic.ca\u003e\nStart Date: April 6 2014\nVersion: 0.1\n\n=== Description ===\n\nThis program will apply user templates to create uniform header documentation \nfor each source file specified.\nIt uses the file extension to map to a given template file, \nso it can support any language.\n\n=== Program Usage ===\n\nusage: license.py [-h] [-u USERNAME] [-e EMAIL] [-t TEMPLATE_DIR] [--version] files [files ...]\n\t-h: Help\n\t-u: Specify a username for the copyright. This will require an email be passed as well.\n\t-e: Specify an email address for the user\n\t-t: Specify a directory containing the template files.\n\t--version: prints the version of the program\n\n\tfiles: The list of files that need to have a header appended to them.\n\n=== Template Keywords ===\n\nTemplate Keyword Definitions:\n\nTYPE\n\tDefines the type of file that this template header applies to. \n\tThis is case sensitive, so \"C\" and \"c\" are different file types.\n\n---START\n\tDefines the start of the template that will be written to the source file.\n\n---END\n\tDefines the end of the template that will be written to the source file.\n\n\u003cFILE\u003e\n\tThe name of the file with the file extensions.\n\n\u003cFILEPATH\u003e\n\tThe full file path to the file, with file extensions.\n\n\u003cFILENAME\u003e\n\tThe name of the file without file extensions.\n\n\u003cUSERNAME\u003e\n\tThe name of the user who created the file.\n\n\u003cEMAIL\u003e\n\tThe email of the user who created the file.\n\n\u003cDATE\u003e\n\tThe date the file was modified. \n\tIf the file has never been modified, this is the creation date.\n\n\u003cINC\u003e\n\tWhere the include statements will be placed, relative to the header\n\nINCTYPE\n\tHow external libraries are included in a source file.\n\te.g. for java it is \"INCTYPE:import\"\n\n\n=== Template samples ===\n------------------------------------------------------------------------------\nThis example template is for \"java\" files.\n------------------------------------------------------------------------------\n\nAUTH:Evan Wilde\nDATE:April 6 2014\nTYPE:java\nINCTYPE:import\n\n---START\n/* \u003cFILENAME\u003e\n * File: \u003cFILE\u003e\n * Auth: \u003cUSERNAME\u003e \u003cEMAIL\u003e\n * Date: \u003cDATE\u003e\n */\n---END\n\u003cINC\u003e\n\n------------------------------------------------------------------------------\nThis example template is for \".c\", \".cpp\", \".C\", and \".h\" files.\n------------------------------------------------------------------------------\n\nAUTH:Evan Wilde\nDATE:April 6 2014\nINCTYPE:#include\nTYPE:c\nTYPE:cpp\nTYPE:C\nTYPE:h\n\n\u003cINC\u003e\n---START\n/**\n * \u003cFILE\u003e\n * File: \u003cFILENAME\u003e\n * Auth: \u003cUSERNAME\u003e \u003cEMAIL\u003e\n * Date: \u003cDATE\u003e\n */\n---END\n\n------------------------------------------------------------------------------","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fetcwilde%2Fheader-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fetcwilde%2Fheader-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fetcwilde%2Fheader-generator/lists"}