{"id":23893329,"url":"https://github.com/sumpygump/ultraviolet-mvc","last_synced_at":"2026-06-19T17:33:01.005Z","repository":{"id":28586105,"uuid":"32104194","full_name":"sumpygump/ultraviolet-mvc","owner":"sumpygump","description":"A web framework written in C++","archived":false,"fork":false,"pushed_at":"2025-10-16T21:26:17.000Z","size":180,"stargazers_count":0,"open_issues_count":3,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-17T00:57:12.403Z","etag":null,"topics":[],"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/sumpygump.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2015-03-12T21:39:14.000Z","updated_at":"2025-10-15T23:18:16.000Z","dependencies_parsed_at":"2025-10-03T04:01:33.438Z","dependency_job_id":"982af3a9-3159-4b0d-9e63-a4a3e2efe6a0","html_url":"https://github.com/sumpygump/ultraviolet-mvc","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/sumpygump/ultraviolet-mvc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumpygump%2Fultraviolet-mvc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumpygump%2Fultraviolet-mvc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumpygump%2Fultraviolet-mvc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumpygump%2Fultraviolet-mvc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sumpygump","download_url":"https://codeload.github.com/sumpygump/ultraviolet-mvc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumpygump%2Fultraviolet-mvc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34541930,"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-19T02:00:06.005Z","response_time":61,"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":"2025-01-04T14:17:48.121Z","updated_at":"2026-06-19T17:33:01.000Z","avatar_url":"https://github.com/sumpygump.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ultraviolet MVC\n\nAn MVC Web Framework in C++\n\n**Note: This project is in development infancy**\n\n## Components\n\n### CGI Core\n\nThe CGI core is functionality that handles low-level components of a CGI\n(Common Gateway Interface) system, HTTP functionality and basic web application\nfeatures.\n\n  * Headers\n  * Environment\n  * Get Request method parsing\n  * Post Request method parsing\n  * File Uploads\n  * Cookies\n  * Sessions\n\n### View Layer\n\nThe view layer will be handled as nested partials with token replacement.\n\n### Framework Proper\n\n  * Controllers\n  * Models\n  * Views\n\n## Installation and Usage\n\nThis project uses CMake to generate the Makefile for building.\n\nRun the script `configure.sh` to run the cmake command to generate the Makefile\nin `build` subdirectory.\n\nThen run the script `build.sh` to build the project. It will create an\nexecutable `build/index` which will get moved to `web/index.cgi`. The `web`\ndirectory is the root for the web server.\n\nCurrently this script in bin/index.cpp shows an example of how to set up the\nenvironment, set cookies, store sessions, etc. but doesn't really do a whole\nlot as far as the framework goes. Eventually we plan to have a router so that\nall the application code will be handled through index.cgi.\n\n### Install on Nginx\n\nMake sure you install fcgiwrap. Can install on debian based linux machines with:\n\n```\napt -y install fcgiwrap\n```\n\nEdit file `/etc/nginx/fcgiwrap.conf`. Add something like this to it:\n```\nlocation /cgi-bin/ {\n    gzip off;\n    fastcgi_pass  unix:/var/run/fcgiwrap.socket;\n    include /etc/nginx/fastcgi_params;\n    fastcgi_param SCRIPT_FILENAME  $document_root$fastcgi_script_name;\n}\n```\n\nThen add an include into [server] section of a site definition, e.g.\n`/etc/nginx/sites-available/default`\n\n```\nserver {\n    ...\n    ...\n    include fcgiwrap.conf;\n}\n```\n\nEnable fcgiwrap with `systemctl enable fcgiwrap`\n\nRestart nginx with `systemctl reload nginx`\n\nMake sure the nginx server root is pointed to the `web` directory in the\nultraviolet directory, or else move the `web` directory to a path served by\nnginx. In a browser you should be able to go to the configured website at\n`index.cgi` and see the contents rendered by ultraviolet.\n\n### Install on Apache\n\nNote that the .htaccess file in the web directory should have the following directive:\n\n```\nOptions +ExecCGI\nAddHandler cgi-script .cgi\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsumpygump%2Fultraviolet-mvc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsumpygump%2Fultraviolet-mvc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsumpygump%2Fultraviolet-mvc/lists"}