{"id":23454967,"url":"https://github.com/manicdon7/ales","last_synced_at":"2026-04-15T18:31:48.357Z","repository":{"id":252971463,"uuid":"842067485","full_name":"manicdon7/ales","owner":"manicdon7","description":"Ales allows users to publish and access articles stored on the blockchain, with options for free or subscription-based content. It also enables readers to support authors by sending cryptocurrency through a \"Buy Me a Coffee\" feature for free articles.","archived":false,"fork":false,"pushed_at":"2024-08-16T16:16:53.000Z","size":1672,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-11T03:57:17.327Z","etag":null,"topics":["escrow","ethersjs","javascript","reactjs","solidity","tailwindcss","web3"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/manicdon7.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2024-08-13T15:50:54.000Z","updated_at":"2024-08-16T16:16:56.000Z","dependencies_parsed_at":"2025-04-11T02:43:46.102Z","dependency_job_id":"0b64c86c-f01d-405c-ba12-58ebf2469a3b","html_url":"https://github.com/manicdon7/ales","commit_stats":null,"previous_names":["manicdon7/ales"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/manicdon7/ales","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manicdon7%2Fales","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manicdon7%2Fales/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manicdon7%2Fales/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manicdon7%2Fales/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/manicdon7","download_url":"https://codeload.github.com/manicdon7/ales/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manicdon7%2Fales/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31854683,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"last_error":"SSL_read: 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":["escrow","ethersjs","javascript","reactjs","solidity","tailwindcss","web3"],"created_at":"2024-12-24T03:18:05.978Z","updated_at":"2026-04-15T18:31:48.336Z","avatar_url":"https://github.com/manicdon7.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ales\n\nAles is a decentralized application (dApp) that allows users to publish and access articles on the blockchain. The platform supports both free and subscription-based content, and readers can support authors by sending cryptocurrency through a \"Buy Me a Coffee\" feature for free articles.\n\n## Features\n\n- **Blockchain-Powered Article Publishing**: Publish articles directly on the blockchain, ensuring immutability and transparency.\n- **Free and Subscription-Based Content**: Authors can choose to publish articles for free or set a subscription price in ETH.\n- **Reader Support**: Readers can show their support for authors by sending cryptocurrency tips via the \"Buy Me a Coffee\" button.\n- **Secure and Decentralized**: Leveraging Ethereum smart contracts for secure transactions and content management.\n- **Responsive Design**: Ales is designed to be responsive and accessible on various devices.\n\n## Technology Stack\n\n- **Frontend**: React, Tailwind CSS, React Router, React Quill (for rich text editing)\n- **Smart Contracts**: Solidity (Ethereum)\n- **Blockchain Interaction**: ethers.js\n- **Storage**: IPFS via Infura or Pinata for decentralized content storage\n- **Development Tools**: MetaMask, Hardhat, Remix IDE\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js and npm installed on your machine\n- MetaMask browser extension for connecting to Ethereum\n- An Ethereum testnet or mainnet account with some ETH\n\n### Installation\n\n1. **Clone the Repository**:\n\n   ```bash\n   git clone https://github.com/yourusername/ales.git\n   cd ales\n\n\n2. **Install Dependencies**:\n\n    ```bash\n    npm install\n\n3. **Environment Setup**:\n\n    Create a .env file in the root directory and add your Infura and Pinata API keys:\n\n    REACT_APP_INFURA_PROJECT_ID=your_infura_project_id\n    REACT_APP_INFURA_PROJECT_SECRET=your_infura_project_secret\n    REACT_APP_PINATA_API_KEY=your_pinata_api_key\n    REACT_APP_PINATA_SECRET_API_KEY=your_pinata_secret_api_key\n\n4. **Start the Development Server:**:\n\n    ```bash\n    npm start\n\nThe application should now be running on http://localhost:3000.\n\n### Usage\nPublishing an Article: Navigate to the \"Publish\" page, write your article using the editor, and choose whether it's free or subscription-based. Upon submission, the article will be stored on IPFS, and its reference will be recorded on the blockchain.\n\nViewing Articles: Browse through the available articles on the \"Articles\" page. Click on an article card to view its details. If it's a free article, you can support the author by sending a tip in ETH.\n\nBuying a Subscription: For subscription-based articles, readers need to pay the specified amount in ETH to unlock the content.\n\n## Smart Contract Interaction\nThe smart contracts are written in Solidity and deployed on the Ethereum network. You can find the ABI and contract address in the abi folder.\n\n## Key Functions\npublishArticle: Allows authors to publish articles with a title, content hash (IPFS), subscription price, and free flag.\nbuyArticle: Allows users to purchase access to subscription-based articles.\nbuyCoffee: Enables readers to send a tip in ETH to the author of a free article.\ngetArticle: Fetches the details of a specific article by its ID.\ngetArticleCount: Returns the total number of articles published on the platform.\nContributing\nContributions are welcome! Please fork the repository and submit a pull request with your changes.\n\n## License\nThis project is licensed under the MIT License. See the LICENSE file for details.\n\n## Acknowledgments\nThanks to the Ethereum and IPFS communities for providing the underlying technology.\nSpecial thanks to all contributors and users of Ales.\n\n```plaintext\nThis `README.md` provides an overview of the Ales dApp, explains how to set it up, and includes instructions for usage, contributing, and acknowledging the open-source community.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanicdon7%2Fales","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanicdon7%2Fales","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanicdon7%2Fales/lists"}