Code Monkey home page Code Monkey logo

pureswift's Introduction

PureSwift

A website listing packages written in pure Swift, or that work in pure Swift (e.g. work on any platform) for easier search.

Visit the website

Contributing

See CONTRIBUTING.md for more information.

pureswift's People

Stargazers

 avatar

Watchers

 avatar

Forkers

fabi0o

pureswift's Issues

Add more packages

This is a general issue that will remain open. If you have any pure swift packages, add them to /Data/packages.json with a pull request.

Implement search

Implement a search api to search through the json files.

When someone goes to search, they can give in a search and the server will search through the packages.json, and categories.json and return the search results.

This can be accomplished with a route that accepts parameters like this: https://pureswift.herokuapp.com/search?query=Vapor

Fix link in category labels

In the browse tab, when clicking on a category label, it should take you to /category/categoryName, instead it will take you to the package package page, since the labels are inside a div with a link to the package.

Heroku fails

Build logs:

remark: Incremental compilation has been disabled: it is not compatible with whole module optimizationremark: Incremental compilation has been disabled: it is not compatible with whole module optimization[1/866] Compiling _NIODataStructures Heap.swift

remark: Incremental compilation has been disabled: it is not compatible with whole module optimization[3/868] Compiling RoutingKit AnyRouter.swift

remark: Incremental compilation has been disabled: it is not compatible with whole module optimization[5/870] Compiling MarkdownKit AttributedStringGenerator.swift

/tmp/build_92511fb6/.build/checkouts/swift-markdownkit/Sources/MarkdownKit/CustomBlock.swift:32:33: error: cannot find type 'AttributedStringGenerator' in scope

                    and attGen: AttributedStringGenerator?,

                                ^~~~~~~~~~~~~~~~~~~~~~~~~

/tmp/build_92511fb6/.build/checkouts/swift-markdownkit/Sources/MarkdownKit/CustomTextFragment.swift:31:62: error: cannot find type 'AttributedStringGenerator' in scope

  func generateHtml(via htmlGen: HtmlGenerator, and attrGen: AttributedStringGenerator?) -> String

                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~

[6/870] Compiling CURLParser urlparser.c

[7/870] Compiling CBacktrace atomic.c

 !     Push rejected, failed to compile Swift app.

 !     Push failed

Style search bar, dropdown menu and button

The search bar, dropdown menu and search button need styling (link to search page). Something that looks modern and fits the style of the website (e.g. var(--swift-color) for the orange color, maybe a gradient like in browse). Maybe have the arrow of the dropdown be animated?

There's a lot of room for creativity.

Add categories in browse cards

Add categories in the cards in browse.
Get the categories using

#for(category in categories):
  <someHtml>#(category)</someHtml>
#endfor

Add some styling and a link to /category/#(category)

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.