{"id":13412640,"url":"https://github.com/hackupc/hackfromhome-live","last_synced_at":"2025-03-14T18:31:53.860Z","repository":{"id":87559189,"uuid":"247347311","full_name":"hackupc/hackfromhome-live","owner":"hackupc","description":"⏳ Live page with the schedule of HackFromHome","archived":false,"fork":false,"pushed_at":"2020-04-18T11:04:07.000Z","size":3127,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-07-31T20:51:15.110Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://livehfh.hackersatupc.org/","language":"Vue","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/hackupc.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-14T20:19:19.000Z","updated_at":"2020-06-05T22:24:50.000Z","dependencies_parsed_at":"2023-03-13T18:44:04.719Z","dependency_job_id":null,"html_url":"https://github.com/hackupc/hackfromhome-live","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/hackupc%2Fhackfromhome-live","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackupc%2Fhackfromhome-live/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackupc%2Fhackfromhome-live/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackupc%2Fhackfromhome-live/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hackupc","download_url":"https://codeload.github.com/hackupc/hackfromhome-live/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243625154,"owners_count":20321242,"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-07-30T20:01:27.154Z","updated_at":"2025-03-14T18:31:53.851Z","avatar_url":"https://github.com/hackupc.png","language":"Vue","funding_links":[],"categories":["Vue"],"sub_categories":[],"readme":"# HackFromHome Live\n\n[![Netlify Status](https://api.netlify.com/api/v1/badges/e2d08ff4-85b0-4ae8-af38-39c4653d8aee/deploy-status)](https://app.netlify.com/sites/hackfromhome-live/deploys)\n[![Build Status](https://travis-ci.com/hackupc/hackfromhome-live.svg?branch=master)](https://travis-ci.com/hackupc/hackfromhome-live)\n\n![HackUPC live preview](public/assets/img/ogimage.png)\n\nHi! This is the code of the HackFromHome live page, it was changed for all the rounds!\n\n## Setup\n\nInstall the latest version Node.js (at least v12.6.0). [Find how here](https://nodejs.org/en/download/package-manager/).\n\n```sh\nsudo npm cache clean -f\nsudo npm install -g n\nsudo n latest\n```\n\n```sh\ngit clone git@github.com:hackupc/hackupc-live.git\ncd hackupc-live\nnpm install\n```\n\n## Develop\n\nUse `npm run serve` to compile and serve the dist directory in real time. Then view the website at [https://localhost:8080](https://localhost:8080)\n\n**Install linters** extensions in your favorite editor. In VS Code install: `HTMLHint`, `TSLint`, `markdownlint`, `StandardJS`, `stylelint` and `npm`. In other editors they may have similar names.\nOr use `npm run lint` to run linters manually from the console to check errors.\n\nWe use linters to ensure code quality, please fix all the errors.\n\nBecause of cahe busting you may have to clean the cache when you reload to see changes. In Chrome you can do `Ctrl` + `F5`.\n\n**TLDR;**\n\nRun this:\n\n```sh\nnpm run serve\n```\n\nView the website at [https://localhost:8080](https://localhost:8080)\n\n## General info\n\nThe html and .sass files are a bit outdated, so you may want to refactor them to CSS :D .\n\n## Deploy\n\n### Deploy to localhost\n\nUse `npm run build` to compile all dist directory.\nThe files will be compiled to `/dist/`. Notice that the routes change, so when referencing files check where they are in [/dist/](/dist/]).\n\nUse `serve -s dist` to just serve `/dist` at [https://localhost:5000](https://localhost:5000).\n\n**TLDR;**\n\nRun this:\n\n```sh\nnpm run build\nserve -s dist\n```\n\nView the website at [https://localhost:5000](https://localhost:5000).\n\n### Deploy to production\n\n**Push to master**. [Netlify](https://app.netlify.com/sites/hackfromhome-live) will build and deploy automatically.\n\nIf you push something that doesn't build, don't worry, it won't be published.\n\n## Live\n\nFeatures included\n\n- Optional subscription to events - 5 minutes before notifications\n- Schedule live reload\n- Fancy schedule with time padding\n- Normal tabular schedule\n- Countdown\n- Full-screen mode by pressing `p`\n\n### Config\n\nSome parameters (offsets, timeouts, defaults) can be changed in `src/config.js`. Keep in mind that some values are just constants and should not be changed.\nHere you can edit the `FAKE_DATE` parameter to test funtionalities.\n\n## Edit content\n\n### Change theme\n\n\u003e TODO: fill this part\n\n### Update schedule\n\n\u003e TODO: polish this part\n\nClients will poll constantly the schedule.json file. To update the schedule just change the file and deploy.  \nNew versions of the schedule will be loaded only if 'version' is different.\n\n#### Schedule file\n\n- `id` can be whatever you want, but all ids must be different  \n- When writing hours, prepend zeroes: Nice: 01:00; Not-so-nice: 1:00.  \n- Events should be ordered by starting hour  \n- `baseTimeOffset` should be the same output as executing (new Date()).getTimezoneOffset() in a machine with local time. (UTC - localtime in minutes)  \n- `dates` are DD/MM/YYYY format  \n\n\u003e If an event doesn't have endHour, then will show only startHour and it will finish at the same time as it starts.  \nUseful to specify events that don't have concept of length or that span through more than one day (\"Event start\", \"Event end\")\n\n## Support\n\nIf you need help understanding something of this repo you can ask the previous developer. The ones that made this version of live is:\n\n- Carlota Catot Bragós: Slack `@Carlota` [carlotacb.dev](https://www.carlotacb.dev/)\n\nThis side is a fork from 2019 HackUPC live that was developed by:\n\n- Maurici Abad Gutierrez: Slack `@mauriciabad` [mauriciabad.com](https://mauriciabad.com/)\n- Bernat Torres: Slack `@bernatixer` [bernattorres.com](https://bernattorres.com/)\n\n## License\n\nMIT © Hackers@UPC\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhackupc%2Fhackfromhome-live","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhackupc%2Fhackfromhome-live","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhackupc%2Fhackfromhome-live/lists"}