{"id":18298594,"url":"https://github.com/admodev/web-personal","last_synced_at":"2025-04-09T09:17:36.211Z","repository":{"id":41615675,"uuid":"274795113","full_name":"admodev/web-personal","owner":"admodev","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-25T00:43:55.000Z","size":3641,"stargazers_count":1,"open_issues_count":18,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T12:06:42.381Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/admodev.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}},"created_at":"2020-06-25T00:13:45.000Z","updated_at":"2023-03-07T05:51:54.000Z","dependencies_parsed_at":"2023-02-14T03:15:40.886Z","dependency_job_id":null,"html_url":"https://github.com/admodev/web-personal","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/admodev%2Fweb-personal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/admodev%2Fweb-personal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/admodev%2Fweb-personal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/admodev%2Fweb-personal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/admodev","download_url":"https://codeload.github.com/admodev/web-personal/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248008624,"owners_count":21032556,"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-11-05T15:06:29.714Z","updated_at":"2025-04-09T09:17:36.188Z","avatar_url":"https://github.com/admodev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ptemplate\n[![Dependencies](https://david-dm.org/nethruster/ptemplate.svg)](https://david-dm.org/nethruster/ptemplate) [![DevDependencies](https://david-dm.org/nethruster/ptemplate/dev-status.svg)](https://david-dm.org/nethruster/ptemplate?type=dev)\n\nA personal website template that's not a pain in the ass to setup and use.\n\n[Demo](https://ptemplate.nethruster.com)\n\nExample screenshot\n![alt text](https://github.com/nethruster/ptemplate/blob/master/src/assets/icons/meta-img.png \"Home screenshot\")\n\n### Requirements\n- You need to have `yarn` (**recommended**) or `npm` installed.\n\n### Useful commands\n\n#### Yarn\n- `yarn` - Install and update dependencies.\n- `yarn dev` - Launch local web server with hot compiling. Ideal to work on the project easily.\n- `yarn build` - Build the website in production mode to the `dist/` folder.\n- `yarn build-gz` - Builds a gzip compressed version of the built app in the dist/ folder.\n- `yarn build-render` - Build the website in production mode and pre-render it to the `dist/` folder.\n- `yarn pre-render` - Pre-renders the previously built website.\n\n#### NPM\n- `npm install` - Install and update dependencies.\n- `npm run dev` - Launch local web server with hot compiling. Ideal to work on the project easily.\n- `npm run build` - Build the website in production mode to the `dist/` folder.\n- `npm run build-gz` - Builds a gzip compressed version of the built app in the dist/ folder.\n- `npm run build-render` - Build the website in production mode and pre-render it to the `dist/` folder.\n- `npm run pre-render` - Pre-renders the perviously built website.\n\n## Customization\n\nNote: To apply all of these changes you must rebuild the app.\n\n### If you're not hosting the app at the root of the server\nGo to `webpack.config.js` and change the constant `BASE_URL`, be sure it ends with a `/`.  \n**PRE-RENDER DOESN'T WORK WITH CUSTOM BASE_URL**\n\n### Favicons\nYou can replace them at `src/assets/icons/`.\n\n### Avatar\nYou can replace it at `src/assets/`. If the name or the extension is different to \"avatar.svg\", you need to modify it in `src/config.js` and `src/assets-imports.js`.\n\n### Title\nChange the `\u003ctitle\u003e` tag in `src/index.html`.\n\n### Most of the UI (description, work content, contact icons...)\nModify `src/config.js`. You can add, remove or modify its contents.\n\n### ReCATPCHA public key\nChange it in `src/config.js`.\n\n### Translations\nCustomize them in the `src/assets/lang/` folder. Add a new lang file named by the [IEC_15897](https://en.wikipedia.org/wiki/ISO/IEC_15897) standard, paste contents from your source locale and translate it. To activate a language copy the contents from the source locale to `src/asssets/lang.json`.\n\n### Add icons\nAdd new icon paths with the desired ID in the `src/assets/icons.svg` file.\n\n## Usage\nOnce everything is compiled and built the last step is to serve the contents of the `dist/` folder as static files with your web server of choice and you're done! \n\n## Form API\nThe form of the contact page is sended to the address specified in `src/config.js` as `formUrl`. The request have:\n* Method: `POST`\n* Header: `Content-Type: \"application/json; charset=UTF-8\"`\n* Body:\n```json\n{\n    \"name\": \"Name introduced in the form\",\n    \"mail\": \"Email introduced in the form\",\n    \"msg\": \"Text/Message introduced in the form\",\n    \"g-recaptcha-response\": \"Google's reCAPTCHA v2 response for server-side validation\"\n}\n```\nYou can implement your own backend, or use any of the compatible backends listed below.\n\n### Compatible form backends\n* [web-msg-handler](https://github.com/Miguel-Dorta/web-msg-handler)\n\n\n\n[![Run on Repl.it](https://repl.it/badge/github/nethruster/ptemplate)](https://repl.it/github/nethruster/ptemplate)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadmodev%2Fweb-personal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadmodev%2Fweb-personal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadmodev%2Fweb-personal/lists"}