jacoby6000 / clone-hero-chart-db Goto Github PK
View Code? Open in Web Editor NEWSystem for indexing clone hero charts
License: GNU General Public License v3.0
System for indexing clone hero charts
License: GNU General Public License v3.0
A structure like below should represent the data perfectly:
case class IniKey(k: String)
sealed trait IniValue
case class IniString(s: String) extends IniValue
case class IniSection(k: String)
type IniFile = Map[Option[IniSection], Map[IniKey, IniValue]]
With some methods for helping pull things out of the ini data.
IniValue sealed trait is just in case we need support for more than just strings.
Add ability to read chart files and do arbitrary analysis.
This shouldn't be used in production, so I'm not making it a part of the 1.0.0 milestone.
There's currently an interface allowing for it, but the indexer only supports a single filesystem at a time right now.
This'll get easier as more stuff gets added. Right now it's just a hodgepodge.
Specifically, unique key constraint failures need to be handled better. There are likely others, but not sure which ones should be explicitly dealt with.
Should include everything necessary to get the system up and running locally.
Look at sections of the chart and determine what patterns it uses often. Things like trill
, rolling hopos
, two-handed taps
, etc;
The public API should be simple get routes that don't provide searching in any fashion. Things like:
/api/v1/charts/<id>
/api/v1/artists/<id>/songs/by-name/<name>
/api/v1/artists/by-name/<name>/songs/by-name/<name>
The private api will support proper querying, like you'd expect:
/api/v1/songs?query=name;like;*foo*
/api/v1/songs?query=genre;eq;Progressive Djent Metal
queries will be composable so that users may specify additional conditions.
Responses will look something like:
{
"songs": [
{
"id": "some-uuid-thing-here",
"name": "song-name",
"artist": "song-artist",
"genre": "song-genre",
"charter": "charter",
"lastUpdated": "Some ISO date",
"firstSeen": "Some ISO date"
},
...
]
}
genre
, charter
, and artist
are optional fields, and will not be present if they could not be determined.
Another route will be provided, such that ini file data can be fetched when given a song id.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.