{"id":22579292,"url":"https://github.com/josegonzalez/static-admin","last_synced_at":"2025-04-10T01:04:45.088Z","repository":{"id":265629688,"uuid":"891909195","full_name":"josegonzalez/static-admin","owner":"josegonzalez","description":"A modern web interface for managing static site content. Built for GitHub Pages and Jekyll sites.","archived":false,"fork":false,"pushed_at":"2025-04-09T05:38:46.000Z","size":870,"stargazers_count":2,"open_issues_count":24,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T01:04:38.007Z","etag":null,"topics":["cms","editorjs","jekyll","jekyll-admin","markdown","static-site-cms"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/josegonzalez.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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-11-21T07:09:33.000Z","updated_at":"2025-04-04T15:12:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"91916f37-9610-4a40-9c8c-e84cbd52ca6f","html_url":"https://github.com/josegonzalez/static-admin","commit_stats":null,"previous_names":["josegonzalez/static-admin"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josegonzalez%2Fstatic-admin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josegonzalez%2Fstatic-admin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josegonzalez%2Fstatic-admin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josegonzalez%2Fstatic-admin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/josegonzalez","download_url":"https://codeload.github.com/josegonzalez/static-admin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248137890,"owners_count":21053775,"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":["cms","editorjs","jekyll","jekyll-admin","markdown","static-site-cms"],"created_at":"2024-12-08T05:06:53.388Z","updated_at":"2025-04-10T01:04:45.063Z","avatar_url":"https://github.com/josegonzalez.png","language":"TypeScript","readme":"# Static Admin\n\nA modern web interface for managing static site content. Built for GitHub Pages and Jekyll sites.\n\n## Features\n\n- 🎨 Modern, intuitive interface\n- 🔄 Seamless GitHub integration\n- 📝 Rich text editor with Markdown support\n- 🎯 Built for Jekyll and GitHub Pages\n- 📱 Responsive design\n\n## Development\n\n### Requirements\n\n- Go 1.23+\n- Node.js 18+\n\n### Setup\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/josegonzalez/static-admin.git\n   cd static-admin\n   ```\n\n2. Install backend dependencies:\n\n   ```bash\n   go mod download\n   ```\n\n3. Install frontend dependencies:\n\n   ```bash\n   cd frontend\n   npm install\n   ```\n\n4. Create a GitHub OAuth App:\n   - Go to GitHub Settings \u003e Developer Settings \u003e OAuth Apps\n   - Create a new OAuth App\n   - Set the callback URL to `http://localhost:8080/auth/github/callback`\n   - Copy the Client ID and Client Secret\n\n5. Create a `.env` file in the root directory:\n\n   ```env\n   GITHUB_CLIENT_ID=your_client_id\n   GITHUB_CLIENT_SECRET=your_client_secret\n   GITHUB_REDIRECT_URL=http://localhost:8080/auth/github/callback\n   JWT_SECRET=your_jwt_secret\n   SESSION_SECRET=your_session_secret\n   ```\n\n### Running\n\n1. Start the backend server:\n\n   ```bash\n   go run main.go\n   ```\n\n2. Start the frontend development server:\n\n   ```bash\n   cd frontend\n   npm run dev\n   ```\n\n3. Visit `http://localhost:3000`\n\n### Deploying\n\nWe include a Dockerfile that compiles both the frontend and backend. This can be used to deploy to any Docker-compatible platform, and will respect the `PORT` environment variable. By default, it will run on port 5000.\n\nTo use it locally, run the following commands:\n\n1. Build the docker image:\n\n   ```bash\n   docker build -t static-admin .\n   ```\n\n2. Run the docker container:\n\n   ```bash\n   docker run --rm -p 8080:8080 static-admin\n   ```\n\n3. Visit `http://localhost:8080`\n\n### Releasing\n\n1. Build the frontend:\n\n   ```bash\n   cd frontend\n   npm run build\n   ```\n\n2. Generate the embedded frontend golang code:\n\n   ```bash\n   go generate ./...\n   ```\n\n3. Build the backend:\n\n   ```bash\n   go build -o static-admin main.go\n   ```\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nMIT License - see [LICENSE.md](LICENSE.md) for details\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjosegonzalez%2Fstatic-admin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjosegonzalez%2Fstatic-admin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjosegonzalez%2Fstatic-admin/lists"}