{"id":23547235,"url":"https://github.com/kpanic/gigex","last_synced_at":"2025-04-24T06:10:37.578Z","repository":{"id":65133160,"uuid":"576239201","full_name":"kpanic/gigex","owner":"kpanic","description":"Gigex 🎸 - A scraper for gigs","archived":false,"fork":false,"pushed_at":"2024-07-27T09:37:38.000Z","size":495,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-30T07:41:14.175Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kpanic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-12-09T10:44:08.000Z","updated_at":"2024-07-27T09:37:42.000Z","dependencies_parsed_at":"2024-07-27T10:51:06.142Z","dependency_job_id":null,"html_url":"https://github.com/kpanic/gigex","commit_stats":{"total_commits":21,"total_committers":2,"mean_commits":10.5,"dds":"0.38095238095238093","last_synced_commit":"23e8a5b93d4003f97efb353b1c65e4a25ffd1ba7"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kpanic%2Fgigex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kpanic%2Fgigex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kpanic%2Fgigex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kpanic%2Fgigex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kpanic","download_url":"https://codeload.github.com/kpanic/gigex/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250573351,"owners_count":21452352,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-26T09:15:01.791Z","updated_at":"2025-04-24T06:10:37.547Z","avatar_url":"https://github.com/kpanic.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gigex 🎸 (A scraper for gigs)\n\n![A pleasant drawing of a sunburst bass guitar with violet, green and blue gradients](bass-guitar-drawing-640x480.png)\n\n\nCurrently supporting getting concerts from Songkick (http://www.songkick.com)\nand Lido in (https://www.lido-berlin.de) Berlin.\n\n# Installation\n\nThe package can be installed by adding gigex to your list of dependencies in mix.exs:\n\n```elixir\ndef deps do\n  [\n    {:gigex, \"~\u003e 0.1\"}\n  ]\nend\n```\n\n# Usage examples\n\n\nTake two gigs from the Songkick website:\n\n```elixir\niex\u003e Gigex.gigs(site: :songkick) |\u003e Enum.take(3)\n[\n  %{\n    datasource: \"songkick\",\n    date: \"2022-12-28\",\n    dotw: \"Wednesday\",\n    infos: \"Price: €32.50\\n      Doors open: 19:00\",\n    link: \"https://www.songkick.com/concerts/39461898-extrabreit-at-lido\",\n    location: \"Lido, Berlin, Germany\",\n    name: \"Extrabreit\"\n  },\n  %{\n    datasource: \"songkick\",\n    date: \"2022-12-28\",\n    dotw: \"Wednesday\",\n    infos: \"Price: €30.40 – €155.00\\n      Doors open: 20:00For fans of: Pop and Rock.\",\n    link: \"https://www.songkick.com/concerts/39365972-matthias-reim-at-mercedesbenz-arena\",\n    location: \"Mercedes-Benz Arena, Berlin, Germany\",\n    name: \"Matthias Reim\"\n  },\n  %{\n    datasource: \"songkick\",\n    date: \"2022-12-28\",\n    dotw: \"Wednesday\",\n    infos: \"\",\n    link: \"https://www.songkick.com/concerts/40652712-btight-at-columbia-theater\",\n    location: \"Columbia Theater, Berlin, Germany\",\n    name: \"B-tight\"\n  }\n]\n```\n\nTake two gigs from the Lido website:\n\n```elixir\niex\u003e Gigex.gigs(site: :lido) |\u003e Enum.take(2)\n[\n  %{\n    datasource: \"lido\",\n    date: \"2022-12-31\",\n    dotw: \"Saturday\",\n    infos: \"15,00 € Abendkasse, 12,00 € Vorverkauf+ Geb, Doors open: 23:55\",\n    link: \"https://www.lido-berlin.de/events/2022-12-31-berlin-indie-night---silvester-2022\",\n    location: \"Lido\",\n    name: \"BERLIN INDIE NIGHT • SILVESTER 2022\"\n  },\n  %{\n    datasource: \"lido\",\n    date: \"2023-01-06\",\n    dotw: \"Friday\",\n    infos: \"10,00 € Vorverkauf+ Geb , 12,00 € Abendkasse, Doors open: 23:59\",\n    link: \"https://www.lido-berlin.de/events/2023-01-06-the-early-days---let-s-dance-to-joy-division\",\n    location: \"Lido\",\n    name: \"THE EARLY DAYS • LET'S DANCE TO JOY DIVISION\"\n  }\n]\n```\n\n\nTake five gigs from the Songkick and Lido website:\n\n```elixir\niex\u003e Gigex.get() |\u003e Enum.take(5)\n[\n   %{\n     name: \"Led Zeppelin\",\n     date: \"2022-12-10\",\n     dotw: \"Thursday\",\n     link: \"https://www.lido-berlin.de/events/2022-12-10-led-zeppelin---so36\",\n     location: \"SO36\",\n     infos: \"15.00 € Abendkasse, 13.00 € Vorverkauf+ Geb , 11.00 € Early Bird+ Geb, Doors open: 20:00\",\n     datasource: \"lido\"\n   },\n   %{\n     name: \"The Cure\",\n     date: \"2022-12-09\",\n     dotw: \"Friday\",\n     link: \"https://www.lido-berlin.de/events/2022-12-09-the-cure---metropol\",\n     location: \"Metropol\",\n     infos: \"15.00 € Abendkasse, 9.00 € Vorverkauf+ Geb , 7.00 € Early Bird+ Geb, Doors open: 20:00\",\n     datasource: \"songkick\"\n   },\n   %{\n     name: \"The all seeing I\",\n     date: \"2022-12-12\",\n     dotw: \"Sunday\",\n     link: \"https://www.lido-berlin.de/events/2022-12-12-the-all-seeing-i---earthsea\",\n     location: \"Earthsea\",\n     infos: \"\",\n     datasource: \"lido\"\n   },\n   %{\n     name: \"Kokoroko\",\n     date: \"2022-12-14\",\n     dotw: \"Wednesday\",\n     link: \"https://www.lido-berlin.de/events/2022-12-14-kokokoko---tangeri\",\n     location: \"Tangeri\",\n     infos: \"Price: €51.00 – €72.00\\n      Doors open: 20:00\",\n     datasource: \"songkick\"\n   },\n   %{\n     name: \"Dave Brubeck\",\n     date: \"2022-12-15\",\n     dotw: \"Saturday\",\n     link: \"https://www.lido-berlin.de/events/2022-12-15-dave-brubeck---blue-note\",\n     location: \"Blue Note\",\n     infos: \"Price: €25.00 – €32.50\\n      Doors open: 20:00\",\n     datasource: \"songkick\"\n   }\n]\n```\n\n# Escript generation (requires erlang and elixir installed)\n\nTo generate an `escript` to be able to execute `gigex` from the command line, type:\n\n```elixir\nmix escript.build\n```\n\nA script will be generated in the application folder called `gigex`.\nYou can execute it and see the gigs output.\n\n# Self-contained binary generation (does not require erlang and elixir installed)\n\nRun:\n\n```elixir\nBURRITO_TARGET=linux MIX_ENV=prod mix release\n```\n\nExecute:\n\n```elixir\nGIGEX_MODE=CLI burrito_out/gigex_cli_linux\n```\n\nTo get the gigs.\n\n**IMPORTANT NOTES**\n\n* Be sure to set the environment variable `GIGEX_MODE=CLI` if you want to see the gigs output\n* You have to have `zig` installed in your system to generate the self-contained binary.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkpanic%2Fgigex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkpanic%2Fgigex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkpanic%2Fgigex/lists"}