{"id":20726397,"url":"https://github.com/moralcode/advancementurlfiller","last_synced_at":"2026-03-19T17:14:02.397Z","repository":{"id":259612463,"uuid":"879045134","full_name":"MoralCode/AdvancementURLFiller","owner":"MoralCode","description":"A small utility webpage for assembling giving URLS for RIT Advancement","archived":false,"fork":false,"pushed_at":"2024-12-09T17:25:12.000Z","size":90,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-07T21:51:15.455Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://rit.edu/ROARDayURLCreator","language":"HTML","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/MoralCode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-10-26T20:13:08.000Z","updated_at":"2024-12-09T17:25:16.000Z","dependencies_parsed_at":"2024-10-26T22:27:52.375Z","dependency_job_id":"dcaa7ade-736c-4124-b2e1-fa04f0c3433d","html_url":"https://github.com/MoralCode/AdvancementURLFiller","commit_stats":null,"previous_names":["moralcode/advancementurlfiller"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MoralCode/AdvancementURLFiller","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoralCode%2FAdvancementURLFiller","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoralCode%2FAdvancementURLFiller/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoralCode%2FAdvancementURLFiller/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoralCode%2FAdvancementURLFiller/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MoralCode","download_url":"https://codeload.github.com/MoralCode/AdvancementURLFiller/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoralCode%2FAdvancementURLFiller/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30713418,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-19T05:29:31.190Z","status":"ssl_error","status_checked_at":"2026-03-19T05:28:25.821Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2024-11-17T04:24:54.761Z","updated_at":"2026-03-19T17:14:02.361Z","avatar_url":"https://github.com/MoralCode.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AdvancementURLFiller\n\nThis project is a simple webpage that fetches data from a Google Sheets document, displays the data in a dropdown menu, and generates a URL based on the selected dropdown value.\n\nThe site was built to help simplify the formerly-manual process for fundraising ambassadors to easily build links both to firect donors to give to specific groups, as well as to associate those gifts with their fundraising efforts.\n\n\n## Features\n\n- Fetches data from a specified Google Sheets document using the Sheets API.\n- Populates a dropdown menu with values from the sheet.\n- Generates a URL based on the selected dropdown value.\n- Includes unit tests to ensure critical parts of the code are correct\n\n\n**Note**: Currently the code has a few things that are still hard-coded for one particular usecase. It may require some additional modifications to use for other purposes\n\n\n\n## Getting Started with development\n\nTo get started, follow the steps below to set up and run the project locally.\n\n### Prerequisites\n\n- **Google Sheets API Key**: To fetch data from Google Sheets, you'll need your own API key as the one on the production site is locked to certain domains.\n  - To get an API key youll need a project on google cloud.\n  - Enable the **Google Sheets API** in the Google Cloud Console.\n  - Create an API key Credential (you do not need to set up OAuth).\n  - (Optional, STRONGLY recommended) Limit your API key to only the sheets API and only the domains you plan to use.\n  - Follow [Google's Documentation](https://developers.google.com/workspace/guides/get-started) for more information\n- A basic local server setup (for example, Python's `http.server` module) is recommended to avoid CORS issues while testing locally.\n\n### Project Setup\n\n1. Clone the Repository\n\n2. Edit API key and base URL\n   - Open `main.mjs`.\n   - Replace the values on and around the line that starts with `export function buildURL(` with ones appropriate for your usecase. See the [Sheets API documentation](https://developers.google.com/sheets/api/guides/concepts) for more details.\n     - the google sheet ID is the long random-looking value in the URL when you visit the google sheet\n     - the range is the tab name and cell range\n     - the key is your API key\n\n3. **Run Locally**:\n   - To run the app locally with a simple HTTP server Using Python 3:\n\t```bash\n\tpython -m http.server 8000\n\t```\n\tThen, navigate to `http://localhost:8000` in your browser\n\n\n## Running Tests\n\nThis project uses [Jasmine](https://jasmine.github.io/) for unit testing.\n\nTo set up testing, run `npm install`\n\nIf your API key is restricted to a certain domain, you may need to create a new one for testing.\n\nTo run the tests, run: `TEST_KEY=\"[YOUR TEST KEY]\" npm test`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoralcode%2Fadvancementurlfiller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoralcode%2Fadvancementurlfiller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoralcode%2Fadvancementurlfiller/lists"}