Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sphericalkat/medium.rip
An alternative frontend for medium.com
https://github.com/sphericalkat/medium.rip
alternative frontend go medium
Last synced: 3 days ago
JSON representation
An alternative frontend for medium.com
- Host: GitHub
- URL: https://github.com/sphericalkat/medium.rip
- Owner: SphericalKat
- License: apache-2.0
- Created: 2023-05-25T17:38:00.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-13T23:27:21.000Z (3 months ago)
- Last Synced: 2024-08-14T01:59:00.405Z (3 months ago)
- Topics: alternative, frontend, go, medium
- Language: Go
- Homepage: https://medium.rip
- Size: 138 KB
- Stars: 35
- Watchers: 2
- Forks: 1
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# medium.rip
This is an alternative frontend for [Medium](https://medium.com) written in Go. I was inspired by the [Scribe](https://scribe.rip) project, but wanted a few different things, and I did not know Crystal.## Building
Please feel free to self host and run this on your own. I only ask that you contribute any changes back upstream.### Dependencies
- [Go](https://go.dev/dl/) (at least v1.20)
- [Node.js](https://nodejs.org/en/download)
- [PNPM](https://pnpm.io/installation)### Building
First, build the frontend
```sh
cd frontend
pnpm i
pnpm run build
```Then, build the binary. The frontend static files will be embedded in the binary using `go:embed`.
```sh
go mod download
go build .
```You should now have a static binary called `medium.rip` that is self contained.
### Dockerfile
You can alternately build and run via `docker`
```sh
docker build -t medium-rip .
docker run -p 3000:3000 -e PORT=3000 medium-rip
```## Licensing
Dual licensed under Apache 2.0 or MIT at your option.