A website listing packages written in pure Swift, or that work in pure Swift (e.g. work on any platform) for easier search.
See CONTRIBUTING.md for more information.
A website listing packages that are written in pure Swift, or work in pure Swift (e.g. work on any platform).
Home Page: https://pureswift.herokuapp.com/
License: MIT License
A website listing packages written in pure Swift, or that work in pure Swift (e.g. work on any platform) for easier search.
See CONTRIBUTING.md for more information.
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 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
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.
# TODO: create json file containing packages per category for easier searching through categories at build time
Generate JSON file using a script
When resizing the window, the JavaScript code is not being evaluated again, causing the text to go outside of the boxes (or the boxes to be largely empty) on the browse page (index).
The title is not centered with the logo on the main page
There might be some conflict with css.
List all packages in a category
Example of where this is an issue
The markdown is being parsed inside of the PackagePageController.swift
The navigationbar should stick to the top of the screen when scrolling.
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
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 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)
Fix whatever happend here
When searching, the results will be of what you typed previously.
Would probably need some kind of js framework for syntax highlighting inside of <pre><code>
blocks. The language is set to the class
of the code block.
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.