{"id":24813520,"url":"https://github.com/pacatro/portfolio","last_synced_at":"2026-04-17T03:03:11.192Z","repository":{"id":274798137,"uuid":"923881812","full_name":"Pacatro/portfolio","owner":"Pacatro","description":"Personal portfolio","archived":false,"fork":false,"pushed_at":"2025-03-18T15:36:10.000Z","size":1223,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T16:41:21.320Z","etag":null,"topics":["astro","tailwindcss","typescript","web-development","website"],"latest_commit_sha":null,"homepage":"https://portfolio-pacatros-projects.vercel.app","language":"Astro","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/Pacatro.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":"2025-01-29T01:45:36.000Z","updated_at":"2025-03-18T15:36:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"5ad87e8f-1834-4362-9c42-73563796253b","html_url":"https://github.com/Pacatro/portfolio","commit_stats":null,"previous_names":["pacatro/portfolio"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pacatro%2Fportfolio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pacatro%2Fportfolio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pacatro%2Fportfolio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pacatro%2Fportfolio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Pacatro","download_url":"https://codeload.github.com/Pacatro/portfolio/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245509261,"owners_count":20626942,"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":["astro","tailwindcss","typescript","web-development","website"],"created_at":"2025-01-30T15:25:47.756Z","updated_at":"2026-04-17T03:03:11.186Z","avatar_url":"https://github.com/Pacatro.png","language":"Astro","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Personal Portfolio\n\nThis is my personal portfolio built with [Astro](https://astro.build/).\n\n## 🚀 Getting Started\n\n\u003e [!NOTE]\n\u003e This project uses [pnpm](https://pnpm.io/) as the package manager,\n\u003e if you use other you may need to make use the corresponding commands.\n\n1. Clone the repository\n\n   ```bash\n   git clone https://github.com/Pacatro/portfolio.git\n   ```\n\n2. Add your github token to the `.env.example` file and rename it to `.env`\n\n   ```bash\n   GITHUB_TOKEN=\"\u003cYOUR_GITHUB_TOKEN\u003e\"\n   ```\n\n   ```bash\n   mv env.example .env\n   ```\n\n3. Install dependencies\n\n   ```bash\n   pnpm install\n   ```\n\n4. Start the development server\n\n   ```bash\n   pnpm dev\n   ```\n\n5. Open the project in your browser at [`http://localhost:4321`](http://localhost:4321)\n\n## 🖥️ CMD Mode\n\nThis project has a command mode that allows you to execute some predefined commands.\n\nYou have three ways to open the command mode:\n\n- Press the `:` key\n- Click the terminal button in the header, next to the name\n\n### Available commands\n\n| Command           | Description                                    |\n| ----------------- | ---------------------------------------------- |\n| `:h`              | Show a help dialog with the available commands |\n| `:q`              | Quit the website                               |\n| `:e`              | Close the command mode                         |\n| `:r`              | Download resume                                |\n| `:goto \u003csection\u003e` | Go to a section of the portfolio               |\n\n## 🛠️ Customize\n\nYou can customize the portfolio by editing the `content.json` file.\n\n```json\n{\n  \"title\": \"Your Name\",\n  \"name\": \"Your Full Name\",\n  \"githubProfile\": \"Your GitHub Profile\",\n  \"bio\": \"Your Bio\",\n  \"socials\": [\n    {\n      \"name\": \"Social media name\",\n      \"url\": \"social media url\",\n      \"icon\": \"path/to/icon.svg\" // OPTIONAL\n    }\n  ],\n  \"sections\": [\"About\", \"Projects\", \"Social\"],\n  \"commands\": [\n    {\n      \"name\": \":h\",\n      \"args\": \"\",\n      \"description\": \"Show the available commands\"\n    }\n  ]\n}\n```\n\n### Add new commands\n\nTo add a new command, you need to add it to the `commands` array\nin the `content.json` file.\n\n```json\n{\n  \"commands\": [\n    {\n      \"name\": \":h\",\n      \"args\": \"\",\n      \"description\": \"Show the available commands\"\n    },\n    {\n      \"name\": \":custom\",\n      \"args\": \"arg\",\n      \"description\": \"Custom command\"\n    }\n  ]\n}\n```\n\nThen you have to implement the functionality in the `src/cmd/commands.ts` creating\na new class that implements the `Command` interface.\n\n```typescript\nexport class CustomCommand implements Command {\n  execute(arg: string): void {\n    console.log(\"Custom command\");\n  }\n}\n```\n\nAnd finally, you need to add the new command to the `Cmd` class in the\n`src/cmd/cmd.ts` file.\n\n```typescript\nprivate commands: Record\u003cstring, Command\u003e;\n\nconstructor() {\n  this.commands = {\n    \":h\": new HelpCommand(),\n    \":custom\": new CustomCommand(),\n  };\n}\n```\n\n## 🔑 License\n\n[MIT](LICENSE) - Created by [**Paco Algar Muñoz**](https://github.com/Pacatro).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpacatro%2Fportfolio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpacatro%2Fportfolio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpacatro%2Fportfolio/lists"}