Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.nix linguist-detectable=false
Makefile linguist-detectable=false
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
ifneq (,$(wildcard .env))
include .env
export
endif

module := go.fm
bin := gofm
pkg := ./cmd/bot
Expand Down
36 changes: 34 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,37 @@
# go.fm
# first.fm

your last.fm stats within Discord.
your last.fm stats within Discord, isn't it great?

the code is work in progress so if u see a war crime just ignore it, thanks. ~elisiei

## installation

### clone repo (via http or ssh)

```sh
$ git clone https://github.com/nxtgo/first.fm
```

### create a .env

```env
DISCORD_TOKEN=token_here
LASTFM_API_KEY=your_api_owo
```

### run using Makefile

```sh
$ make build; make run
```

running without Make **won't work** as Makefile loads
env file. if you want to avoid using Make, pass the
env variables on command invokation or use a [go env loader](https://github.com/nxtgo/env).

# license

all original content in this project is dedicated to the public domain under the
[CC0 1.0 universal](https://creativecommons.org/publicdomain/zero/1.0/).
this grants you the freedom to use, modify, and distribute the content
without any restrictions or attribution requirements.
Binary file removed assets/font/Inter_24pt-Regular.ttf
Binary file not shown.
Binary file removed assets/img/broken.png
Binary file not shown.
Binary file removed assets/img/chart_gradient.png
Binary file not shown.
Binary file removed assets/img/profile_gradient.png
Binary file not shown.
158 changes: 0 additions & 158 deletions cache/cache.go

This file was deleted.

Loading