Skip to content

Paylicier/discfm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

07f740e · · Apr 5, 2026

History

8 Commits
Apr 3, 2026
Apr 5, 2026
Apr 5, 2026
Apr 5, 2026
Apr 2, 2026
Apr 2, 2026
Apr 5, 2026
Apr 5, 2026
Apr 5, 2026
Apr 5, 2026
Apr 5, 2026
Apr 5, 2026
Apr 2, 2026

Repository files navigation


discfm

a web app to display your currently playing song (from lastfm) on your discord status without needing an app on your device.

Warning

This app hijacks PreMiD's app id to use discord's whitelisted activity api. This is prob against discord's TOS.

Demo

The service is currently deployed at dsfm.notri1.fr, it's fully usable and stable if you don't want to deploy it yourself.

Setup

Prerequisites

  • Bun installed locally, OR
  • Docker and Docker Compose

Local Development

  1. Clone the repository:

    git clone https://github.com/Paylicier/discfm.git
    
    cd discfm
  2. Install dependencies:

    bun install
  3. Set up your environment variables: Create a .env file and configure your LASTFM_API_KEY:

    LASTFM_API_KEY=your_api_key_here
  4. Start the development server:

    bun run main.ts

The app will be accessible at http://localhost:3000

Docker

You can easily run the app using Docker Compose:

  1. Clone the repository and navigate to it.
  2. Update the LASTFM_API_KEY in docker-compose.yml
  3. Bring up the container:
    docker-compose up -d

The app will be accessible at http://ip:3000 (you can change the port in the docker-compose.yml file)

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

This project is available under GNU General Public License v3

Please read the license carefully before using this software. If you have any questions about licensing, please open an issue.


Built with ❤️ and 🚈 by Paul