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
45 changes: 45 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Build
on:
push:
branches:
- main

permissions:
contents: write # Add this to allow pushing to gh-pages

jobs:
build:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v2
- name: build
env:
GITHUB_PAT: ${{ github.token }}
REPO: "getzola/zola"
VERSION: "latest"
MATCH: "zola-.+-x86_64-unknown-linux-gnu.tar.gz$"
RENAME: "zola.tgz"
shell: bash
run: |
curl -sL --fail \
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: Bearer ${GITHUB_PAT}" \
"https://api.github.com/repos/${REPO}/releases/${VERSION}" \
| jq -r ".assets | .[] | select(.name | test(\"${MATCH}\")) | .url" \
| tee asset.url
curl -sL --fail \
-H "Accept: application/octet-stream" \
-H "Authorization: Bearer ${GITHUB_PAT}" \
-o "${RENAME}" \
"$(cat asset.url)"
tar -zxvf zola.tgz
chmod +x zola
./zola build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
42 changes: 40 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,40 @@
# SinSo-API-Web
Official website for the SinSo API
# SinSo API Website

Official landing page for **SinSo API** - the largest open-source Sinhala Songs Lyrics API.

## 🌐 About

This is the static website repository for SinSo API, providing information about the API, its features, endpoints, and how to get started. The website serves as the main entry point for developers interested in integrating Sinhala song lyrics into their applications.

## 🚀 Features

- Clean and modern design
- Responsive layout
- Comprehensive API documentation overview
- Feature highlights and benefits
- API endpoints reference
- Contact and contribution information
- Copyright and legal notices

## 🤝 Contributing

Contributions are welcome! Feel free to:
- Report bugs or issues
- Suggest improvements to the website design
- Submit pull requests for fixes or enhancements

## 📧 Contact

For questions or support, please reach out through:
- Email: [vishal@vishalrashmika.com]
- GitHub: [Open an issue](https://github.com/SinSo-API/SinSo-API/issues)

## ☕ Support

If you find this project helpful, consider supporting us:

[![Buy Me A Coffee](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/vishalrashmika/)

---

© 2025 SinSo API. All rights reserved. | All song lyrics are property of their respective artists and creators.
15 changes: 15 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
base_url = "./"
title = "SinSo API"
description = "Largest Open-Source Sinhala Songs Lyrics API – Fast, Reliable & Ready for Integration"
compile_sass = false
build_search_index = false

[extra]
# Contact Information
email_contact = "vishal@vishalrashmika.com"

# Social Links
github = "https://github.com/SinSo-API"

# External Links
docs_url = "https://api.sinso.vishalrashmika.com/v1/docs/"
4 changes: 4 additions & 0 deletions content/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
+++
title = "SinSo API"
description = "Largest Open-Source Sinhala Songs Lyrics API – Fast, Reliable & Ready for Integration"
+++
18 changes: 18 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[build]
# This assumes that the Zola site is in a docs folder. If it isn't, you don't need
# to have a `base` variable but you do need the `publish` and `command` variables.
# base = ""
publish = "public"
command = "zola build"

[build.environment]
# Set the version name that you want to use and Netlify will automatically use it.
ZOLA_VERSION = "0.17.0"

# The magic for deploying previews of branches.
# We need to override the base url with whatever url Netlify assigns to our
# preview site. We do this using the Netlify environment variable
# `$DEPLOY_PRIME_URL`.

[context.deploy-preview]
command = "zola build --base-url $DEPLOY_PRIME_URL"
Loading