{"id":15729574,"url":"https://github.com/zaida04/116-uv","last_synced_at":"2025-03-31T02:34:23.913Z","repository":{"id":248927673,"uuid":"767864931","full_name":"zaida04/116-uv","owner":"zaida04","description":"Tool for viewing compilation info hidden in autolab. Built for TAs and Professors.","archived":false,"fork":false,"pushed_at":"2024-09-17T17:16:16.000Z","size":150,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-12T22:05:44.869Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://ta.trc.lol","language":"TypeScript","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/zaida04.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-03-06T03:07:42.000Z","updated_at":"2024-09-17T17:16:20.000Z","dependencies_parsed_at":"2024-09-17T21:14:56.070Z","dependency_job_id":null,"html_url":"https://github.com/zaida04/116-uv","commit_stats":{"total_commits":58,"total_committers":1,"mean_commits":58.0,"dds":0.0,"last_synced_commit":"22df2cf31b30f17606b64a609ba0695157ee51b2"},"previous_names":["zaida04/116-uv"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaida04%2F116-uv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaida04%2F116-uv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaida04%2F116-uv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaida04%2F116-uv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zaida04","download_url":"https://codeload.github.com/zaida04/116-uv/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237438326,"owners_count":19310079,"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":[],"created_at":"2024-10-03T23:21:56.930Z","updated_at":"2025-02-06T07:40:34.828Z","avatar_url":"https://github.com/zaida04.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 116 autolab output uploader\n\nThis is used for `cse116` to see compilation err on student submissions without leaking the output to the students.\n\n## For Jesse\n1. Clone this repo `git clone https://github.com/zaida04/116-uv.git`\n2. `cd 116-uv`\n3. docker compose up --build\n\n(And I guess figure out how you want to do the reverse proxy? I use Caddy at [reverse_proxy](./reverse_proxy/Caddyfile))\n\n## Deploying API\n1. Install [bun](https://bun.sh) \u0026 [Node.JS](https://nodejs.org)\n2. Install pm2 `bun install --global pm2`\n3. Clone this repo `git clone https://github.com/zaida04/116-uv.git`\n4. `cd 116-uv/api`\n5. Install dependencies `bun install`\n6. Run database migrations `bun run migrate:run`\n6. Deploy `pm2 start`\n  \nYou can set a port by using a `.env` file in the `api/` folder with `PORT`.  \nYou can test it by doing `curl http://localhost:3000`.  \nYou can view the database at `sqlite.db`\n\n## Deploying Reverse Proxy\n1. Install [Caddy](https://caddyserver.com)\n2. Assume you've already cloned this repo.\n3. `cd 116-uv/reverse_proxy`\n4. `sudo caddy start`\n  \nYou can test it by doing `curl http://localhost`. If you want to use the subdomain, you'll need to set up a DNS record to point to your server. \n  \nWe use cloudflare, so we set up a `A` record to point to our server for the `ta-api.trc.lol` subdomain. Make sure the cloud is set to orange (that means cloudflare is proxying our records). Make sure your SSL setting is set to `Full (Strictest)`.  \n\n## Deploying Frontend\n\nI'm using vercel, so it's as simple as making a project and deploying the frontend dir.\n\n\n# License\n\nCreated by Zaid, usable/modifiable by any instructor/TA staff in cse116 at SUNY University at Buffalo. Anyone else, nope.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaida04%2F116-uv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzaida04%2F116-uv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaida04%2F116-uv/lists"}