{"id":24435786,"url":"https://github.com/johnforfar/jf-blog","last_synced_at":"2025-03-13T22:13:06.958Z","repository":{"id":271695658,"uuid":"914272577","full_name":"johnforfar/jf-blog","owner":"johnforfar","description":"My personal blog","archived":false,"fork":false,"pushed_at":"2025-01-17T02:11:43.000Z","size":1101,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-23T21:11:32.352Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://johnforfar.github.io/jf-blog","language":"TypeScript","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/johnforfar.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}},"created_at":"2025-01-09T09:24:43.000Z","updated_at":"2025-01-12T14:56:09.000Z","dependencies_parsed_at":"2025-01-09T10:49:11.223Z","dependency_job_id":"e9a16948-dfa0-458b-89cd-eddb12d0da9a","html_url":"https://github.com/johnforfar/jf-blog","commit_stats":null,"previous_names":["johnforfar/jf-blog"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnforfar%2Fjf-blog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnforfar%2Fjf-blog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnforfar%2Fjf-blog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnforfar%2Fjf-blog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnforfar","download_url":"https://codeload.github.com/johnforfar/jf-blog/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243489829,"owners_count":20299001,"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":"2025-01-20T17:33:39.754Z","updated_at":"2025-03-13T22:13:06.933Z","avatar_url":"https://github.com/johnforfar.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nextra Blog Template with Code Wallet\n\nA simple blog template that lets you write posts and receive tips through Code Wallet. This blog uses Nextra, a Next.js-based static site generator that makes it easy to write content in Markdown.\n\n## Features\n\n* 💰 Receive tips with Code Wallet \n* ✍️ Easy writing using Markdown\n* 📱 Works on mobile\n* 🌙 Dark mode included\n* 🖼️ Add images easily\n* 🎥 Add YouTube videos\n* ⚡ Fast loading\n\n## Local Development\n\n1. Clone your repository:\n```bash\ngit clone https://github.com/YOUR_USERNAME/YOUR_REPO_NAME.git\ncd YOUR_REPO_NAME\n```\n\n2. Install dependencies:\n```bash\nnpm install\n# or\nbun install\n```\n\n3. Create a `.env` file:\n```\nNEXT_PUBLIC_CODE_WALLET_ADDRESS=your_wallet_address\nNEXT_PUBLIC_CODE_WALLET_AMOUNT=0.05\n```\n\n4. Start the development server:\n```bash\nnpm run dev\n# or\nbun run dev\n```\n\nVisit `http://localhost:3000` to see your blog.\n\n## Deployment Options\n\n### GitHub Pages\n1. Fork this repository\n2. Clone your fork locally\n3. Make your changes\n4. Deploy using:\n```bash\nnpm run deploy\n# or\nbun run deploy\n```\nYour blog will be live at `https://YOUR_USERNAME.github.io/YOUR_REPO_NAME`\n\nFor custom domains, go to repository Settings \u003e Pages \u003e Custom domain. GitHub Pages will show you the DNS settings to configure at your domain provider.\n\n### Vercel (Alternative)\n1. Fork this repository\n2. Go to [Vercel](https://vercel.com/new)\n3. Import your forked repository\n4. Add your environment variables:\n   - `NEXT_PUBLIC_CODE_WALLET_ADDRESS`\n   - `NEXT_PUBLIC_CODE_WALLET_AMOUNT`\n5. Deploy\n\nFor custom domains, go to your project settings in Vercel \u003e Domains. Vercel will guide you through the DNS configuration.\n\n## Writing Blog Posts\n\n1. Create a new `.mdx` file in `pages/posts/`\n2. Add the front matter:\n```mdx\n---\ntitle: My Blog Post\ndate: 2024-01-09\ndescription: A short description\n---\n\n# Your content here\n\n\u003cCodeWallet /\u003e\n```\n\n## Adding Media\n\n### Images\nPut images in the `public` folder and reference them in your posts:\n```mdx\n\u003cimg src={process.env.NODE_ENV === 'production' ? 'your-image.jpg' : '/your-image.jpg'} alt=\"Description\" /\u003e\n```\n\n### YouTube Videos\n```html\n\u003ciframe\n  width=\"560\"\n  height=\"315\"\n  src=\"https://www.youtube.com/embed/VIDEO_ID\"\n  frameBorder=\"0\"\n  allowFullScreen\n\u003e\u003c/iframe\u003e\n```\n\n## Getting Tips\n\n1. Install Code Wallet on your phone\n2. Add your wallet address to `.env`:\n```\nNEXT_PUBLIC_CODE_WALLET_ADDRESS=your_wallet_address\nNEXT_PUBLIC_CODE_WALLET_AMOUNT=0.05\n```\n\n## Example Post\n\nCheck out [Hello World](./posts/hello-world) to see it all in action!\n\n## License\n\nMIT License - Feel free to use this template!\n\n## Thanks to\n\n* [Next.js](https://nextjs.org) - The React Framework\n* [Nextra](https://nextra.site) - Making blogs easy\n* [Code Wallet](https://codewallet.ai) - For tipping","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnforfar%2Fjf-blog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnforfar%2Fjf-blog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnforfar%2Fjf-blog/lists"}