{"id":21058529,"url":"https://github.com/h4jack/cpsearchx","last_synced_at":"2025-10-25T14:36:06.690Z","repository":{"id":246766384,"uuid":"822127921","full_name":"h4jack/cpsearchx","owner":"h4jack","description":"CPSearchX is a simple search engine web application that allows users to search the web using the Google Custom Search API. It provides search results in a user-friendly interface with pagination and basic styling.","archived":false,"fork":false,"pushed_at":"2024-07-01T16:26:33.000Z","size":338,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-06T08:03:50.393Z","etag":null,"topics":["css","googlesearchapi","h4jack","html","javascript","php","search","search-engine"],"latest_commit_sha":null,"homepage":"http://myloginphp.rf.gd/cpsearchx/","language":"Hack","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/h4jack.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":"2024-06-30T11:11:47.000Z","updated_at":"2024-07-01T16:26:37.000Z","dependencies_parsed_at":"2024-07-06T10:01:47.707Z","dependency_job_id":null,"html_url":"https://github.com/h4jack/cpsearchx","commit_stats":null,"previous_names":["h4jack/cpsearchx"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/h4jack/cpsearchx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h4jack%2Fcpsearchx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h4jack%2Fcpsearchx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h4jack%2Fcpsearchx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h4jack%2Fcpsearchx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/h4jack","download_url":"https://codeload.github.com/h4jack/cpsearchx/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h4jack%2Fcpsearchx/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261162067,"owners_count":23118220,"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":["css","googlesearchapi","h4jack","html","javascript","php","search","search-engine"],"created_at":"2024-11-19T17:08:18.486Z","updated_at":"2025-10-25T14:36:01.649Z","avatar_url":"https://github.com/h4jack.png","language":"Hack","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CPSearchX\n\nCPSearchX is a simple search engine web application that allows users to search the web using the Google Custom Search API. It provides search results in a user-friendly interface with pagination and basic styling.\n\n## Preview\nTo preview CPSearchX, you can visit the live demo [here](https://myloginphp.rf.gd/cpsearchx).\n\n## Table of Contents\n\n*   [Features](#features)\n*   [Technologies Used](#technologies-used)\n*   [Files and Structure](#files-and-structure)\n*   [Setup Instructions](#setup-instructions)\n*   [Usage](#usage)\n*   [About](#about)\n\n## Features\n\n*   **Search Bar**: Allows users to input search queries.\n*   **Search Results**: Displays search results including title, link, and snippet.\n*   **Pagination**: Enables loading more results dynamically.\n*   **Responsive Design**: Supports different screen sizes.\n\n## Technologies Used\n\n*   **Frontend**: HTML, CSS, JavaScript\n*   **Backend**: PHP\n*   **API**: Google Custom Search API\n\n## Files and Structure\n\n*   **index.php**: Main HTML and PHP file handling frontend and backend logic.\n*   **load.php**: PHP script handling AJAX requests to fetch search results.\n*   **main.js**: JavaScript file for dynamic interaction and AJAX handling.\n*   **style.css**: CSS file for styling the interface.\n\n## Setup Instructions\n\n1.  Clone the repository:\n```bash\ngit clone https://github.com/h4jack/cpsearchx.git\n```\n\n2.  Configure your web server (e.g., Apache) to serve the files.\n\n3.  Obtain a Google Custom Search API key and replace `$apiKey` and `$cx` in `load.php` with your own credentials.\n\n4.  Access the application through your web browser.\n    \n\n## Usage\n\n1.  Enter a search query in the provided search bar.\n2.  Click on the \"Search\" button or press Enter to fetch results.\n3.  Scroll through the results and click on links to visit the corresponding websites.\n4.  Use pagination to load more search results.\n\n## About\n\nThis project was developed as a learning exercise to implement AJAX-based search functionality using PHP and JavaScript.\n\n- - -\n\n\n## Authors\n\n- [@h4jack](https://www.github.com/h4jack)\n\n\n## License\n\nThis project is licensed under the [MIT License](https://github.com/h4jack/cpsearchx/blob/main/LICENSE/)\n\n\n## Feedback\n\nIf you have any feedback or suggestions, please feel free to [create an issue](https://github.com/h4jack/cpsearchx/issues) or [contact us](https://github.com/h4jack).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh4jack%2Fcpsearchx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fh4jack%2Fcpsearchx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh4jack%2Fcpsearchx/lists"}