Coder Social home page Coder Social logo

laulum.me's Introduction

laulum.me

This is an electronic version of songbook for sitsit. All the songs in this repo are mostly as they are in TKO-äly ry official songbook. The site itself is hosted in https://laulum.me

Want to add a song? Make a pull request!

Song lyrics are stored in the songs/ directory.
If you want to add a song, create a new file in the directory with the song lyrics in it.

You'll also need to add a header, containing at least a title for the song:

---
title: Song title
---

Song lyrics...

You can also specify the melody and/or writers:

---
title: Gurulassa
melody: Anssi Kela - Puistossa
writers: Ada
---

Gurulassa ilta viilenee.
Topi lämpimikseen koodailee...

Books (WIP)

Books can be added as JSON files in the books folder. See books/tekis-2017.json for reference.

Books can be linked using their filename, e.g. tekis-2017.json matches https://laulum.me/book/tekis-2017.

Format

{
  "title": "Title of the book",
  // Can be left out. Currently not displayed.
  "organisation": "Organisation ry",
  // Credits can be left out.
  // Keys are used as headers in credits list.
  "credits": {
    "Book master": ["Matti Meikäläinen"],
    "Lyric collectors": ["Eeva Esimerkki", "Sumu Satunnainen"]
  },
  // Any amount of songs.
  // Songs are displayed in the order listed in this array.
  "songs": [
    {
      // Arbitrary string. Can be anything.
      "number": "32",
      // Automatically links to laulum.me song if title matches.
      "title": "Song name",
      // Can be left out. Overrides everything and shows just this content alongside number and title.
      "content": "Custom content",
      // Can be left out. Manually specifies laulum.me song slug to link to.
      "slug": "song-slug"
    }
  ]
}

Favicon

The favicon was created by Lassi Koistinen.

laulum.me's People

Contributors

concernedhobbit avatar dependabot[bot] avatar eelinki avatar hansformer avatar hekazu avatar hojott avatar janil avatar jussikc avatar lofhjann avatar meklu avatar merghq avatar mkkarl avatar muhve avatar neodyymi avatar nroos avatar piharatamo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

laulum.me's Issues

Käyttäjän pitäisi pystyä piirtämään

Jani L, [12.02.17 20:30]
Meil on muuten hieno elektroninen laulukirja nykyään
xxx, [12.02.17 20:40]
miten elektroniseen laulukirjaan voi piirtää kirkkoveneitä?
Jani L, [12.02.17 20:40]
hmm hyvä huomio
Jani L, [12.02.17 20:40]
pitää tehdä tästä issue

läsy generator view

implement a läsy generator view that allows choosing of multiple songs to export all at once

  • allow user to mass export songs (txt? copy-paste from a field? copy to clipboard?)
  • allow numbering of songs
    • automatic by order of picking
    • manual sorting possible
  • ready-made groups (toggles certain songs, e.g. "nyt songs", "parodies", "english", "must haves")
    • allow creation of custom groups (cookies?)

add song numbers corresponding to song book

add song numbers from the 2015 physical song book so searching is easier

  • displayed before song name
  • songs can be searched using numbers
  • search prioritizes song numbers when typing just numbers
  • song numbers can be toggled off (see futureproofign idea below)

futureproofing: add generic "songbook-number" list attribute so multiple years can be switched between in ui, e.g. none, 2015 and 2022/2023, and it will update the song numbers in the ui for the current session

make song attributes more generic

switch from hardcoded line numbers (first for title, second for melody...) to e.g. markdown files with frontmatter

example:

Assarit
PMMP - Joutsenet
Mikko Halmela

Voit sanoa mitä haluat,
se ei tunnu se ei opeta
Mene vaan, mene vaan

-->

---
title: Assarit
melody: PMMP - Joutsenet
writer: Mikko Halmela
---
Voit sanoa mitä haluat,
se ei tunnu se ei opeta
Mene vaan, mene vaan

add dark mode toggle

currently the dark mode css respects OS preferences

we might want a seperate button to allow an override?

updating local offline cache is buggy

we should be cache-first but update all songs asap, it doesn't take that much data.
currently going directly to song page that's not in initial pwa caching results in 404 until force reload

Song search in a book

There could be a search field in a book for songs in the book, just like there is a search field for songs in whole laulum.me on the front page.

Song tags

Song tags for finding a certain type of a song, e.g. a short song or a song about Klusteri. One song can have 0-n tags. Tags are listed e.g. on the front page. Clicking a tag gives a list of songs including the tag.

add error boundary

non-cached offline songs cause typeerror and there might be more cases where errors are thrown

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.